Lines Matching refs:GD32_CLOCK_CONFIG
32 #define GD32_CLOCK_GPIOA GD32_CLOCK_CONFIG(AHB1EN, 0U)
33 #define GD32_CLOCK_GPIOB GD32_CLOCK_CONFIG(AHB1EN, 1U)
34 #define GD32_CLOCK_GPIOC GD32_CLOCK_CONFIG(AHB1EN, 2U)
35 #define GD32_CLOCK_GPIOD GD32_CLOCK_CONFIG(AHB1EN, 3U)
36 #define GD32_CLOCK_GPIOE GD32_CLOCK_CONFIG(AHB1EN, 4U)
37 #define GD32_CLOCK_GPIOF GD32_CLOCK_CONFIG(AHB1EN, 5U)
38 #define GD32_CLOCK_GPIOG GD32_CLOCK_CONFIG(AHB1EN, 6U)
39 #define GD32_CLOCK_GPIOH GD32_CLOCK_CONFIG(AHB1EN, 7U)
40 #define GD32_CLOCK_GPIOI GD32_CLOCK_CONFIG(AHB1EN, 8U)
41 #define GD32_CLOCK_CRC GD32_CLOCK_CONFIG(AHB1EN, 12U)
42 #define GD32_CLOCK_BKPSRAM GD32_CLOCK_CONFIG(AHB1EN, 18U)
43 #define GD32_CLOCK_TCMSRAM GD32_CLOCK_CONFIG(AHB1EN, 20U)
44 #define GD32_CLOCK_DMA0 GD32_CLOCK_CONFIG(AHB1EN, 21U)
45 #define GD32_CLOCK_DMA1 GD32_CLOCK_CONFIG(AHB1EN, 22U)
46 #define GD32_CLOCK_IPA GD32_CLOCK_CONFIG(AHB1EN, 23U)
47 #define GD32_CLOCK_ENET GD32_CLOCK_CONFIG(AHB1EN, 25U)
48 #define GD32_CLOCK_ENETTX GD32_CLOCK_CONFIG(AHB1EN, 26U)
49 #define GD32_CLOCK_ENETRX GD32_CLOCK_CONFIG(AHB1EN, 27U)
50 #define GD32_CLOCK_ENETPTP GD32_CLOCK_CONFIG(AHB1EN, 28U)
51 #define GD32_CLOCK_USBHS GD32_CLOCK_CONFIG(AHB1EN, 29U)
52 #define GD32_CLOCK_USBHSULPI GD32_CLOCK_CONFIG(AHB1EN, 30U)
55 #define GD32_CLOCK_DCI GD32_CLOCK_CONFIG(AHB2EN, 0U)
56 #define GD32_CLOCK_TRNG GD32_CLOCK_CONFIG(AHB2EN, 6U)
57 #define GD32_CLOCK_USBFS GD32_CLOCK_CONFIG(AHB2EN, 7U)
60 #define GD32_CLOCK_EXMC GD32_CLOCK_CONFIG(AHB3EN, 0U)
63 #define GD32_CLOCK_TIMER1 GD32_CLOCK_CONFIG(APB1EN, 0U)
64 #define GD32_CLOCK_TIMER2 GD32_CLOCK_CONFIG(APB1EN, 1U)
65 #define GD32_CLOCK_TIMER3 GD32_CLOCK_CONFIG(APB1EN, 2U)
66 #define GD32_CLOCK_TIMER4 GD32_CLOCK_CONFIG(APB1EN, 3U)
67 #define GD32_CLOCK_TIMER5 GD32_CLOCK_CONFIG(APB1EN, 4U)
68 #define GD32_CLOCK_TIMER6 GD32_CLOCK_CONFIG(APB1EN, 5U)
69 #define GD32_CLOCK_TIMER11 GD32_CLOCK_CONFIG(APB1EN, 6U)
70 #define GD32_CLOCK_TIMER12 GD32_CLOCK_CONFIG(APB1EN, 7U)
71 #define GD32_CLOCK_TIMER13 GD32_CLOCK_CONFIG(APB1EN, 8U)
72 #define GD32_CLOCK_WWDGT GD32_CLOCK_CONFIG(APB1EN, 11U)
73 #define GD32_CLOCK_SPI1 GD32_CLOCK_CONFIG(APB1EN, 14U)
74 #define GD32_CLOCK_SPI2 GD32_CLOCK_CONFIG(APB1EN, 15U)
75 #define GD32_CLOCK_USART1 GD32_CLOCK_CONFIG(APB1EN, 17U)
76 #define GD32_CLOCK_USART2 GD32_CLOCK_CONFIG(APB1EN, 18U)
77 #define GD32_CLOCK_UART3 GD32_CLOCK_CONFIG(APB1EN, 19U)
78 #define GD32_CLOCK_UART4 GD32_CLOCK_CONFIG(APB1EN, 20U)
79 #define GD32_CLOCK_I2C0 GD32_CLOCK_CONFIG(APB1EN, 21U)
80 #define GD32_CLOCK_I2C1 GD32_CLOCK_CONFIG(APB1EN, 22U)
81 #define GD32_CLOCK_I2C2 GD32_CLOCK_CONFIG(APB1EN, 23U)
82 #define GD32_CLOCK_CAN0 GD32_CLOCK_CONFIG(APB1EN, 25U)
83 #define GD32_CLOCK_CAN1 GD32_CLOCK_CONFIG(APB1EN, 26U)
84 #define GD32_CLOCK_PMU GD32_CLOCK_CONFIG(APB1EN, 28U)
85 #define GD32_CLOCK_DAC GD32_CLOCK_CONFIG(APB1EN, 29U)
86 #define GD32_CLOCK_UART6 GD32_CLOCK_CONFIG(APB1EN, 30U)
87 #define GD32_CLOCK_UART7 GD32_CLOCK_CONFIG(APB1EN, 31U)
88 #define GD32_CLOCK_RTC GD32_CLOCK_CONFIG(BDCTL, 15U)
91 #define GD32_CLOCK_TIMER0 GD32_CLOCK_CONFIG(APB2EN, 0U)
92 #define GD32_CLOCK_TIMER7 GD32_CLOCK_CONFIG(APB2EN, 1U)
93 #define GD32_CLOCK_USART0 GD32_CLOCK_CONFIG(APB2EN, 4U)
94 #define GD32_CLOCK_USART5 GD32_CLOCK_CONFIG(APB2EN, 5U)
95 #define GD32_CLOCK_ADC0 GD32_CLOCK_CONFIG(APB2EN, 8U)
96 #define GD32_CLOCK_ADC1 GD32_CLOCK_CONFIG(APB2EN, 9U)
97 #define GD32_CLOCK_ADC2 GD32_CLOCK_CONFIG(APB2EN, 10U)
98 #define GD32_CLOCK_SDIO GD32_CLOCK_CONFIG(APB2EN, 11U)
99 #define GD32_CLOCK_SPI0 GD32_CLOCK_CONFIG(APB2EN, 12U)
100 #define GD32_CLOCK_SPI3 GD32_CLOCK_CONFIG(APB2EN, 13U)
101 #define GD32_CLOCK_SYSCFG GD32_CLOCK_CONFIG(APB2EN, 14U)
102 #define GD32_CLOCK_TIMER8 GD32_CLOCK_CONFIG(APB2EN, 16U)
103 #define GD32_CLOCK_TIMER9 GD32_CLOCK_CONFIG(APB2EN, 17U)
104 #define GD32_CLOCK_TIMER10 GD32_CLOCK_CONFIG(APB2EN, 18U)
105 #define GD32_CLOCK_SPI4 GD32_CLOCK_CONFIG(APB2EN, 20U)
106 #define GD32_CLOCK_SPI5 GD32_CLOCK_CONFIG(APB2EN, 21U)
107 #define GD32_CLOCK_TLI GD32_CLOCK_CONFIG(APB2EN, 26U)
110 #define GD32_CLOCK_CTC GD32_CLOCK_CONFIG(ADDAPB1EN, 27U)
111 #define GD32_CLOCK_IREF GD32_CLOCK_CONFIG(ADDAPB1EN, 31U)