#include <stdint.h>
Go to the source code of this file.
|
| typedef uint32_t | u32 |
| |
| typedef uint16_t | u16 |
| |
| typedef uint8_t | u8 |
| |
| typedef int32_t | i32 |
| |
| typedef int16_t | i16 |
| |
| typedef int8_t | i8 |
| |
◆ _CBACK
◆ _DECL_EXTERNALLY
| #define _DECL_EXTERNALLY extern |
◆ _FORCE_INLINE
| #define _FORCE_INLINE __attribute__((always_inline)) inline |
◆ _PRIVATE
◆ _PROTOTYPE_ONLY
◆ _USED_EXTERNALLY
| #define _USED_EXTERNALLY volatile |
◆ CLR_BIT
| #define CLR_BIT |
( |
|
reg, |
|
|
|
bit |
|
) |
| (reg &= ~(1 << bit)) |
◆ CLR_BITS
| #define CLR_BITS |
( |
|
reg, |
|
|
|
value, |
|
|
|
bit |
|
) |
| (reg &= ~((value) << bit)) |
◆ IS_BETWEEN_EQ
| #define IS_BETWEEN_EQ |
( |
|
value, |
|
|
|
low, |
|
|
|
hi |
|
) |
| ((value) >= (low) && (value) <= (hi)) |
◆ IS_BIT_SET
| #define IS_BIT_SET |
( |
|
reg, |
|
|
|
bit |
|
) |
| (((reg) & (1 << bit)) == 1) |
◆ IS_DEF_PRIORITY
| #define IS_DEF_PRIORITY |
( |
|
prio | ) |
(((int)prio) <= INT_PRIO_DEF) |
◆ IS_NO_PRESCALER
| #define IS_NO_PRESCALER |
( |
|
presc | ) |
(((int)presc) <= NO_PRESCALER) |
◆ NO_PRESCALER
◆ SET_BIT
| #define SET_BIT |
( |
|
reg, |
|
|
|
bit |
|
) |
| (reg |= (1 << bit)) |
◆ SET_BITS
| #define SET_BITS |
( |
|
reg, |
|
|
|
value, |
|
|
|
bit |
|
) |
| (reg |= ((value) << bit)) |
◆ i16
◆ i32
◆ i8
◆ u16
◆ u32
◆ u8
◆ INT_Priority
| Enumerator |
|---|
| INT_PRIO_MAX | |
| INT_PRIO_MIN | |
| INT_PRIO_DEF | |
Definition at line 14 of file types.h.