Ll_Rtc_Ts_Getdate; Ll_Rtc_Ts_Setpin; Ll_Rtc_Ts_Getpin - ST STM32F2 User Manual

Description of stm32f2 hal and low layer drivers
Hide thumbs Also See for STM32F2:
Table of Contents

Advertisement

LL RTC Generic Driver
Parameters
Return values
Notes
Reference Manual to
LL API cross
reference:

LL_RTC_TS_GetDate

Function name
Function description
Parameters
Return values
Notes
Reference Manual to
LL API cross
reference:

LL_RTC_TS_SetPin

Function name
Function description
Parameters
Return values
Reference Manual to
LL API cross
reference:

LL_RTC_TS_GetPin

Function name
Function description
1096/1371
RTCx: RTC Instance
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
TSDR DT LL_RTC_TS_GetDay
TSDR DU LL_RTC_TS_GetDay
__STATIC_INLINE uint32_t LL_RTC_TS_GetDate
(RTC_TypeDef * RTCx)
Get Timestamp date (WeekDay, Day and Month) in BCD format.
RTCx: RTC Instance
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.
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
__STATIC_INLINE void LL_RTC_TS_SetPin (RTC_TypeDef *
RTCx, uint32_t TSPin)
Set timestamp Pin.
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.
None:
TAFCR TSINSEL LL_RTC_TS_SetPin
__STATIC_INLINE uint32_t LL_RTC_TS_GetPin (RTC_TypeDef
* RTCx)
Get timestamp Pin.
DocID028236 Rev 2
UM1940

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F2 and is the answer not in the manual?

Questions and answers

Table of Contents

Save PDF