STM32F439xx HAL User Manual
Defines
RCC BitAddress AliasRegion
RCC Private Constants

RCC registers bit address in the alias region. More...

Defines

#define RCC_OFFSET   (RCC_BASE - PERIPH_BASE)
#define RCC_CR_OFFSET   (RCC_OFFSET + 0x00U)
#define RCC_HSION_BIT_NUMBER   0x00U
#define RCC_CR_HSION_BB   (PERIPH_BB_BASE + (RCC_CR_OFFSET * 32U) + (RCC_HSION_BIT_NUMBER * 4U))
#define RCC_CSSON_BIT_NUMBER   0x13U
#define RCC_CR_CSSON_BB   (PERIPH_BB_BASE + (RCC_CR_OFFSET * 32U) + (RCC_CSSON_BIT_NUMBER * 4U))
#define RCC_PLLON_BIT_NUMBER   0x18U
#define RCC_CR_PLLON_BB   (PERIPH_BB_BASE + (RCC_CR_OFFSET * 32U) + (RCC_PLLON_BIT_NUMBER * 4U))
#define RCC_BDCR_OFFSET   (RCC_OFFSET + 0x70U)
#define RCC_RTCEN_BIT_NUMBER   0x0FU
#define RCC_BDCR_RTCEN_BB   (PERIPH_BB_BASE + (RCC_BDCR_OFFSET * 32U) + (RCC_RTCEN_BIT_NUMBER * 4U))
#define RCC_BDRST_BIT_NUMBER   0x10U
#define RCC_BDCR_BDRST_BB   (PERIPH_BB_BASE + (RCC_BDCR_OFFSET * 32U) + (RCC_BDRST_BIT_NUMBER * 4U))
#define RCC_CSR_OFFSET   (RCC_OFFSET + 0x74U)
#define RCC_LSION_BIT_NUMBER   0x00U
#define RCC_CSR_LSION_BB   (PERIPH_BB_BASE + (RCC_CSR_OFFSET * 32U) + (RCC_LSION_BIT_NUMBER * 4U))
#define RCC_CR_BYTE2_ADDRESS   0x40023802U
#define RCC_CIR_BYTE1_ADDRESS   ((uint32_t)(RCC_BASE + 0x0CU + 0x01U))
#define RCC_CIR_BYTE2_ADDRESS   ((uint32_t)(RCC_BASE + 0x0CU + 0x02U))
#define RCC_BDCR_BYTE0_ADDRESS   (PERIPH_BASE + RCC_BDCR_OFFSET)
#define RCC_DBP_TIMEOUT_VALUE   2U
#define RCC_LSE_TIMEOUT_VALUE   LSE_STARTUP_TIMEOUT
#define HSE_TIMEOUT_VALUE   HSE_STARTUP_TIMEOUT
#define HSI_TIMEOUT_VALUE   2U /* 2 ms */
#define LSI_TIMEOUT_VALUE   2U /* 2 ms */
#define CLOCKSWITCH_TIMEOUT_VALUE   5000U /* 5 s */

Detailed Description

RCC registers bit address in the alias region.


Define Documentation

#define CLOCKSWITCH_TIMEOUT_VALUE   5000U /* 5 s */

Definition at line 1357 of file stm32f4xx_hal_rcc.h.

Referenced by HAL_RCC_ClockConfig(), and HAL_RCC_DeInit().

Definition at line 1354 of file stm32f4xx_hal_rcc.h.

Referenced by HAL_RCC_DeInit(), and HAL_RCC_OscConfig().

#define HSI_TIMEOUT_VALUE   2U /* 2 ms */

Definition at line 1355 of file stm32f4xx_hal_rcc.h.

Referenced by HAL_RCC_DeInit(), and HAL_RCC_OscConfig().

#define LSI_TIMEOUT_VALUE   2U /* 2 ms */

Definition at line 1356 of file stm32f4xx_hal_rcc.h.

Referenced by HAL_RCC_OscConfig().

#define RCC_BDCR_BDRST_BB   (PERIPH_BB_BASE + (RCC_BDCR_OFFSET * 32U) + (RCC_BDRST_BIT_NUMBER * 4U))

