Go to the source code of this file.
|
#define | STM32_CLOCK_BUS_IOP 0x034 |
| Bus clocks.
|
|
#define | STM32_CLOCK_BUS_AHB1 0x038 |
|
#define | STM32_CLOCK_BUS_APB1 0x03c |
|
#define | STM32_CLOCK_BUS_APB1_2 0x040 |
|
#define | STM32_PERIPH_BUS_MIN STM32_CLOCK_BUS_IOP |
|
#define | STM32_PERIPH_BUS_MAX STM32_CLOCK_BUS_APB1_2 |
|
#define | STM32_SRC_HSI (STM32_SRC_LSI + 1) |
| Domain clocks.
|
|
#define | STM32_SRC_HSE (STM32_SRC_HSI + 1) |
|
#define | STM32_SRC_PCLK (STM32_SRC_HSE + 1) |
| Peripheral bus clock.
|
|
#define | CCIPR_REG 0x54 |
| RCC_CCIPR register offset.
|
|
#define | CSR1_REG 0x5C |
| RCC_CSR1 register offset.
|
|
#define | CFGR1_REG 0x08 |
| RCC_CFGRx register offset.
|
|
#define | USART1_SEL(val) STM32_DT_CLOCK_SELECT((val), 3, 0, CCIPR_REG) |
| Device domain clocks selection helpers.
|
|
#define | I2C1_SEL(val) STM32_DT_CLOCK_SELECT((val), 3, 12, CCIPR_REG) |
|
#define | I2C2_I2S1_SEL(val) STM32_DT_CLOCK_SELECT((val), 3, 14, CCIPR_REG) |
|
#define | ADC_SEL(val) STM32_DT_CLOCK_SELECT((val), 3, 30, CCIPR_REG) |
|
#define | RTC_SEL(val) STM32_DT_CLOCK_SELECT((val), 3, 8, CSR1_REG) |
| CSR1 devices.
|
|
#define | MCO1_SEL(val) STM32_DT_CLOCK_SELECT((val), 0x7, 24, CFGR1_REG) |
| CFGR1 devices.
|
|
#define | MCO1_PRE(val) STM32_DT_CLOCK_SELECT((val), 0x7, 28, CFGR1_REG) |
|
#define | MCO2_SEL(val) STM32_DT_CLOCK_SELECT((val), 0x7, 16, CFGR1_REG) |
|
#define | MCO2_PRE(val) STM32_DT_CLOCK_SELECT((val), 0x7, 20, CFGR1_REG) |
|
#define | MCO_PRE_DIV_1 0 |
|
#define | MCO_PRE_DIV_2 1 |
|
#define | MCO_PRE_DIV_4 2 |
|
#define | MCO_PRE_DIV_8 3 |
|
#define | MCO_PRE_DIV_16 4 |
|
#define | MCO_PRE_DIV_32 5 |
|
#define | MCO_PRE_DIV_64 6 |
|
#define | MCO_PRE_DIV_128 7 |
|
◆ ADC_SEL
◆ CCIPR_REG
RCC_CCIPR register offset.
◆ CFGR1_REG
RCC_CFGRx register offset.
◆ CSR1_REG
RCC_CSR1 register offset.
◆ I2C1_SEL
◆ I2C2_I2S1_SEL
◆ MCO1_PRE
◆ MCO1_SEL
◆ MCO2_PRE
◆ MCO2_SEL
◆ MCO_PRE_DIV_1
◆ MCO_PRE_DIV_128
#define MCO_PRE_DIV_128 7 |
◆ MCO_PRE_DIV_16
◆ MCO_PRE_DIV_2
◆ MCO_PRE_DIV_32
◆ MCO_PRE_DIV_4
◆ MCO_PRE_DIV_64
◆ MCO_PRE_DIV_8
◆ RTC_SEL
◆ STM32_CLOCK_BUS_AHB1
#define STM32_CLOCK_BUS_AHB1 0x038 |
◆ STM32_CLOCK_BUS_APB1
#define STM32_CLOCK_BUS_APB1 0x03c |
◆ STM32_CLOCK_BUS_APB1_2
#define STM32_CLOCK_BUS_APB1_2 0x040 |
◆ STM32_CLOCK_BUS_IOP
#define STM32_CLOCK_BUS_IOP 0x034 |
◆ STM32_PERIPH_BUS_MAX
◆ STM32_PERIPH_BUS_MIN
◆ STM32_SRC_HSE
◆ STM32_SRC_HSI
Domain clocks.
System clock Fixed clocks
◆ STM32_SRC_PCLK
◆ USART1_SEL
Device domain clocks selection helpers.
CCIPR devices