STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
Loading...
Searching...
No Matches
RTC_TimeTypeDef Struct Reference

RTC Time structure definition. More...

#include <stm32f4xx_hal_rtc.h>

Collaboration diagram for RTC_TimeTypeDef:

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
 

Detailed Description

RTC Time structure definition.

Definition at line 84 of file stm32f4xx_hal_rtc.h.

Field Documentation

◆ Hours

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

Definition at line 86 of file stm32f4xx_hal_rtc.h.

Referenced by HAL_RTC_GetAlarm(), HAL_RTC_GetTime(), HAL_RTC_SetAlarm(), HAL_RTC_SetAlarm_IT(), HAL_RTC_SetTime(), and HAL_RTCEx_GetTimeStamp().

◆ Minutes

uint8_t RTC_TimeTypeDef::Minutes

Specifies the RTC Time Minutes. This parameter must be a number between Min_Data = 0 and Max_Data = 59

Definition at line 90 of file stm32f4xx_hal_rtc.h.

Referenced by HAL_RTC_GetAlarm(), HAL_RTC_GetTime(), HAL_RTC_SetAlarm(), HAL_RTC_SetAlarm_IT(), HAL_RTC_SetTime(), and HAL_RTCEx_GetTimeStamp().

◆ Seconds

uint8_t RTC_TimeTypeDef::Seconds

Specifies the RTC Time Seconds. This parameter must be a number between Min_Data = 0 and Max_Data = 59

Definition at line 93 of file stm32f4xx_hal_rtc.h.

Referenced by HAL_RTC_GetAlarm(), HAL_RTC_GetTime(), HAL_RTC_SetAlarm(), HAL_RTC_SetAlarm_IT(), HAL_RTC_SetTime(), and HAL_RTCEx_GetTimeStamp().

◆ TimeFormat

uint8_t RTC_TimeTypeDef::TimeFormat

Specifies the RTC AM/PM Time. This parameter can be a value of RTC AM PM Definitions

Definition at line 96 of file stm32f4xx_hal_rtc.h.

Referenced by HAL_RTC_GetAlarm(), HAL_RTC_GetTime(), HAL_RTC_SetAlarm(), HAL_RTC_SetAlarm_IT(), HAL_RTC_SetTime(), and HAL_RTCEx_GetTimeStamp().

◆ SubSeconds

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

Definition at line 99 of file stm32f4xx_hal_rtc.h.

Referenced by HAL_RTC_GetAlarm(), HAL_RTC_GetTime(), HAL_RTC_SetAlarm(), HAL_RTC_SetAlarm_IT(), and HAL_RTCEx_GetTimeStamp().

◆ SecondFraction

uint32_t RTC_TimeTypeDef::SecondFraction

Specifies the range or granularity of Sub Second register content corresponding to Synchronous prescaler 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

Definition at line 103 of file stm32f4xx_hal_rtc.h.

Referenced by HAL_RTC_GetTime().

◆ DayLightSaving

uint32_t RTC_TimeTypeDef::DayLightSaving

This interface is deprecated. To manage Daylight Saving Time, please use HAL_RTC_DST_xxx functions

Definition at line 109 of file stm32f4xx_hal_rtc.h.

Referenced by HAL_RTC_SetTime().

◆ StoreOperation

uint32_t RTC_TimeTypeDef::StoreOperation

This interface is deprecated. To manage Daylight Saving Time, please use HAL_RTC_DST_xxx functions

Definition at line 112 of file stm32f4xx_hal_rtc.h.

Referenced by HAL_RTC_SetTime().


The documentation for this struct was generated from the following file: