Value: between Min_Data=0x01 and Max_Data=0x31
helper macro __LL_RTC_CONVERT_BCD2BIN is available
to convert Day from BCD to Binary format
Reference Manual to
LL API cross
reference:
TSDR DT LL_RTC_TS_GetDay
TSDR DU LL_RTC_TS_GetDay
LL_RTC_TS_GetDate
__STATIC_INLINE uint32_t LL_RTC_TS_GetDate
(RTC_TypeDef * RTCx)
Get Timestamp date (WeekDay, Day and Month) in BCD format.
Combination: of Weekday, Day and Month
helper macros __LL_RTC_GET_WEEKDAY,
__LL_RTC_GET_MONTH, and __LL_RTC_GET_DAY are
available to get independently each parameter.
Reference Manual to
LL API cross
reference:
TSDR WDU LL_RTC_TS_GetDate
TSDR MT LL_RTC_TS_GetDate
TSDR MU LL_RTC_TS_GetDate
TSDR DT LL_RTC_TS_GetDate
TSDR DU LL_RTC_TS_GetDate
LL_RTC_TS_SetPin
__STATIC_INLINE void LL_RTC_TS_SetPin (RTC_TypeDef *
RTCx, uint32_t TSPin)
RTCx: RTC Instance
TSPin: specifies the RTC TimeStamp Pin. This parameter
can be one of the following values:
LL_RTC_TimeStampPin_Default: RTC_AF1 is used as
RTC TimeStamp.
LL_RTC_TimeStampPin_Pos1: RTC_AF2 is selected as
RTC TimeStamp.
Reference Manual to
LL API cross
reference:
TAFCR TSINSEL LL_RTC_TS_SetPin
LL_RTC_TS_GetPin
__STATIC_INLINE uint32_t LL_RTC_TS_GetPin (RTC_TypeDef
* RTCx)