Belkin 2.0 RELEASE NOTES Bedienungsanleitung Seite 31

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 40
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 30
The same interrupt APIs and methodology are also available for the following
operating environments:
Bare-metal (no operating system). Support for this configuration is shipped
with CrossCore Embedded Studio
Real time operating system. Support for this configuration is shipped in the
real time kernel add-in available for CrossCore Embedded Studio.
This interrupt management mechanism is not only available for use within
applications, but it is also the mechanism used by CrossCore Embedded Studio’s
system services and device drivers.
For further information go to Help->Help Contents->CrossCore Embedded Studio
1.0.0-
>System Runtime Documentation->Interrupt Support.
Compiler Language Standards Support
Embedded C Support
The Blackfin compiler in CrossCore Embedded Studio 1.0.0 provides support for
the native fixed-point types fract and accum, defined in Chapter 4 of the
“Extensions to support embedded processors” ISO/IEC draft technical report TR
18037. These native fixed-point types allow you to write your applications in a more
natural manner, without sacrificing performance.
For instance, the following function is an example of a dot product implemented
using fract and accum, with natural fractional, saturating multiplication, addition, and
assignment operators instead of built-in functions.
#include <stdfix.h>
accum dot_product(fract *a, fract *b, int n)
{
accum sum = 0.0k;
int i;
for (i = 0; i < n; i++)
sum += a[i] * b[i];
return sum;
}
For more information go to Help->Help Contents->CrossCore Embedded Studio
1.0.0->C/C++ Compiler and Library Manual for Blackfin Processors, Chapter 1
“Using Native Fixed-Point Types”.
Seitenansicht 30
1 2 ... 26 27 28 29 30 31 32 33 34 35 36 ... 39 40

Kommentare zu diesen Handbüchern

Keine Kommentare