STM32H735xx HAL User Manual
|
Functions | |
__STATIC_INLINE void | LL_RTC_SetHourFormat (RTC_TypeDef *RTCx, uint32_t HourFormat) |
Set Hours format (24 hour/day or AM/PM hour format) | |
__STATIC_INLINE uint32_t | LL_RTC_GetHourFormat (RTC_TypeDef *RTCx) |
Get Hours format (24 hour/day or AM/PM hour format) | |
__STATIC_INLINE void | LL_RTC_SetAlarmOutEvent (RTC_TypeDef *RTCx, uint32_t AlarmOutput) |
Select the flag to be routed to RTC_ALARM output. | |
__STATIC_INLINE uint32_t | LL_RTC_GetAlarmOutEvent (RTC_TypeDef *RTCx) |
Get the flag to be routed to RTC_ALARM output. | |
__STATIC_INLINE void | LL_RTC_SetAlarmOutputType (RTC_TypeDef *RTCx, uint32_t Output) |
Set RTC_ALARM output type (ALARM in push-pull or open-drain output) | |
__STATIC_INLINE uint32_t | LL_RTC_GetAlarmOutputType (RTC_TypeDef *RTCx) |
Get RTC_ALARM output type (ALARM in push-pull or open-drain output) | |
__STATIC_INLINE void | LL_RTC_EnableInitMode (RTC_TypeDef *RTCx) |
Enable initialization mode. | |
__STATIC_INLINE void | LL_RTC_DisableInitMode (RTC_TypeDef *RTCx) |
Disable initialization mode (Free running mode) | |
__STATIC_INLINE void | LL_RTC_SetOutputPolarity (RTC_TypeDef *RTCx, uint32_t Polarity) |
Set Output polarity (pin is low when ALRAF/ALRBF/WUTF is asserted) | |
__STATIC_INLINE uint32_t | LL_RTC_GetOutputPolarity (RTC_TypeDef *RTCx) |
Get Output polarity. | |
__STATIC_INLINE void | LL_RTC_EnableShadowRegBypass (RTC_TypeDef *RTCx) |
Enable Bypass the shadow registers. | |
__STATIC_INLINE void | LL_RTC_DisableShadowRegBypass (RTC_TypeDef *RTCx) |
Disable Bypass the shadow registers. | |
__STATIC_INLINE uint32_t | LL_RTC_IsShadowRegBypassEnabled (RTC_TypeDef *RTCx) |
Check if Shadow registers bypass is enabled or not. | |
__STATIC_INLINE void | LL_RTC_EnableRefClock (RTC_TypeDef *RTCx) |
Enable RTC_REFIN reference clock detection (50 or 60 Hz) | |
__STATIC_INLINE void | LL_RTC_DisableRefClock (RTC_TypeDef *RTCx) |
Disable RTC_REFIN reference clock detection (50 or 60 Hz) | |
__STATIC_INLINE void | LL_RTC_SetAsynchPrescaler (RTC_TypeDef *RTCx, uint32_t AsynchPrescaler) |
Set Asynchronous prescaler factor. | |
__STATIC_INLINE void | LL_RTC_SetSynchPrescaler (RTC_TypeDef *RTCx, uint32_t SynchPrescaler) |
Set Synchronous prescaler factor. | |
__STATIC_INLINE uint32_t | LL_RTC_GetAsynchPrescaler (RTC_TypeDef *RTCx) |
Get Asynchronous prescaler factor. | |
__STATIC_INLINE uint32_t | LL_RTC_GetSynchPrescaler (RTC_TypeDef *RTCx) |
Get Synchronous prescaler factor. | |
__STATIC_INLINE void | LL_RTC_EnableWriteProtection (RTC_TypeDef *RTCx) |
Enable the write protection for RTC registers. | |
__STATIC_INLINE void | LL_RTC_DisableWriteProtection (RTC_TypeDef *RTCx) |
Disable the write protection for RTC registers. | |
__STATIC_INLINE void | LL_RTC_EnableOutRemap (RTC_TypeDef *RTCx) |
Enable RTC_OUT remap. | |
__STATIC_INLINE void | LL_RTC_DisableOutRemap (RTC_TypeDef *RTCx) |
Disable RTC_OUT remap. |
__STATIC_INLINE void LL_RTC_DisableInitMode | ( | RTC_TypeDef * | RTCx | ) |
Disable initialization mode (Free running mode)
RTCx | RTC Instance |
None |
Definition at line 1135 of file stm32h7xx_ll_rtc.h.
Referenced by LL_RTC_DATE_Init(), LL_RTC_ExitInitMode(), LL_RTC_Init(), and LL_RTC_TIME_Init().
__STATIC_INLINE void LL_RTC_DisableOutRemap | ( | RTC_TypeDef * | RTCx | ) |
Disable RTC_OUT remap.
RTCx | RTC Instance |
None |
Definition at line 1428 of file stm32h7xx_ll_rtc.h.
__STATIC_INLINE void LL_RTC_DisableRefClock | ( | RTC_TypeDef * | RTCx | ) |
Disable RTC_REFIN reference clock detection (50 or 60 Hz)
RTCx | RTC Instance |
None |
Definition at line 1225 of file stm32h7xx_ll_rtc.h.
__STATIC_INLINE void LL_RTC_DisableShadowRegBypass | ( | RTC_TypeDef * | RTCx | ) |
Disable Bypass the shadow registers.
RTCx | RTC Instance |
None |
Definition at line 1188 of file stm32h7xx_ll_rtc.h.
__STATIC_INLINE void LL_RTC_DisableWriteProtection | ( | RTC_TypeDef * | RTCx | ) |
Disable the write protection for RTC registers.
RTCx | RTC Instance |
None |
Definition at line 1293 of file stm32h7xx_ll_rtc.h.
References RTC_WRITE_PROTECTION_ENABLE_1, and RTC_WRITE_PROTECTION_ENABLE_2.
Referenced by LL_RTC_ALMA_Init(), LL_RTC_ALMB_Init(), LL_RTC_DATE_Init(), LL_RTC_DeInit(), LL_RTC_Init(), and LL_RTC_TIME_Init().
__STATIC_INLINE void LL_RTC_EnableInitMode | ( | RTC_TypeDef * | RTCx | ) |
Enable initialization mode.
RTCx | RTC Instance |
None |
Definition at line 1123 of file stm32h7xx_ll_rtc.h.
References RTC_LL_INIT_MASK.
Referenced by LL_RTC_EnterInitMode().
__STATIC_INLINE void LL_RTC_EnableOutRemap | ( | RTC_TypeDef * | RTCx | ) |
Enable RTC_OUT remap.
RTCx | RTC Instance |
None |
Definition at line 1417 of file stm32h7xx_ll_rtc.h.
__STATIC_INLINE void LL_RTC_EnableRefClock | ( | RTC_TypeDef * | RTCx | ) |
Enable RTC_REFIN reference clock detection (50 or 60 Hz)
RTCx | RTC Instance |
None |
Definition at line 1212 of file stm32h7xx_ll_rtc.h.
__STATIC_INLINE void LL_RTC_EnableShadowRegBypass | ( | RTC_TypeDef * | RTCx | ) |
Enable Bypass the shadow registers.
RTCx | RTC Instance |
None |
Definition at line 1177 of file stm32h7xx_ll_rtc.h.
__STATIC_INLINE void LL_RTC_EnableWriteProtection | ( | RTC_TypeDef * | RTCx | ) |
Enable the write protection for RTC registers.
RTCx | RTC Instance |
None |
Definition at line 1282 of file stm32h7xx_ll_rtc.h.
References RTC_WRITE_PROTECTION_DISABLE.
Referenced by LL_RTC_ALMA_Init(), LL_RTC_ALMB_Init(), LL_RTC_DATE_Init(), LL_RTC_DeInit(), LL_RTC_Init(), and LL_RTC_TIME_Init().
__STATIC_INLINE uint32_t LL_RTC_GetAlarmOutEvent | ( | RTC_TypeDef * | RTCx | ) |
Get the flag to be routed to RTC_ALARM output.
RTCx | RTC Instance |
Returned | value can be one of the following values: |
Definition at line 1018 of file stm32h7xx_ll_rtc.h.
__STATIC_INLINE uint32_t LL_RTC_GetAlarmOutputType | ( | RTC_TypeDef * | RTCx | ) |
Get RTC_ALARM output type (ALARM in push-pull or open-drain output)
RTCx | RTC Instance |
Returned | value can be one of the following values: |
Definition at line 1107 of file stm32h7xx_ll_rtc.h.
__STATIC_INLINE uint32_t LL_RTC_GetAsynchPrescaler | ( | RTC_TypeDef * | RTCx | ) |
Get Asynchronous prescaler factor.
RTCx | RTC Instance |
Value | between Min_Data = 0 and Max_Data = 0x7F |
Definition at line 1260 of file stm32h7xx_ll_rtc.h.
__STATIC_INLINE uint32_t LL_RTC_GetHourFormat | ( | RTC_TypeDef * | RTCx | ) |
Get Hours format (24 hour/day or AM/PM hour format)
RTCx | RTC Instance |
Returned | value can be one of the following values: |
Definition at line 986 of file stm32h7xx_ll_rtc.h.
Referenced by LL_RTC_ALMA_Init(), LL_RTC_ALMB_Init(), and LL_RTC_TIME_Init().
__STATIC_INLINE uint32_t LL_RTC_GetOutputPolarity | ( | RTC_TypeDef * | RTCx | ) |
Get Output polarity.
RTCx | RTC Instance |
Returned | value can be one of the following values: |
Definition at line 1165 of file stm32h7xx_ll_rtc.h.
__STATIC_INLINE uint32_t LL_RTC_GetSynchPrescaler | ( | RTC_TypeDef * | RTCx | ) |
Get Synchronous prescaler factor.
RTCx | RTC Instance |
Value | between Min_Data = 0 and Max_Data = 0x7FFF |
Definition at line 1271 of file stm32h7xx_ll_rtc.h.
__STATIC_INLINE uint32_t LL_RTC_IsShadowRegBypassEnabled | ( | RTC_TypeDef * | RTCx | ) |
Check if Shadow registers bypass is enabled or not.
RTCx | RTC Instance |
State | of bit (1 or 0). |
Definition at line 1199 of file stm32h7xx_ll_rtc.h.
Referenced by LL_RTC_DATE_Init(), and LL_RTC_TIME_Init().
__STATIC_INLINE void LL_RTC_SetAlarmOutEvent | ( | RTC_TypeDef * | RTCx, |
uint32_t | AlarmOutput | ||
) |
Select the flag to be routed to RTC_ALARM output.
RTCx | RTC Instance |
AlarmOutput | This parameter can be one of the following values: |
None |
Definition at line 1003 of file stm32h7xx_ll_rtc.h.
__STATIC_INLINE void LL_RTC_SetAlarmOutputType | ( | RTC_TypeDef * | RTCx, |
uint32_t | Output | ||
) |
Set RTC_ALARM output type (ALARM in push-pull or open-drain output)
RTCx | RTC Instance |
Output | This parameter can be one of the following values: |
None |
Definition at line 1093 of file stm32h7xx_ll_rtc.h.
__STATIC_INLINE void LL_RTC_SetAsynchPrescaler | ( | RTC_TypeDef * | RTCx, |
uint32_t | AsynchPrescaler | ||
) |
Set Asynchronous prescaler factor.
RTCx | RTC Instance |
AsynchPrescaler | Value between Min_Data = 0 and Max_Data = 0x7F |
None |
Definition at line 1237 of file stm32h7xx_ll_rtc.h.
Referenced by LL_RTC_Init().
__STATIC_INLINE void LL_RTC_SetHourFormat | ( | RTC_TypeDef * | RTCx, |
uint32_t | HourFormat | ||
) |
Set Hours format (24 hour/day or AM/PM hour format)
RTCx | RTC Instance |
HourFormat | This parameter can be one of the following values: |
None |
Definition at line 973 of file stm32h7xx_ll_rtc.h.
Referenced by LL_RTC_Init().
__STATIC_INLINE void LL_RTC_SetOutputPolarity | ( | RTC_TypeDef * | RTCx, |
uint32_t | Polarity | ||
) |
Set Output polarity (pin is low when ALRAF/ALRBF/WUTF is asserted)
RTCx | RTC Instance |
Polarity | This parameter can be one of the following values: |
None |
Definition at line 1152 of file stm32h7xx_ll_rtc.h.
__STATIC_INLINE void LL_RTC_SetSynchPrescaler | ( | RTC_TypeDef * | RTCx, |
uint32_t | SynchPrescaler | ||
) |
Set Synchronous prescaler factor.
RTCx | RTC Instance |
SynchPrescaler | Value between Min_Data = 0 and Max_Data = 0x7FFF |
None |
Definition at line 1249 of file stm32h7xx_ll_rtc.h.
Referenced by LL_RTC_Init().