 |
TMS320F28335 Library
1.0
Documentation
|
|
Go to the documentation of this file.
12 #ifndef C2000_DATA_TYPES
13 #define C2000_DATA_TYPES
29 extern cregister
volatile unsigned int IFR;
30 extern cregister
volatile unsigned int IER;
34 #define EINT asm(" clrc INTM")
35 #define DINT asm(" setc INTM")
36 #define ERTM asm(" clrc DBGM")
37 #define DRTM asm(" setc DBGM")
38 #define EALLOW asm(" EALLOW")
39 #define EDIS asm(" EDIS")
40 #define ESTOP0 asm(" ESTOP0")
48 #define CPU_RATE 6.667L
49 #define F_CPU 150000000UL
50 #define F_CPU_HALF 75000000UL
51 #define F_LSPCLK 37500000UL
56 #define TM_CAST(a) (a)
57 #define REG_CAST(type,reg) ((type)®)
58 #define BIT(a) ((Uint32)1<<a)
60 #define DELAY_US(A) DSP28x_usDelay(((((long double) A * 1000.0L) / \
61 (long double)CPU_RATE) - 9.0L) / 5.0L)
float float32
32 Bit Variable: Dezimalzahl
int int16
16 Bit Variable: - 32.768 .. 32.767
boolean
Enumeration for boolean-Type: False = 0, True = 1.
cregister volatile unsigned int IER
Generate reference to Interrupt Enable Register.
char int8
8 Bit Variable: - 128 .. 127
unsigned long long Uint64
64 Bit Variable: 0 .. 18.446.744.073.709.551.615
void DSP28x_usDelay(Uint32 Count)
Declare Delay-Function for usage with Assembly Instruction.
long double float64
64 Bit Variable: Dezimalzahl
unsigned int Uint16
16 Bit Variable: 0 .. 65.535
long int32
32 Bit Variable: - 2.147.483.648 .. 2.147.483.647
unsigned char Uint8
8 Bit Variable: 0 .. 255
volatile Uint16 TM_REG16
Hardware register definition.
long long int64
64 Bit Variable: - 9.223.372.036.854.775.808 .. 9.223.372.036.854.775.807
volatile Uint32 TM_REG32
Hardware register definition.
cregister volatile unsigned int IFR
Generate reference to Interrupt Flag Register.
unsigned long Uint32
32 Bit Variable: 0 .. 4.294.967.295