STM32F103xB HAL User Manual
Defines
BitAddress AliasRegion
RCC Private Constants

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

Defines

#define RCC_CR_OFFSET_BB   (RCC_OFFSET + RCC_CR_OFFSET)
#define RCC_CFGR_OFFSET_BB   (RCC_OFFSET + RCC_CFGR_OFFSET)
#define RCC_CIR_OFFSET_BB   (RCC_OFFSET + RCC_CIR_OFFSET)
#define RCC_BDCR_OFFSET_BB   (RCC_OFFSET + RCC_BDCR_OFFSET)
#define RCC_CSR_OFFSET_BB   (RCC_OFFSET + RCC_CSR_OFFSET)
#define RCC_HSION_BIT_NUMBER   RCC_CR_HSION_Pos
#define RCC_CR_HSION_BB   ((uint32_t)(PERIPH_BB_BASE + (RCC_CR_OFFSET_BB * 32U) + (RCC_HSION_BIT_NUMBER * 4U)))
#define RCC_HSEON_BIT_NUMBER   RCC_CR_HSEON_Pos
#define RCC_CR_HSEON_BB   ((uint32_t)(PERIPH_BB_BASE + (RCC_CR_OFFSET_BB * 32U) + (RCC_HSEON_BIT_NUMBER * 4U)))
#define RCC_CSSON_BIT_NUMBER   RCC_CR_CSSON_Pos
#define RCC_CR_CSSON_BB   ((uint32_t)(PERIPH_BB_BASE + (RCC_CR_OFFSET_BB * 32U) + (RCC_CSSON_BIT_NUMBER * 4U)))
#define RCC_PLLON_BIT_NUMBER   RCC_CR_PLLON_Pos
#define RCC_CR_PLLON_BB   ((uint32_t)(PERIPH_BB_BASE + (RCC_CR_OFFSET_BB * 32U) + (RCC_PLLON_BIT_NUMBER * 4U)))
#define RCC_LSION_BIT_NUMBER   RCC_CSR_LSION_Pos
#define RCC_CSR_LSION_BB   ((uint32_t)(PERIPH_BB_BASE + (RCC_CSR_OFFSET_BB * 32U) + (RCC_LSION_BIT_NUMBER * 4U)))
#define RCC_RMVF_BIT_NUMBER   RCC_CSR_RMVF_Pos
#define RCC_CSR_RMVF_BB   ((uint32_t)(PERIPH_BB_BASE + (RCC_CSR_OFFSET_BB * 32U) + (RCC_RMVF_BIT_NUMBER * 4U)))
#define RCC_LSEON_BIT_NUMBER   RCC_BDCR_LSEON_Pos
#define RCC_BDCR_LSEON_BB   ((uint32_t)(PERIPH_BB_BASE + (RCC_BDCR_OFFSET_BB * 32U) + (RCC_LSEON_BIT_NUMBER * 4U)))
#define RCC_LSEBYP_BIT_NUMBER   RCC_BDCR_LSEBYP_Pos
#define RCC_BDCR_LSEBYP_BB   ((uint32_t)(PERIPH_BB_BASE + (RCC_BDCR_OFFSET_BB * 32U) + (RCC_LSEBYP_BIT_NUMBER * 4U)))
#define RCC_RTCEN_BIT_NUMBER   RCC_BDCR_RTCEN_Pos
#define RCC_BDCR_RTCEN_BB   ((uint32_t)(PERIPH_BB_BASE + (RCC_BDCR_OFFSET_BB * 32U) + (RCC_RTCEN_BIT_NUMBER * 4U)))
#define RCC_BDRST_BIT_NUMBER   RCC_BDCR_BDRST_Pos
#define RCC_BDCR_BDRST_BB   ((uint32_t)(PERIPH_BB_BASE + (RCC_BDCR_OFFSET_BB * 32U) + (RCC_BDRST_BIT_NUMBER * 4U)))

