STM32F479xx 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_EnablePushPullMode (RTC_TypeDef *RTCx, uint32_t PinMask) |
Enable push-pull output on PC13, PC14 and/or PC15. | |
__STATIC_INLINE void | LL_RTC_DisablePushPullMode (RTC_TypeDef *RTCx, uint32_t PinMask) |
Disable push-pull output on PC13, PC14 and/or PC15. | |
__STATIC_INLINE void | LL_RTC_SetOutputPin (RTC_TypeDef *RTCx, uint32_t PinMask) |
Set PC14 and/or PC15 to high level. | |
__STATIC_INLINE void | LL_RTC_ResetOutputPin (RTC_TypeDef *RTCx, uint32_t PinMask) |
Set PC14 and/or PC15 to low level. | |
__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_DisableInitMode | ( | RTC_TypeDef * | RTCx | ) |
Disable initialization mode (Free running mode)
RTCx | RTC Instance |
None |
Definition at line 961 of file stm32f4xx_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_DisablePushPullMode | ( | RTC_TypeDef * | RTCx, |
uint32_t | PinMask | ||
) |
Disable push-pull output on PC13, PC14 and/or PC15.
RTCx | RTC Instance |
PinMask | This parameter can be a combination of the following values: |
None |
Definition at line 903 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 1050 of file stm32f4xx_ll_rtc.h.
__STATIC_INLINE void LL_RTC_DisableShadowRegBypass | ( | RTC_TypeDef * | RTCx | ) |
Disable Bypass the shadow registers.
RTCx | RTC Instance |
None |
Definition at line 1013 of file stm32f4xx_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 1118 of file stm32f4xx_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 949 of file stm32f4xx_ll_rtc.h.
References RTC_INIT_MASK.
Referenced by LL_RTC_EnterInitMode().
__STATIC_INLINE void LL_RTC_EnablePushPullMode | ( | RTC_TypeDef * | RTCx, |
uint32_t | PinMask | ||
) |
Enable push-pull output on PC13, PC14 and/or PC15.
RTCx | RTC Instance |
PinMask | This parameter can be a combination of the following values: |
None |
Definition at line 884 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 1037 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 1002 of file stm32f4xx_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 1107 of file stm32f4xx_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 832 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 865 of file stm32f4xx_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 1085 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)
RTCx | RTC Instance |
Returned | value can be one of the following values: |
Definition at line 800 of file stm32f4xx_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 990 of file stm32f4xx_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 1096 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.
RTCx | RTC Instance |
State | of bit (1 or 0). |
Definition at line 1024 of file stm32f4xx_ll_rtc.h.
Referenced by LL_RTC_DATE_Init(), and LL_RTC_TIME_Init().
__STATIC_INLINE void LL_RTC_ResetOutputPin | ( | RTC_TypeDef * | RTCx, |
uint32_t | PinMask | ||
) |
Set PC14 and/or PC15 to low level.
RTCx | RTC Instance |
PinMask | This parameter can be a combination of the following values: |
None |
Definition at line 935 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 817 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 849 of file stm32f4xx_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 1062 of file stm32f4xx_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 787 of file stm32f4xx_ll_rtc.h.
Referenced by LL_RTC_Init().
__STATIC_INLINE void LL_RTC_SetOutputPin | ( | RTC_TypeDef * | RTCx, |
uint32_t | PinMask | ||
) |
Set PC14 and/or PC15 to high level.
RTCx | RTC Instance |
PinMask | This parameter can be a combination of the following values: |
None |
Definition at line 919 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 977 of file stm32f4xx_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 1074 of file stm32f4xx_ll_rtc.h.
Referenced by LL_RTC_Init().