STM32F103xB HAL User Manual
Functions
RTC
RCC Exported Functions

Functions

__STATIC_INLINE void LL_RCC_SetRTCClockSource (uint32_t Source)
 Set RTC Clock Source.
__STATIC_INLINE uint32_t LL_RCC_GetRTCClockSource (void)
 Get RTC Clock Source.
__STATIC_INLINE void LL_RCC_EnableRTC (void)
 Enable RTC.
__STATIC_INLINE void LL_RCC_DisableRTC (void)
 Disable RTC.
__STATIC_INLINE uint32_t LL_RCC_IsEnabledRTC (void)
 Check if RTC has been enabled or not.
__STATIC_INLINE void LL_RCC_ForceBackupDomainReset (void)
 Force the Backup domain reset.
__STATIC_INLINE void LL_RCC_ReleaseBackupDomainReset (void)
 Release the Backup domain reset.

Function Documentation

__STATIC_INLINE void LL_RCC_DisableRTC ( void  )

Disable RTC.

Reference Manual to LL API cross reference:
BDCR RTCEN LL_RCC_DisableRTC
Return values:
None

Definition at line 1339 of file stm32f1xx_ll_rcc.h.

__STATIC_INLINE void LL_RCC_EnableRTC ( void  )

Enable RTC.

Reference Manual to LL API cross reference:
BDCR RTCEN LL_RCC_EnableRTC
Return values:
None

Definition at line 1329 of file stm32f1xx_ll_rcc.h.

__STATIC_INLINE void LL_RCC_ForceBackupDomainReset ( void  )

Force the Backup domain reset.

Reference Manual to LL API cross reference:
BDCR BDRST LL_RCC_ForceBackupDomainReset
Return values:
None

Definition at line 1359 of file stm32f1xx_ll_rcc.h.

__STATIC_INLINE uint32_t LL_RCC_GetRTCClockSource ( void  )

Get RTC Clock Source.

Reference Manual to LL API cross reference:
BDCR RTCSEL LL_RCC_GetRTCClockSource
Return values:
Returnedvalue can be one of the following values:

Definition at line 1319 of file stm32f1xx_ll_rcc.h.

__STATIC_INLINE uint32_t LL_RCC_IsEnabledRTC ( void  )

Check if RTC has been enabled or not.

Reference Manual to LL API cross reference:
BDCR RTCEN LL_RCC_IsEnabledRTC
Return values:
Stateof bit (1 or 0).

Definition at line 1349 of file stm32f1xx_ll_rcc.h.

__STATIC_INLINE void LL_RCC_ReleaseBackupDomainReset ( void  )

Release the Backup domain reset.

Reference Manual to LL API cross reference:
BDCR BDRST LL_RCC_ReleaseBackupDomainReset
Return values:
None

Definition at line 1369 of file stm32f1xx_ll_rcc.h.

__STATIC_INLINE void LL_RCC_SetRTCClockSource ( uint32_t  Source)

Set RTC Clock Source.

Note:
Once the RTC clock source has been selected, it cannot be changed any more unless the Backup domain is reset. The BDRST bit can be used to reset them.
Reference Manual to LL API cross reference:
BDCR RTCSEL LL_RCC_SetRTCClockSource
Parameters:
SourceThis parameter can be one of the following values:
Return values:
None

Definition at line 1305 of file stm32f1xx_ll_rcc.h.