Detailed Description

RCC registers bit address in the alias region.


Define Documentation

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

Definition at line 1277 of file stm32f1xx_hal_rcc.h.

#define RCC_BDCR_LSEBYP_BB   ((uint32_t)(PERIPH_BB_BASE + (RCC_BDCR_OFFSET_BB * 32U) + (RCC_LSEBYP_BIT_NUMBER * 4U)))

Definition at line 1269 of file stm32f1xx_hal_rcc.h.

#define RCC_BDCR_LSEON_BB   ((uint32_t)(PERIPH_BB_BASE + (RCC_BDCR_OFFSET_BB * 32U) + (RCC_LSEON_BIT_NUMBER * 4U)))

Definition at line 1265 of file stm32f1xx_hal_rcc.h.

Definition at line 1236 of file stm32f1xx_hal_rcc.h.

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

Definition at line 1273 of file stm32f1xx_hal_rcc.h.

#define RCC_BDRST_BIT_NUMBER   RCC_BDCR_BDRST_Pos

Definition at line 1276 of file stm32f1xx_hal_rcc.h.

Definition at line 1234 of file stm32f1xx_hal_rcc.h.

Definition at line 1235 of file stm32f1xx_hal_rcc.h.

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

Definition at line 1248 of file stm32f1xx_hal_rcc.h.

Referenced by HAL_RCC_DisableCSS(), and HAL_RCC_EnableCSS().

#define RCC_CR_HSEON_BB   ((uint32_t)(PERIPH_BB_BASE + (RCC_CR_OFFSET_BB * 32U) + (RCC_HSEON_BIT_NUMBER * 4U)))

Definition at line 1245 of file stm32f1xx_hal_rcc.h.

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

Definition at line 1242 of file stm32f1xx_hal_rcc.h.

Definition at line 1233 of file stm32f1xx_hal_rcc.h.

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

Definition at line 1251 of file stm32f1xx_hal_rcc.h.

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

Definition at line 1256 of file stm32f1xx_hal_rcc.h.

Definition at line 1237 of file stm32f1xx_hal_rcc.h.

#define RCC_CSR_RMVF_BB   ((uint32_t)(PERIPH_BB_BASE + (RCC_CSR_OFFSET_BB * 32U) + (RCC_RMVF_BIT_NUMBER * 4U)))

Definition at line 1260 of file stm32f1xx_hal_rcc.h.

#define RCC_CSSON_BIT_NUMBER   RCC_CR_CSSON_Pos

Definition at line 1247 of file stm32f1xx_hal_rcc.h.

#define RCC_HSEON_BIT_NUMBER   RCC_CR_HSEON_Pos

Definition at line 1244 of file stm32f1xx_hal_rcc.h.

#define RCC_HSION_BIT_NUMBER   RCC_CR_HSION_Pos

Definition at line 1241 of file stm32f1xx_hal_rcc.h.

#define RCC_LSEBYP_BIT_NUMBER   RCC_BDCR_LSEBYP_Pos

Definition at line 1268 of file stm32f1xx_hal_rcc.h.

#define RCC_LSEON_BIT_NUMBER   RCC_BDCR_LSEON_Pos

Definition at line 1264 of file stm32f1xx_hal_rcc.h.

#define RCC_LSION_BIT_NUMBER   RCC_CSR_LSION_Pos

Definition at line 1255 of file stm32f1xx_hal_rcc.h.

#define RCC_PLLON_BIT_NUMBER   RCC_CR_PLLON_Pos

Definition at line 1250 of file stm32f1xx_hal_rcc.h.

#define RCC_RMVF_BIT_NUMBER   RCC_CSR_RMVF_Pos

Definition at line 1259 of file stm32f1xx_hal_rcc.h.

#define RCC_RTCEN_BIT_NUMBER   RCC_BDCR_RTCEN_Pos

Definition at line 1272 of file stm32f1xx_hal_rcc.h.