ST STM32F2 User Manual page 1124

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

Advertisement

LL RTC Generic Driver
__LL_RTC_GET_MINUTE
__LL_RTC_GET_SECOND
Common Write and read registers Macros
LL_RTC_WriteReg
LL_RTC_ReadReg
1124/1371
Return value:
Hours: in BCD format (0x01. . .0x12 or between
Min_Data=0x00 and Max_Data=0x23)
Description:
Helper macro to retrieve minute in BCD format.
Parameters:
__RTC_TIME__: RTC time returned by
Return value:
Minutes: in BCD format (0x00. . .0x59)
Description:
Helper macro to retrieve second in BCD format.
Parameters:
__RTC_TIME__: RTC time returned by
Return value:
Seconds: in format (0x00. . .0x59)
Description:
Write a value in RTC register.
Parameters:
__INSTANCE__: RTC Instance
__REG__: Register to be written
__VALUE__: Value to be written in the register
Return value:
None
Description:
Read a value in RTC register.
Parameters:
__INSTANCE__: RTC Instance
__REG__: Register to be read
Return value:
Register: value
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?

Table of Contents

Save PDF