Macros
Collaboration diagram for RTC Calibration:

Macros

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

Detailed Description

Macro Definition Documentation

◆ __HAL_RTC_CALIBRATION_OUTPUT_DISABLE

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

Disable the calibration output.

Parameters
<strong>HANDLE</strong>specifies the RTC handle.
Return values
None

Definition at line 766 of file stm32f4xx_hal_rtc_ex.h.

◆ __HAL_RTC_CALIBRATION_OUTPUT_ENABLE

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

Enable the RTC calibration output.

Parameters
<strong>HANDLE</strong>specifies the RTC handle.
Return values
None

Definition at line 759 of file stm32f4xx_hal_rtc_ex.h.

◆ __HAL_RTC_CLOCKREF_DETECTION_DISABLE

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

Disable the clock reference detection.

Parameters
<strong>HANDLE</strong>specifies the RTC handle.
Return values
None

Definition at line 780 of file stm32f4xx_hal_rtc_ex.h.

◆ __HAL_RTC_CLOCKREF_DETECTION_ENABLE

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

Enable the clock reference detection.

Parameters
<strong>HANDLE</strong>specifies the RTC handle.
Return values
None

Definition at line 773 of file stm32f4xx_hal_rtc_ex.h.

◆ __HAL_RTC_COARSE_CALIB_DISABLE

#define __HAL_RTC_COARSE_CALIB_DISABLE (   __HANDLE__)    ((__HANDLE__)->Instance->CR &= ~(RTC_CR_DCE))

Disable the Coarse calibration process.

Parameters
<strong>HANDLE</strong>specifies the RTC handle.
Return values
None

Definition at line 752 of file stm32f4xx_hal_rtc_ex.h.

◆ __HAL_RTC_COARSE_CALIB_ENABLE

#define __HAL_RTC_COARSE_CALIB_ENABLE (   __HANDLE__)    ((__HANDLE__)->Instance->CR |= (RTC_CR_DCE))

Enable the Coarse calibration process.

Parameters
<strong>HANDLE</strong>specifies the RTC handle.
Return values
None

Definition at line 745 of file stm32f4xx_hal_rtc_ex.h.

◆ __HAL_RTC_SHIFT_GET_FLAG

#define __HAL_RTC_SHIFT_GET_FLAG (   __HANDLE__,
  __FLAG__ 
)    (((((__HANDLE__)->Instance->ISR) & (__FLAG__)) != RESET)? SET : RESET)

Get the selected RTC shift operation's flag status.

Parameters
<strong>HANDLE</strong>specifies the RTC handle.
<strong>FLAG</strong>specifies the RTC shift operation Flag is pending or not. This parameter can be:
  • RTC_FLAG_SHPF
Return values
None

Definition at line 790 of file stm32f4xx_hal_rtc_ex.h.



picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:15:07