Defines |
#define | HIGH_BYTE(w) (UInt8)(w >> 8) |
| Returns the 4 higher bits of a word.
|
#define | LOW_BYTE(w) (UInt8)(w & 0xFF) |
| Returns the 4 lower bits of a word.
|
#define | MAKE_INT16(a, b) (Int16)( (b<<8) | (UInt8)(a) ) |
| Makro that combines two bytes to a signed word (16 bytes) no matter if the system is BIG_ENDIAN or LITTLE_ENDIAN.
|
#define | MAKE_UINT16(a, b) (UInt16) ( (b<<8) | (UInt8)(a) ) |
| Makro that combines to bytes to an unsigned word (16 bytes) no matter if the system is BIG_ENDIAN or LITTLE_ENDIAN.
|
Typedefs |
typedef UInt8 | bool |
| Provides a typedef for signaling a bool value (introduced in frXgear) in C as well.
|
typedef signed short int | Int16 |
| 16 bit signed int, min: -32768, max: 32767, see also max&min defines
|
typedef signed long int | Int32 |
| 32 bit signed int, min: -2147483648, max: 2147483647, see also max&min defines
|
typedef signed char | Int8 |
| 8 bit signed int, min: -128, max: 127, see also max&min defines
|
typedef unsigned short int | UInt16 |
| 16 bit unsigned int, min: 0, max: 65535, see also max&min defines
|
typedef unsigned long int | UInt32 |
| 32 bit unsigned int, min: 0, max: 4294967295, see also max&min defines
|
typedef unsigned char | UInt8 |
| 8 bit unsigned int, max: 0, min: 255, see also max&min defines
|