Ll_Rtc_Ts_Getminute; Ll_Rtc_Ts_Getsecond; Ll_Rtc_Ts_Gettime - 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
LL API cross
reference:

LL_RTC_TS_GetMinute

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

LL_RTC_TS_GetSecond

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

LL_RTC_TS_GetTime

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