STM32 Blue Pill Drivers
Drivers that could be used to interface and interact with STM32F103C8T6 Microcontroller
|
This file contains the hardware registers macro-functions for memory addresses mapping and accessing. More...
Macros | |
#define | REGISTER_ADDRESS(ADDRESS, OFFSET) ((ADDRESS) + (OFFSET)) |
Placeholder for declaring a register address. More... | |
#define | REGISTER(REG_TYPE, ADDRESS) (*(VOLATILE P2VAR(REG_TYPE))(ADDRESS)) |
Map to a certain register by its address in the memory. More... | |
#define | REGISTER_U8(ADDRESS) REGISTER(t_u8, ADDRESS) |
Map to a certain register by its 8-bit address in the memory (used for 8-bit registers) More... | |
#define | REGISTER_U16(ADDRESS) REGISTER(t_u16, ADDRESS) |
Map to a certain register by its 16-bit address in the memory (used for 16-bit registers) More... | |
#define | REGISTER_U32(ADDRESS) REGISTER(t_u32, ADDRESS) |
Map to a certain register by its 32-bit address in the memory (used for 32-bit registers) More... | |
This file contains the hardware registers macro-functions for memory addresses mapping and accessing.