Common peripheral configuration for GD32VF103 boards. More...
Common peripheral configuration for GD32VF103 boards.
Definition in file periph_common_conf.h.
Go to the source code of this file.
#define | CLOCK_CORECLOCK MHZ(108) |
CPU clock frequency in Hz. | |
#define | CLOCK_AHB CLOCK_CORECLOCK |
Equal to the CPU clock. | |
#define | CLOCK_APB1 CLOCK_AHB/2 |
Half AHB clock. | |
#define | CLOCK_APB2 CLOCK_AHB |
Equal to the AHB clock. | |
RTT/RTC configuration | |
#define | RTT_CLOCK_FREQUENCY (40000U) |
IRC40K is used as clock source. | |
#define | RTT_MAX_FREQUENCY (RTT_CLOCK_FREQUENCY) /* maximum RTT frequency in Hz */ |
#define | RTT_FREQUENCY (RTT_MAX_FREQUENCY) /* RTT frequency in Hz */ |