Definition at line 1331 of file stm32f4xx_hal_rcc.h.

#define RCC_BDCR_BYTE0_ADDRESS   (PERIPH_BASE + RCC_BDCR_OFFSET)

Definition at line 1349 of file stm32f4xx_hal_rcc.h.

#define RCC_BDCR_OFFSET   (RCC_OFFSET + 0x70U)

Definition at line 1326 of file stm32f4xx_hal_rcc.h.

#define RCC_BDCR_RTCEN_BB   (PERIPH_BB_BASE + (RCC_BDCR_OFFSET * 32U) + (RCC_RTCEN_BIT_NUMBER * 4U))

Definition at line 1328 of file stm32f4xx_hal_rcc.h.

#define RCC_BDRST_BIT_NUMBER   0x10U

Definition at line 1330 of file stm32f4xx_hal_rcc.h.

#define RCC_CIR_BYTE1_ADDRESS   ((uint32_t)(RCC_BASE + 0x0CU + 0x01U))

Definition at line 1343 of file stm32f4xx_hal_rcc.h.

#define RCC_CIR_BYTE2_ADDRESS   ((uint32_t)(RCC_BASE + 0x0CU + 0x02U))

Definition at line 1346 of file stm32f4xx_hal_rcc.h.

#define RCC_CR_BYTE2_ADDRESS   0x40023802U

Definition at line 1340 of file stm32f4xx_hal_rcc.h.

#define RCC_CR_CSSON_BB   (PERIPH_BB_BASE + (RCC_CR_OFFSET * 32U) + (RCC_CSSON_BIT_NUMBER * 4U))

Definition at line 1319 of file stm32f4xx_hal_rcc.h.

Referenced by HAL_RCC_DisableCSS(), and HAL_RCC_EnableCSS().

#define RCC_CR_HSION_BB   (PERIPH_BB_BASE + (RCC_CR_OFFSET * 32U) + (RCC_HSION_BIT_NUMBER * 4U))

Definition at line 1316 of file stm32f4xx_hal_rcc.h.

#define RCC_CR_OFFSET   (RCC_OFFSET + 0x00U)

Definition at line 1314 of file stm32f4xx_hal_rcc.h.

#define RCC_CR_PLLON_BB   (PERIPH_BB_BASE + (RCC_CR_OFFSET * 32U) + (RCC_PLLON_BIT_NUMBER * 4U))

Definition at line 1322 of file stm32f4xx_hal_rcc.h.

#define RCC_CSR_LSION_BB   (PERIPH_BB_BASE + (RCC_CSR_OFFSET * 32U) + (RCC_LSION_BIT_NUMBER * 4U))

Definition at line 1337 of file stm32f4xx_hal_rcc.h.

#define RCC_CSR_OFFSET   (RCC_OFFSET + 0x74U)

Definition at line 1335 of file stm32f4xx_hal_rcc.h.

#define RCC_CSSON_BIT_NUMBER   0x13U

Definition at line 1318 of file stm32f4xx_hal_rcc.h.

#define RCC_DBP_TIMEOUT_VALUE   2U

Definition at line 1351 of file stm32f4xx_hal_rcc.h.

Referenced by HAL_RCC_OscConfig(), and HAL_RCCEx_PeriphCLKConfig().

#define RCC_HSION_BIT_NUMBER   0x00U

Definition at line 1315 of file stm32f4xx_hal_rcc.h.

Definition at line 1352 of file stm32f4xx_hal_rcc.h.

Referenced by HAL_RCC_OscConfig(), and HAL_RCCEx_PeriphCLKConfig().

#define RCC_LSION_BIT_NUMBER   0x00U

Definition at line 1336 of file stm32f4xx_hal_rcc.h.

#define RCC_OFFSET   (RCC_BASE - PERIPH_BASE)

Definition at line 1311 of file stm32f4xx_hal_rcc.h.

#define RCC_PLLON_BIT_NUMBER   0x18U

Definition at line 1321 of file stm32f4xx_hal_rcc.h.

#define RCC_RTCEN_BIT_NUMBER   0x0FU

Definition at line 1327 of file stm32f4xx_hal_rcc.h.