EasyManua.ls Logo

ST STM32F31xx

ST STM32F31xx
584 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
Loading...
UM1581
Real-time clock (RTC)
DocID023800 Rev 1
357/584
uint8_t RTC_Hours
uint8_t RTC_Minutes
uint8_t RTC_Seconds
uint8_t RTC_H12
Field Documentation
uint8_t RTC_TimeTypeDef::RTC_Hours
Specifies the RTC Time Hour. This parameter must be set to a value in the 0-12
range if the RTC_HourFormat_12 is selected or 0-23 range if the
RTC_HourFormat_24 is selected.
uint8_t RTC_TimeTypeDef::RTC_Minutes
Specifies the RTC Time Minutes. This parameter must be set to a value in the 0-
59 range.
uint8_t RTC_TimeTypeDef::RTC_Seconds
Specifies the RTC Time Seconds. This parameter must be set to a value in the
0-59 range.
uint8_t RTC_TimeTypeDef::RTC_H12
Specifies the RTC AM/PM Time. This parameter can be a value of
RTC_AM_PM_Definitions
19.1.4 RTC_DateTypeDef
RTC_DateTypeDef is defined in the stm32f30x_rtc.h
Data Fields
uint8_t RTC_WeekDay
uint8_t RTC_Month
uint8_t RTC_Date
uint8_t RTC_Year
Field Documentation
uint8_t RTC_DateTypeDef::RTC_WeekDay
Specifies the RTC Date WeekDay. This parameter can be a value of
RTC_WeekDay_Definitions
uint8_t RTC_DateTypeDef::RTC_Month
Specifies the RTC Date Month (in BCD format). This parameter can be a value
of RTC_Month_Date_Definitions
uint8_t RTC_DateTypeDef::RTC_Date
Specifies the RTC Date. This parameter must be set to a value in the 1-31
range.
uint8_t RTC_DateTypeDef::RTC_Year
Specifies the RTC Date Year. This parameter must be set to a value in the 0-99
range.

Table of Contents

Related product manuals