CMSIS2000
0.0.7
|
Макрос для регистров NXP. Подробнее...
Макросы | |
#define | REG16 volatile unsigned short |
#define | REG32 volatile unsigned int |
#define | REG8 volatile unsigned char |
#define | REG_16 REG_16 |
#define | REG_32 REG_32 |
#define | REG_8 REG8 |
#define | VBP_REG(APB_peripheral, reg_name) (VBP_REG_PER_BASE_ADDRES(APB_peripheral) + reg_name##_Off) |
#define | VBP_REG16(APB_peripheral, reg_name) (*(REG16*) (VBP_REG_PER_BASE_ADDRES(APB_peripheral) + reg_name##_Off)) |
#define | VBP_REG32(APB_peripheral, reg_name) (*(REG32*) (VBP_REG_PER_BASE_ADDRES(APB_peripheral) + reg_name##_Off)) |
#define | VBP_REG8(APB_peripheral, reg_name) (*(REG8*) (VBP_REG_PER_BASE_ADDRES(APB_peripheral) + reg_name##_Off)) |
#define | VBP_REG_PER_BASE_ADDRES(peripheral) LPC_##peripheral##_BASE |