STM32F4xx_HAL_Driver
1.8.3
|
Functions | |
__STATIC_INLINE void | LL_RTC_SetHourFormat (RTC_TypeDef *RTCx, uint32_t HourFormat) |
Set Hours format (24 hour/day or AM/PM hour format) More... | |
__STATIC_INLINE uint32_t | LL_RTC_GetHourFormat (RTC_TypeDef *RTCx) |
Get Hours format (24 hour/day or AM/PM hour format) @rmtoll CR FMT LL_RTC_GetHourFormat. More... | |
__STATIC_INLINE void | LL_RTC_SetAlarmOutEvent (RTC_TypeDef *RTCx, uint32_t AlarmOutput) |
Select the flag to be routed to RTC_ALARM output. More... | |
__STATIC_INLINE uint32_t | LL_RTC_GetAlarmOutEvent (RTC_TypeDef *RTCx) |
Get the flag to be routed to RTC_ALARM output @rmtoll CR OSEL LL_RTC_GetAlarmOutEvent. More... | |
__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) More... | |
__STATIC_INLINE uint32_t | LL_RTC_GetAlarmOutputType (RTC_TypeDef *RTCx) |
Get RTC_ALARM output type (ALARM in push-pull or open-drain output) More... | |
__STATIC_INLINE void | LL_RTC_EnableInitMode (RTC_TypeDef *RTCx) |
Enable initialization mode. More... | |
__STATIC_INLINE void | LL_RTC_DisableInitMode (RTC_TypeDef *RTCx) |
Disable initialization mode (Free running mode) @rmtoll ISR INIT LL_RTC_DisableInitMode. More... | |
__STATIC_INLINE void | LL_RTC_SetOutputPolarity (RTC_TypeDef *RTCx, uint32_t Polarity) |
Set Output polarity (pin is low when ALRAF/ALRBF/WUTF is asserted) More... | |
__STATIC_INLINE uint32_t | LL_RTC_GetOutputPolarity (RTC_TypeDef *RTCx) |
Get Output polarity @rmtoll CR POL LL_RTC_GetOutputPolarity. More... | |
__STATIC_INLINE void | LL_RTC_EnableShadowRegBypass (RTC_TypeDef *RTCx) |
Enable Bypass the shadow registers. More... | |
__STATIC_INLINE void | LL_RTC_DisableShadowRegBypass (RTC_TypeDef *RTCx) |
Disable Bypass the shadow registers @rmtoll CR BYPSHAD LL_RTC_DisableShadowRegBypass. More... | |
__STATIC_INLINE uint32_t | LL_RTC_IsShadowRegBypassEnabled (RTC_TypeDef *RTCx) |
Check if Shadow registers bypass is enabled or not. @rmtoll CR BYPSHAD LL_RTC_IsShadowRegBypassEnabled. More... | |
__STATIC_INLINE void | LL_RTC_EnableRefClock (RTC_TypeDef *RTCx) |
Enable RTC_REFIN reference clock detection (50 or 60 Hz) More... | |
__STATIC_INLINE void | LL_RTC_DisableRefClock (RTC_TypeDef *RTCx) |
Disable RTC_REFIN reference clock detection (50 or 60 Hz) More... | |
__STATIC_INLINE void | LL_RTC_SetAsynchPrescaler (RTC_TypeDef *RTCx, uint32_t AsynchPrescaler) |
Set Asynchronous prescaler factor @rmtoll PRER PREDIV_A LL_RTC_SetAsynchPrescaler. More... | |
__STATIC_INLINE void | LL_RTC_SetSynchPrescaler (RTC_TypeDef *RTCx, uint32_t SynchPrescaler) |
Set Synchronous prescaler factor @rmtoll PRER PREDIV_S LL_RTC_SetSynchPrescaler. More... | |
__STATIC_INLINE uint32_t | LL_RTC_GetAsynchPrescaler (RTC_TypeDef *RTCx) |
Get Asynchronous prescaler factor @rmtoll PRER PREDIV_A LL_RTC_GetAsynchPrescaler. More... | |
__STATIC_INLINE uint32_t | LL_RTC_GetSynchPrescaler (RTC_TypeDef *RTCx) |
Get Synchronous prescaler factor @rmtoll PRER PREDIV_S LL_RTC_GetSynchPrescaler. More... | |
__STATIC_INLINE void | LL_RTC_EnableWriteProtection (RTC_TypeDef *RTCx) |
Enable the write protection for RTC registers. @rmtoll WPR KEY LL_RTC_EnableWriteProtection. More... | |
__STATIC_INLINE void | LL_RTC_DisableWriteProtection (RTC_TypeDef *RTCx) |
Disable the write protection for RTC registers. @rmtoll WPR KEY LL_RTC_DisableWriteProtection. More... | |
__STATIC_INLINE void LL_RTC_DisableInitMode | ( | RTC_TypeDef * | RTCx | ) |
Disable initialization mode (Free running mode) @rmtoll ISR INIT LL_RTC_DisableInitMode.
RTCx | RTC Instance |
None |
Definition at line 844 of file stm32f4xx_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 933 of file stm32f4xx_ll_rtc.h.
__STATIC_INLINE void LL_RTC_DisableShadowRegBypass | ( | RTC_TypeDef * | RTCx | ) |
Disable Bypass the shadow registers @rmtoll CR BYPSHAD LL_RTC_DisableShadowRegBypass.
RTCx | RTC Instance |
None |
Definition at line 896 of file stm32f4xx_ll_rtc.h.
__STATIC_INLINE void LL_RTC_DisableWriteProtection | ( | RTC_TypeDef * | RTCx | ) |
Disable the write protection for RTC registers. @rmtoll WPR KEY LL_RTC_DisableWriteProtection.
RTCx | RTC Instance |
None |
Definition at line 1001 of file stm32f4xx_ll_rtc.h.
__STATIC_INLINE void LL_RTC_EnableInitMode | ( | RTC_TypeDef * | RTCx | ) |
Enable initialization mode.
RTCx | RTC Instance |
None |
Definition at line 832 of file stm32f4xx_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 920 of file stm32f4xx_ll_rtc.h.
__STATIC_INLINE void LL_RTC_EnableShadowRegBypass | ( | RTC_TypeDef * | RTCx | ) |
Enable Bypass the shadow registers.
RTCx | RTC Instance |
None |
Definition at line 885 of file stm32f4xx_ll_rtc.h.
__STATIC_INLINE void LL_RTC_EnableWriteProtection | ( | RTC_TypeDef * | RTCx | ) |
Enable the write protection for RTC registers. @rmtoll WPR KEY LL_RTC_EnableWriteProtection.
RTCx | RTC Instance |
None |
Definition at line 990 of file stm32f4xx_ll_rtc.h.
__STATIC_INLINE uint32_t LL_RTC_GetAlarmOutEvent | ( | RTC_TypeDef * | RTCx | ) |
Get the flag to be routed to RTC_ALARM output @rmtoll CR OSEL LL_RTC_GetAlarmOutEvent.
RTCx | RTC Instance |
Returned | value can be one of the following values:
|
Definition at line 789 of file stm32f4xx_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 818 of file stm32f4xx_ll_rtc.h.
__STATIC_INLINE uint32_t LL_RTC_GetAsynchPrescaler | ( | RTC_TypeDef * | RTCx | ) |
Get Asynchronous prescaler factor @rmtoll PRER PREDIV_A LL_RTC_GetAsynchPrescaler.
RTCx | RTC Instance |
Value | between Min_Data = 0 and Max_Data = 0x7F |
Definition at line 968 of file stm32f4xx_ll_rtc.h.
__STATIC_INLINE uint32_t LL_RTC_GetHourFormat | ( | RTC_TypeDef * | RTCx | ) |
Get Hours format (24 hour/day or AM/PM hour format) @rmtoll CR FMT LL_RTC_GetHourFormat.
RTCx | RTC Instance |
Returned | value can be one of the following values:
|
Definition at line 757 of file stm32f4xx_ll_rtc.h.
__STATIC_INLINE uint32_t LL_RTC_GetOutputPolarity | ( | RTC_TypeDef * | RTCx | ) |
Get Output polarity @rmtoll CR POL LL_RTC_GetOutputPolarity.
RTCx | RTC Instance |
Returned | value can be one of the following values:
|
Definition at line 873 of file stm32f4xx_ll_rtc.h.
__STATIC_INLINE uint32_t LL_RTC_GetSynchPrescaler | ( | RTC_TypeDef * | RTCx | ) |
Get Synchronous prescaler factor @rmtoll PRER PREDIV_S LL_RTC_GetSynchPrescaler.
RTCx | RTC Instance |
Value | between Min_Data = 0 and Max_Data = 0x7FFF |
Definition at line 979 of file stm32f4xx_ll_rtc.h.
__STATIC_INLINE uint32_t LL_RTC_IsShadowRegBypassEnabled | ( | RTC_TypeDef * | RTCx | ) |
Check if Shadow registers bypass is enabled or not. @rmtoll CR BYPSHAD LL_RTC_IsShadowRegBypassEnabled.
RTCx | RTC Instance |
State | of bit (1 or 0). |
Definition at line 907 of file stm32f4xx_ll_rtc.h.
__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 774 of file stm32f4xx_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 804 of file stm32f4xx_ll_rtc.h.
__STATIC_INLINE void LL_RTC_SetAsynchPrescaler | ( | RTC_TypeDef * | RTCx, |
uint32_t | AsynchPrescaler | ||
) |
Set Asynchronous prescaler factor @rmtoll PRER PREDIV_A LL_RTC_SetAsynchPrescaler.
RTCx | RTC Instance |
AsynchPrescaler | Value between Min_Data = 0 and Max_Data = 0x7F |
None |
Definition at line 945 of file stm32f4xx_ll_rtc.h.
__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 744 of file stm32f4xx_ll_rtc.h.
__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 860 of file stm32f4xx_ll_rtc.h.
__STATIC_INLINE void LL_RTC_SetSynchPrescaler | ( | RTC_TypeDef * | RTCx, |
uint32_t | SynchPrescaler | ||
) |
Set Synchronous prescaler factor @rmtoll PRER PREDIV_S LL_RTC_SetSynchPrescaler.
RTCx | RTC Instance |
SynchPrescaler | Value between Min_Data = 0 and Max_Data = 0x7FFF |
None |
Definition at line 957 of file stm32f4xx_ll_rtc.h.