function should be called before.
TSE must be reset when TSEDGE is changed to avoid
unwanted TSF setting
Reference Manual to
LL API cross
reference:
CR TSEDGE LL_RTC_TS_SetActiveEdge
LL_RTC_TS_GetActiveEdge
__STATIC_INLINE uint32_t LL_RTC_TS_GetActiveEdge
(RTC_TypeDef * RTCx)
Get Time-stamp event active edge.
Returned: value can be one of the following values:
LL_RTC_TIMESTAMP_EDGE_RISING
LL_RTC_TIMESTAMP_EDGE_FALLING
Bit is write-protected. LL_RTC_DisableWriteProtection
function should be called before.
Reference Manual to
LL API cross
reference:
CR TSEDGE LL_RTC_TS_GetActiveEdge
LL_RTC_TS_GetTimeFormat
__STATIC_INLINE uint32_t LL_RTC_TS_GetTimeFormat
(RTC_TypeDef * RTCx)
Get Timestamp AM/PM notation (AM or 24-hour format)
Returned: value can be one of the following values:
LL_RTC_TS_TIME_FORMAT_AM
LL_RTC_TS_TIME_FORMAT_PM
Reference Manual to
LL API cross
reference:
TSTR PM LL_RTC_TS_GetTimeFormat
LL_RTC_TS_GetHour
__STATIC_INLINE uint32_t LL_RTC_TS_GetHour
(RTC_TypeDef * RTCx)
Get Timestamp Hours in BCD format.
Value: between Min_Data=0x01 and Max_Data=0x12 or
between Min_Data=0x00 and Max_Data=0x23
helper macro __LL_RTC_CONVERT_BCD2BIN is available
to convert Hours from BCD to Binary format
TSTR HT LL_RTC_TS_GetHour