![]() |
RTEMS 6.1
|
RTC Time structure definition. More...
#include <stm32h7xx_hal_rtc.h>
Data Fields | |
| uint8_t | Hours |
| uint8_t | Minutes |
| uint8_t | Seconds |
| uint8_t | TimeFormat |
| uint32_t | SubSeconds |
| uint32_t | SecondFraction |
| uint32_t | DayLightSaving |
| uint32_t | StoreOperation |
RTC Time structure definition.
| uint32_t RTC_TimeTypeDef::DayLightSaving |
Specifies RTC_DayLightSaveOperation: the value of hour adjustment. This parameter can be a value of RTC DayLight Saving Definitions
| uint8_t RTC_TimeTypeDef::Hours |
Specifies the RTC Time Hour. This parameter must be a number between Min_Data = 0 and Max_Data = 12 if the RTC_HourFormat_12 is selected. This parameter must be a number between Min_Data = 0 and Max_Data = 23 if the RTC_HourFormat_24 is selected
| uint8_t RTC_TimeTypeDef::Minutes |
Specifies the RTC Time Minutes. This parameter must be a number between Min_Data = 0 and Max_Data = 59
| uint32_t RTC_TimeTypeDef::SecondFraction |
Specifies the range or granularity of Sub Second register content corresponding to Synchronous pre-scaler factor value (PREDIV_S) This parameter corresponds to a time unit range between [0-1] Second with [1 Sec / SecondFraction +1] granularity. This field will be used only by HAL_RTC_GetTime function
| uint8_t RTC_TimeTypeDef::Seconds |
Specifies the RTC Time Seconds. This parameter must be a number between Min_Data = 0 and Max_Data = 59
| uint32_t RTC_TimeTypeDef::StoreOperation |
Specifies RTC_StoreOperation value to be written in the BKP bit in CR register to store the operation. This parameter can be a value of RTC Store Operation Definitions
| uint32_t RTC_TimeTypeDef::SubSeconds |
Specifies the RTC_SSR RTC Sub Second register content. This parameter corresponds to a time unit range between [0-1] Second with [1 Sec / SecondFraction +1] granularity
| uint8_t RTC_TimeTypeDef::TimeFormat |
Specifies the RTC AM/PM Time. This parameter can be a value of RTC AM PM Definitions