EasyManuals Logo

ST STM32F31xx User Manual

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
Page #357 background imageLoading...
Page #357 background image
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

Questions and Answers:

Question and Answer IconNeed help?

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

ST STM32F31xx Specifications

General IconGeneral
BrandST
ModelSTM32F31xx
CategoryMicrocontrollers
LanguageEnglish

Related product manuals