STM32L443xx HAL User Manual
Defines
RTC Calibration
RTC Timestamp

Defines

#define __HAL_RTC_CALIBRATION_OUTPUT_ENABLE(__HANDLE__)   ((__HANDLE__)->Instance->CR |= (RTC_CR_COE))
 Enable the RTC calibration output.
#define __HAL_RTC_CALIBRATION_OUTPUT_DISABLE(__HANDLE__)   ((__HANDLE__)->Instance->CR &= ~(RTC_CR_COE))
 Disable the calibration output.
#define __HAL_RTC_CLOCKREF_DETECTION_ENABLE(__HANDLE__)   ((__HANDLE__)->Instance->CR |= (RTC_CR_REFCKON))
 Enable the clock reference detection.
#define __HAL_RTC_CLOCKREF_DETECTION_DISABLE(__HANDLE__)   ((__HANDLE__)->Instance->CR &= ~(RTC_CR_REFCKON))
 Disable the clock reference detection.
#define __HAL_RTC_SHIFT_GET_FLAG(__HANDLE__, __FLAG__)   (((((__HANDLE__)->Instance->ISR) & (__FLAG__)) != 0U) ? 1U : 0U)
 Get the selected RTC shift operation's flag status.

Define Documentation

#define __HAL_RTC_CALIBRATION_OUTPUT_DISABLE (   __HANDLE__)    ((__HANDLE__)->Instance->CR &= ~(RTC_CR_COE))

Disable the calibration output.

Parameters:
__HANDLE__specifies the RTC handle.
Return values:
None

Definition at line 1064 of file stm32l4xx_hal_rtc_ex.h.

Referenced by HAL_RTCEx_DeactivateCalibrationOutPut().

#define __HAL_RTC_CALIBRATION_OUTPUT_ENABLE (   __HANDLE__)    ((__HANDLE__)->Instance->CR |= (RTC_CR_COE))

Enable the RTC calibration output.

Parameters:
__HANDLE__specifies the RTC handle.
Return values:
None

Definition at line 1057 of file stm32l4xx_hal_rtc_ex.h.

Referenced by HAL_RTCEx_SetCalibrationOutPut().

#define __HAL_RTC_CLOCKREF_DETECTION_DISABLE (   __HANDLE__)    ((__HANDLE__)->Instance->CR &= ~(RTC_CR_REFCKON))

Disable the clock reference detection.

Parameters:
__HANDLE__specifies the RTC handle.
Return values:
None

Definition at line 1078 of file stm32l4xx_hal_rtc_ex.h.

Referenced by HAL_RTCEx_DeactivateRefClock().

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

Enable the clock reference detection.

Parameters:
__HANDLE__specifies the RTC handle.
Return values:
None

Definition at line 1071 of file stm32l4xx_hal_rtc_ex.h.

Referenced by HAL_RTCEx_SetRefClock().

#define __HAL_RTC_SHIFT_GET_FLAG (   __HANDLE__,
  __FLAG__ 
)    (((((__HANDLE__)->Instance->ISR) & (__FLAG__)) != 0U) ? 1U : 0U)

Get the selected RTC shift operation's flag status.

Parameters:
__HANDLE__specifies the RTC handle.
__FLAG__specifies the RTC shift operation Flag is pending or not. This parameter can be:
Return values:
None

Definition at line 1091 of file stm32l4xx_hal_rtc_ex.h.