EasyManuals Logo

ST STM32F2 User Manual

ST STM32F2
1371 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #1096 background imageLoading...
Page #1096 background image
LL RTC Generic Driver
UM1940
1096/1371
DocID028236 Rev 2
Parameters
RTCx: RTC Instance
Return values
Value: between Min_Data=0x01 and Max_Data=0x31
Notes
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
Function name
__STATIC_INLINE uint32_t LL_RTC_TS_GetDate
(RTC_TypeDef * RTCx)
Function description
Get Timestamp date (WeekDay, Day and Month) in BCD format.
Parameters
RTCx: RTC Instance
Return values
Combination: of Weekday, Day and Month
Notes
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
Function name
__STATIC_INLINE void LL_RTC_TS_SetPin (RTC_TypeDef *
RTCx, uint32_t TSPin)
Function description
Set timestamp Pin.
Parameters
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.
Return values
None:
Reference Manual to
LL API cross
reference:
TAFCR TSINSEL LL_RTC_TS_SetPin
LL_RTC_TS_GetPin
Function name
__STATIC_INLINE uint32_t LL_RTC_TS_GetPin (RTC_TypeDef
* RTCx)
Function description
Get timestamp Pin.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

ST STM32F2 Specifications

General IconGeneral
BrandST
ModelSTM32F2
CategoryMicrocontrollers
LanguageEnglish

Related product manuals