Zephyr API Documentation 4.0.0-rc3
A Scalable Open Source RTOS
|
Go to the source code of this file.
Macros | |
#define | STM32_RESET(bus, bit) |
Pack RCC register offset and bit in one 32-bit value. | |
#define STM32_RESET | ( | bus, | |
bit ) |
Pack RCC register offset and bit in one 32-bit value.
5 LSBs are used to keep bit number in 32-bit RCC register. Next 12 bits are used to keep RCC register offset. Remaining bits are unused.
bus | STM32 bus name (expands to STM32_RESET_BUS_{bus}) |
bit | Reset bit |