Zephyr API Documentation
3.7.0
A Scalable Open Source RTOS
|
Go to the source code of this file.
Macros | |
#define | GD32_CLOCK_CONFIG(reg, bit) (((GD32_ ## reg ## _OFFSET) << 6U) | (bit)) |
Encode RCU register offset and configuration bit. | |
#define GD32_CLOCK_CONFIG | ( | reg, | |
bit | |||
) | (((GD32_ ## reg ## _OFFSET) << 6U) | (bit)) |
Encode RCU register offset and configuration bit.
reg | RCU register name (expands to GD32_{reg}_OFFSET) |
bit | Configuration bit |