|
STM32L4xx_HAL_Driver
1.14.0
|
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) RTC_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 RTC_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) RTC_CR TAMPALRM_TYPE LL_RTC_SetAlarmOutputType. More... | |
| __STATIC_INLINE uint32_t | LL_RTC_GetAlarmOutputType (RTC_TypeDef *RTCx) |
| Get RTC_ALARM output type (ALARM in push-pull or open-drain output) RTC_CR TAMPALRM_TYPE LL_RTC_SetAlarmOutputType. 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) RTC_ICSR 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 RTC_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 RTC_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. RTC_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 RTC_PRER PREDIV_A LL_RTC_SetAsynchPrescaler. More... | |
| __STATIC_INLINE void | LL_RTC_SetSynchPrescaler (RTC_TypeDef *RTCx, uint32_t SynchPrescaler) |
| Set Synchronous prescaler factor RTC_PRER PREDIV_S LL_RTC_SetSynchPrescaler. More... | |
| __STATIC_INLINE uint32_t | LL_RTC_GetAsynchPrescaler (RTC_TypeDef *RTCx) |
| Get Asynchronous prescaler factor RTC_PRER PREDIV_A LL_RTC_GetAsynchPrescaler. More... | |
| __STATIC_INLINE uint32_t | LL_RTC_GetSynchPrescaler (RTC_TypeDef *RTCx) |
| Get Synchronous prescaler factor RTC_PRER PREDIV_S LL_RTC_GetSynchPrescaler. More... | |
| __STATIC_INLINE void | LL_RTC_EnableWriteProtection (RTC_TypeDef *RTCx) |
| Enable the write protection for RTC registers. RTC_WPR KEY LL_RTC_EnableWriteProtection. More... | |
| __STATIC_INLINE void | LL_RTC_DisableWriteProtection (RTC_TypeDef *RTCx) |
| Disable the write protection for RTC registers. RTC_WPR KEY LL_RTC_DisableWriteProtection. More... | |
| __STATIC_INLINE void | LL_RTC_EnableTamperOutput (RTC_TypeDef *RTCx) |
| Enable tamper output. More... | |
| __STATIC_INLINE void | LL_RTC_DisableTamperOutput (RTC_TypeDef *RTCx) |
| Disable tamper output. RTC_CR TAMPOE LL_RTC_DisableTamperOutput. More... | |
| __STATIC_INLINE uint32_t | LL_RTC_IsTamperOutputEnabled (RTC_TypeDef *RTCx) |
| Check if tamper output is enabled or not. RTC_CR TAMPOE LL_RTC_IsTamperOutputEnabled. More... | |
| __STATIC_INLINE void | LL_RTC_EnableAlarmPullUp (RTC_TypeDef *RTCx) |
| Enable internal pull-up in output mode. RTC_CR TAMPALRM_PU LL_RTC_EnableAlarmPullUp. More... | |
| __STATIC_INLINE void | LL_RTC_DisableAlarmPullUp (RTC_TypeDef *RTCx) |
| Disable internal pull-up in output mode. RTC_CR TAMPALRM_PU LL_RTC_EnableAlarmPullUp. More... | |
| __STATIC_INLINE uint32_t | LL_RTC_IsAlarmPullUpEnabled (RTC_TypeDef *RTCx) |
| Check if internal pull-up in output mode is enabled or not. RTC_CR TAMPALRM_PU LL_RTC_IsAlarmPullUpEnabled. More... | |
| __STATIC_INLINE void | LL_RTC_EnableOutput2 (RTC_TypeDef *RTCx) |
| Enable RTC_OUT2 output. More... | |
| __STATIC_INLINE void | LL_RTC_DisableOutput2 (RTC_TypeDef *RTCx) |
| Disable RTC_OUT2 output RTC_CR OUT2EN LL_RTC_DisableOutput2. More... | |
| __STATIC_INLINE uint32_t | LL_RTC_IsOutput2Enabled (RTC_TypeDef *RTCx) |
| Check if RTC_OUT2 output is enabled or not. RTC_CR OUT2EN LL_RTC_IsOutput2Enabled. More... | |
| __STATIC_INLINE void | LL_RTC_EnableOutRemap (RTC_TypeDef *RTCx) |
| Enable RTC_OUT remap OR OUT_RMP LL_RTC_EnableOutRemap. More... | |
| __STATIC_INLINE void | LL_RTC_DisableOutRemap (RTC_TypeDef *RTCx) |
| Disable RTC_OUT remap OR OUT_RMP LL_RTC_DisableOutRemap. More... | |
| __STATIC_INLINE void LL_RTC_DisableAlarmPullUp | ( | RTC_TypeDef * | RTCx | ) |
Disable internal pull-up in output mode. RTC_CR TAMPALRM_PU LL_RTC_EnableAlarmPullUp.
| RTCx | RTC Instance |
| None |
Definition at line 1263 of file stm32l4xx_ll_rtc.h.
| __STATIC_INLINE void LL_RTC_DisableInitMode | ( | RTC_TypeDef * | RTCx | ) |
Disable initialization mode (Free running mode) RTC_ICSR INIT LL_RTC_DisableInitMode.
Disable initialization mode (Free running mode) ISR INIT LL_RTC_DisableInitMode.
| RTCx | RTC Instance |
| None |
Definition at line 988 of file stm32l4xx_ll_rtc.h.
| __STATIC_INLINE void LL_RTC_DisableOutput2 | ( | RTC_TypeDef * | RTCx | ) |
Disable RTC_OUT2 output RTC_CR OUT2EN LL_RTC_DisableOutput2.
| RTCx | RTC Instance |
| None |
Definition at line 1299 of file stm32l4xx_ll_rtc.h.
| __STATIC_INLINE void LL_RTC_DisableOutRemap | ( | RTC_TypeDef * | RTCx | ) |
Disable RTC_OUT remap OR OUT_RMP LL_RTC_DisableOutRemap.
| RTCx | RTC Instance |
| None |
Definition at line 1334 of file stm32l4xx_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 1136 of file stm32l4xx_ll_rtc.h.
| __STATIC_INLINE void LL_RTC_DisableShadowRegBypass | ( | RTC_TypeDef * | RTCx | ) |
Disable Bypass the shadow registers RTC_CR BYPSHAD LL_RTC_DisableShadowRegBypass.
| RTCx | RTC Instance |
| None |
Definition at line 1099 of file stm32l4xx_ll_rtc.h.
| __STATIC_INLINE void LL_RTC_DisableTamperOutput | ( | RTC_TypeDef * | RTCx | ) |
Disable tamper output. RTC_CR TAMPOE LL_RTC_DisableTamperOutput.
| RTCx | RTC Instance |
| None |
Definition at line 1230 of file stm32l4xx_ll_rtc.h.
| __STATIC_INLINE void LL_RTC_DisableWriteProtection | ( | RTC_TypeDef * | RTCx | ) |
Disable the write protection for RTC registers. RTC_WPR KEY LL_RTC_DisableWriteProtection.
| RTCx | RTC Instance |
| None |
Definition at line 1204 of file stm32l4xx_ll_rtc.h.
| __STATIC_INLINE void LL_RTC_EnableAlarmPullUp | ( | RTC_TypeDef * | RTCx | ) |
Enable internal pull-up in output mode. RTC_CR TAMPALRM_PU LL_RTC_EnableAlarmPullUp.
| RTCx | RTC Instance |
| None |
Definition at line 1252 of file stm32l4xx_ll_rtc.h.
| __STATIC_INLINE void LL_RTC_EnableInitMode | ( | RTC_TypeDef * | RTCx | ) |
Enable initialization mode.
| RTCx | RTC Instance |
| None |
| RTCx | RTC Instance |
| None |
Definition at line 976 of file stm32l4xx_ll_rtc.h.
| __STATIC_INLINE void LL_RTC_EnableOutput2 | ( | RTC_TypeDef * | RTCx | ) |
Enable RTC_OUT2 output.
| RTCx | RTC Instance |
| None |
Definition at line 1288 of file stm32l4xx_ll_rtc.h.
| __STATIC_INLINE void LL_RTC_EnableOutRemap | ( | RTC_TypeDef * | RTCx | ) |
Enable RTC_OUT remap OR OUT_RMP LL_RTC_EnableOutRemap.
| RTCx | RTC Instance |
| None |
Definition at line 1323 of file stm32l4xx_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 1123 of file stm32l4xx_ll_rtc.h.
| __STATIC_INLINE void LL_RTC_EnableShadowRegBypass | ( | RTC_TypeDef * | RTCx | ) |
Enable Bypass the shadow registers.
| RTCx | RTC Instance |
| None |
Definition at line 1088 of file stm32l4xx_ll_rtc.h.
| __STATIC_INLINE void LL_RTC_EnableTamperOutput | ( | RTC_TypeDef * | RTCx | ) |
Enable tamper output.
| RTCx | RTC Instance |
| None |
Definition at line 1219 of file stm32l4xx_ll_rtc.h.
| __STATIC_INLINE void LL_RTC_EnableWriteProtection | ( | RTC_TypeDef * | RTCx | ) |
Enable the write protection for RTC registers. RTC_WPR KEY LL_RTC_EnableWriteProtection.
| RTCx | RTC Instance |
| None |
Definition at line 1193 of file stm32l4xx_ll_rtc.h.
| __STATIC_INLINE uint32_t LL_RTC_GetAlarmOutEvent | ( | RTC_TypeDef * | RTCx | ) |
Get the flag to be routed to RTC_ALARM output RTC_CR OSEL LL_RTC_GetAlarmOutEvent.
| RTCx | RTC Instance |
| Returned | value can be one of the following values:
|
Definition at line 934 of file stm32l4xx_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) RTC_CR TAMPALRM_TYPE LL_RTC_SetAlarmOutputType.
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:
|
| RTCx | RTC Instance |
| Returned | value can be one of the following values:
|
Definition at line 962 of file stm32l4xx_ll_rtc.h.
| __STATIC_INLINE uint32_t LL_RTC_GetAsynchPrescaler | ( | RTC_TypeDef * | RTCx | ) |
Get Asynchronous prescaler factor RTC_PRER PREDIV_A LL_RTC_GetAsynchPrescaler.
| RTCx | RTC Instance |
| Value | between Min_Data = 0 and Max_Data = 0x7F |
Definition at line 1171 of file stm32l4xx_ll_rtc.h.
| __STATIC_INLINE uint32_t LL_RTC_GetHourFormat | ( | RTC_TypeDef * | RTCx | ) |
Get Hours format (24 hour/day or AM/PM hour format) RTC_CR FMT LL_RTC_GetHourFormat.
| RTCx | RTC Instance |
| Returned | value can be one of the following values:
|
Definition at line 902 of file stm32l4xx_ll_rtc.h.
| __STATIC_INLINE uint32_t LL_RTC_GetOutputPolarity | ( | RTC_TypeDef * | RTCx | ) |
Get Output polarity RTC_CR POL LL_RTC_GetOutputPolarity.
| RTCx | RTC Instance |
| Returned | value can be one of the following values:
|
Definition at line 1076 of file stm32l4xx_ll_rtc.h.
| __STATIC_INLINE uint32_t LL_RTC_GetSynchPrescaler | ( | RTC_TypeDef * | RTCx | ) |
Get Synchronous prescaler factor RTC_PRER PREDIV_S LL_RTC_GetSynchPrescaler.
| RTCx | RTC Instance |
| Value | between Min_Data = 0 and Max_Data = 0x7FFF |
Definition at line 1182 of file stm32l4xx_ll_rtc.h.
| __STATIC_INLINE uint32_t LL_RTC_IsAlarmPullUpEnabled | ( | RTC_TypeDef * | RTCx | ) |
Check if internal pull-up in output mode is enabled or not. RTC_CR TAMPALRM_PU LL_RTC_IsAlarmPullUpEnabled.
| RTCx | RTC Instance |
| State | of bit (1 or 0). |
Definition at line 1274 of file stm32l4xx_ll_rtc.h.
| __STATIC_INLINE uint32_t LL_RTC_IsOutput2Enabled | ( | RTC_TypeDef * | RTCx | ) |
Check if RTC_OUT2 output is enabled or not. RTC_CR OUT2EN LL_RTC_IsOutput2Enabled.
| RTCx | RTC Instance |
| State | of bit (1 or 0). |
Definition at line 1310 of file stm32l4xx_ll_rtc.h.
| __STATIC_INLINE uint32_t LL_RTC_IsShadowRegBypassEnabled | ( | RTC_TypeDef * | RTCx | ) |
Check if Shadow registers bypass is enabled or not. RTC_CR BYPSHAD LL_RTC_IsShadowRegBypassEnabled.
| RTCx | RTC Instance |
| State | of bit (1 or 0). |
Definition at line 1110 of file stm32l4xx_ll_rtc.h.
| __STATIC_INLINE uint32_t LL_RTC_IsTamperOutputEnabled | ( | RTC_TypeDef * | RTCx | ) |
Check if tamper output is enabled or not. RTC_CR TAMPOE LL_RTC_IsTamperOutputEnabled.
| RTCx | RTC Instance |
| State | of bit (1 or 0). |
Definition at line 1241 of file stm32l4xx_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 919 of file stm32l4xx_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) RTC_CR TAMPALRM_TYPE LL_RTC_SetAlarmOutputType.
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 |
| RTCx | RTC Instance |
| Output | This parameter can be one of the following values:
|
| None |
Definition at line 949 of file stm32l4xx_ll_rtc.h.
| __STATIC_INLINE void LL_RTC_SetAsynchPrescaler | ( | RTC_TypeDef * | RTCx, |
| uint32_t | AsynchPrescaler | ||
| ) |
Set Asynchronous prescaler factor RTC_PRER PREDIV_A LL_RTC_SetAsynchPrescaler.
| RTCx | RTC Instance |
| AsynchPrescaler | Value between Min_Data = 0 and Max_Data = 0x7F |
| None |
Definition at line 1148 of file stm32l4xx_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 889 of file stm32l4xx_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 1063 of file stm32l4xx_ll_rtc.h.
| __STATIC_INLINE void LL_RTC_SetSynchPrescaler | ( | RTC_TypeDef * | RTCx, |
| uint32_t | SynchPrescaler | ||
| ) |
Set Synchronous prescaler factor RTC_PRER PREDIV_S LL_RTC_SetSynchPrescaler.
| RTCx | RTC Instance |
| SynchPrescaler | Value between Min_Data = 0 and Max_Data = 0x7FFF |
| None |
Definition at line 1160 of file stm32l4xx_ll_rtc.h.