|
CMSIS2000
0.0.7
|
|
Группы | |
| Адреса перефирийных регистров в LPC | |
Файлы | |
| файл | lpc2xxx_old.h |
| Адреса перефирийных регистров в LPC. | |
| файл | reg_macros.h |
| Макрос для регистров 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 |
| #define REG16 volatile unsigned short |
См. определение в файле reg_macros.h строка 52
| #define REG32 volatile unsigned int |
См. определение в файле reg_macros.h строка 53
| #define REG8 volatile unsigned char |
См. определение в файле reg_macros.h строка 51
| #define REG_16 REG_16 |
См. определение в файле reg_macros.h строка 56
| #define REG_32 REG_32 |
См. определение в файле reg_macros.h строка 57
| #define REG_8 REG8 |
См. определение в файле reg_macros.h строка 55
| #define VBP_REG | ( | APB_peripheral, | |
| reg_name | |||
| ) | (VBP_REG_PER_BASE_ADDRES(APB_peripheral) + reg_name##_Off) |
См. определение в файле reg_macros.h строка 61
| #define VBP_REG16 | ( | APB_peripheral, | |
| reg_name | |||
| ) | (*(REG16*) (VBP_REG_PER_BASE_ADDRES(APB_peripheral) + reg_name##_Off)) |
См. определение в файле reg_macros.h строка 65
| #define VBP_REG32 | ( | APB_peripheral, | |
| reg_name | |||
| ) | (*(REG32*) (VBP_REG_PER_BASE_ADDRES(APB_peripheral) + reg_name##_Off)) |
См. определение в файле reg_macros.h строка 67
| #define VBP_REG8 | ( | APB_peripheral, | |
| reg_name | |||
| ) | (*(REG8*) (VBP_REG_PER_BASE_ADDRES(APB_peripheral) + reg_name##_Off)) |
См. определение в файле reg_macros.h строка 63
| #define VBP_REG_PER_BASE_ADDRES | ( | peripheral | ) | LPC_##peripheral##_BASE |
См. определение в файле reg_macros.h строка 59