HAL
__HAL_RTC_CLOCKREF_DETECTION_ENABLE is only used within HAL.
 
Symbols
loading...
Files
loading...
CodeScopeSTM32 Libraries and SamplesHAL__HAL_RTC_CLOCKREF_DETECTION_ENABLE

__HAL_RTC_CLOCKREF_DETECTION_ENABLE macro

Enable the clock reference detection.

Syntax

#define __HAL_RTC_CLOCKREF_DETECTION_ENABLE(__HANDLE__) ((__HANDLE__)->Instance->CR |= (RTC_CR_REFCKON))

Arguments

__HANDLE__

specifies the RTC handle.

Return value

None

References

LocationText
stm32f4xx_hal_rtc_ex.h:807
#define __HAL_RTC_CLOCKREF_DETECTION_ENABLE(__HANDLE__) ((__HANDLE__)->Instance->CR |= (RTC_CR_REFCKON))
stm32f4xx_hal_rtc_ex.c:1665
__HAL_RTC_CLOCKREF_DETECTION_ENABLE(hrtc);