STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
Loading...
Searching...
No Matches
RCC BitAddress AliasRegion

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

Collaboration diagram for RCC BitAddress AliasRegion:

Macros

#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.

Macro Definition Documentation

◆ RCC_OFFSET

#define RCC_OFFSET   (RCC_BASE - PERIPH_BASE)

#include <stm32f4xx_hal_rcc.h>

Definition at line 1290 of file stm32f4xx_hal_rcc.h.

◆ RCC_CR_OFFSET

#define RCC_CR_OFFSET   (RCC_OFFSET + 0x00U)

#include <stm32f4xx_hal_rcc.h>

Definition at line 1293 of file stm32f4xx_hal_rcc.h.

◆ RCC_HSION_BIT_NUMBER

#define RCC_HSION_BIT_NUMBER   0x00U

#include <stm32f4xx_hal_rcc.h>

Definition at line 1294 of file stm32f4xx_hal_rcc.h.

◆ RCC_CR_HSION_BB

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

#include <stm32f4xx_hal_rcc.h>

Definition at line 1295 of file stm32f4xx_hal_rcc.h.

◆ RCC_CSSON_BIT_NUMBER

#define RCC_CSSON_BIT_NUMBER   0x13U

#include <stm32f4xx_hal_rcc.h>

Definition at line 1297 of file stm32f4xx_hal_rcc.h.

◆ RCC_CR_CSSON_BB

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

#include <stm32f4xx_hal_rcc.h>

Definition at line 1298 of file stm32f4xx_hal_rcc.h.

Referenced by HAL_RCC_DisableCSS(), and HAL_RCC_EnableCSS().

◆ RCC_PLLON_BIT_NUMBER

#define RCC_PLLON_BIT_NUMBER   0x18U

#include <stm32f4xx_hal_rcc.h>

Definition at line 1300 of file stm32f4xx_hal_rcc.h.

◆ RCC_CR_PLLON_BB

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

#include <stm32f4xx_hal_rcc.h>

Definition at line 1301 of file stm32f4xx_hal_rcc.h.

◆ RCC_BDCR_OFFSET

#define RCC_BDCR_OFFSET   (RCC_OFFSET + 0x70U)

#include <stm32f4xx_hal_rcc.h>

Definition at line 1305 of file stm32f4xx_hal_rcc.h.

◆ RCC_RTCEN_BIT_NUMBER

#define RCC_RTCEN_BIT_NUMBER   0x0FU

#include <stm32f4xx_hal_rcc.h>

Definition at line 1306 of file stm32f4xx_hal_rcc.h.

◆ RCC_BDCR_RTCEN_BB

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

#include <stm32f4xx_hal_rcc.h>

Definition at line 1307 of file stm32f4xx_hal_rcc.h.

◆ RCC_BDRST_BIT_NUMBER

#define RCC_BDRST_BIT_NUMBER   0x10U

#include <stm32f4xx_hal_rcc.h>

Definition at line 1309 of file stm32f4xx_hal_rcc.h.

◆ RCC_BDCR_BDRST_BB

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

#include <stm32f4xx_hal_rcc.h>

Definition at line 1310 of file stm32f4xx_hal_rcc.h.

◆ RCC_CSR_OFFSET

#define RCC_CSR_OFFSET   (RCC_OFFSET + 0x74U)

#include <stm32f4xx_hal_rcc.h>

Definition at line 1314 of file stm32f4xx_hal_rcc.h.

◆ RCC_LSION_BIT_NUMBER

#define RCC_LSION_BIT_NUMBER   0x00U

#include <stm32f4xx_hal_rcc.h>

Definition at line 1315 of file stm32f4xx_hal_rcc.h.

◆ RCC_CSR_LSION_BB

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

#include <stm32f4xx_hal_rcc.h>

Definition at line 1316 of file stm32f4xx_hal_rcc.h.

◆ RCC_CR_BYTE2_ADDRESS

#define RCC_CR_BYTE2_ADDRESS   0x40023802U

#include <stm32f4xx_hal_rcc.h>

Definition at line 1319 of file stm32f4xx_hal_rcc.h.

◆ RCC_CIR_BYTE1_ADDRESS

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

#include <stm32f4xx_hal_rcc.h>

Definition at line 1322 of file stm32f4xx_hal_rcc.h.

◆ RCC_CIR_BYTE2_ADDRESS

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

#include <stm32f4xx_hal_rcc.h>

Definition at line 1325 of file stm32f4xx_hal_rcc.h.

◆ RCC_BDCR_BYTE0_ADDRESS

#define RCC_BDCR_BYTE0_ADDRESS   (PERIPH_BASE + RCC_BDCR_OFFSET)

#include <stm32f4xx_hal_rcc.h>

Definition at line 1328 of file stm32f4xx_hal_rcc.h.

◆ RCC_DBP_TIMEOUT_VALUE

#define RCC_DBP_TIMEOUT_VALUE   2U

#include <stm32f4xx_hal_rcc.h>

Definition at line 1330 of file stm32f4xx_hal_rcc.h.

Referenced by HAL_RCC_OscConfig(), and HAL_RCCEx_PeriphCLKConfig().

◆ RCC_LSE_TIMEOUT_VALUE

#define RCC_LSE_TIMEOUT_VALUE   LSE_STARTUP_TIMEOUT

#include <stm32f4xx_hal_rcc.h>

Definition at line 1331 of file stm32f4xx_hal_rcc.h.

Referenced by HAL_RCC_OscConfig(), and HAL_RCCEx_PeriphCLKConfig().

◆ HSE_TIMEOUT_VALUE

#define HSE_TIMEOUT_VALUE   HSE_STARTUP_TIMEOUT

#include <stm32f4xx_hal_rcc.h>

Definition at line 1333 of file stm32f4xx_hal_rcc.h.

Referenced by HAL_RCC_DeInit(), and HAL_RCC_OscConfig().

◆ HSI_TIMEOUT_VALUE

#define HSI_TIMEOUT_VALUE   2U /* 2 ms */

#include <stm32f4xx_hal_rcc.h>

Definition at line 1334 of file stm32f4xx_hal_rcc.h.

Referenced by HAL_RCC_DeInit(), and HAL_RCC_OscConfig().

◆ LSI_TIMEOUT_VALUE

#define LSI_TIMEOUT_VALUE   2U /* 2 ms */

#include <stm32f4xx_hal_rcc.h>

Definition at line 1335 of file stm32f4xx_hal_rcc.h.

Referenced by HAL_RCC_OscConfig().

◆ CLOCKSWITCH_TIMEOUT_VALUE

#define CLOCKSWITCH_TIMEOUT_VALUE   5000U /* 5 s */

#include <stm32f4xx_hal_rcc.h>

Definition at line 1336 of file stm32f4xx_hal_rcc.h.

Referenced by HAL_RCC_ClockConfig(), and HAL_RCC_DeInit().