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 #1094 background imageLoading...
Page #1094 background image
LL RTC Generic Driver
UM1940
1094/1371
DocID028236 Rev 2
LL API cross
reference:
TSTR HU LL_RTC_TS_GetHour
LL_RTC_TS_GetMinute
Function name
__STATIC_INLINE uint32_t LL_RTC_TS_GetMinute
(RTC_TypeDef * RTCx)
Function description
Get Timestamp Minutes in BCD format.
Parameters
RTCx: RTC Instance
Return values
Value: between Min_Data=0x00 and Max_Data=0x59
Notes
helper macro __LL_RTC_CONVERT_BCD2BIN is available
to convert Minutes from BCD to Binary format
Reference Manual to
LL API cross
reference:
TSTR MNT LL_RTC_TS_GetMinute
TSTR MNU LL_RTC_TS_GetMinute
LL_RTC_TS_GetSecond
Function name
__STATIC_INLINE uint32_t LL_RTC_TS_GetSecond
(RTC_TypeDef * RTCx)
Function description
Get Timestamp Seconds in BCD format.
Parameters
RTCx: RTC Instance
Return values
Value: between Min_Data=0x00 and Max_Data=0x59
Notes
helper macro __LL_RTC_CONVERT_BCD2BIN is available
to convert Seconds from BCD to Binary format
Reference Manual to
LL API cross
reference:
TSTR ST LL_RTC_TS_GetSecond
TSTR SU LL_RTC_TS_GetSecond
LL_RTC_TS_GetTime
Function name
__STATIC_INLINE uint32_t LL_RTC_TS_GetTime
(RTC_TypeDef * RTCx)
Function description
Get Timestamp time (hour, minute and second) in BCD format.
Parameters
RTCx: RTC Instance
Return values
Combination: of hours, minutes and seconds.
Notes
helper macros __LL_RTC_GET_HOUR,
__LL_RTC_GET_MINUTE and __LL_RTC_GET_SECOND
are available to get independently each parameter.
Reference Manual to
LL API cross
reference:
TSTR HT LL_RTC_TS_GetTime
TSTR HU LL_RTC_TS_GetTime
TSTR MNT LL_RTC_TS_GetTime
TSTR MNU LL_RTC_TS_GetTime
TSTR ST LL_RTC_TS_GetTime
TSTR SU LL_RTC_TS_GetTime

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