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

RTC Date structure definition. More...

#include <stm32f4xx_hal_rtc.h>

Collaboration diagram for RTC_DateTypeDef:

Data Fields

uint8_t WeekDay
 
uint8_t Month
 
uint8_t Date
 
uint8_t Year
 

Detailed Description

RTC Date structure definition.

Definition at line 119 of file stm32f4xx_hal_rtc.h.

Field Documentation

◆ WeekDay

uint8_t RTC_DateTypeDef::WeekDay

Specifies the RTC Date WeekDay. This parameter can be a value of RTC WeekDay Definitions

Definition at line 121 of file stm32f4xx_hal_rtc.h.

Referenced by HAL_RTC_GetDate(), HAL_RTC_SetDate(), and HAL_RTCEx_GetTimeStamp().

◆ Month

uint8_t RTC_DateTypeDef::Month

Specifies the RTC Date Month (in BCD format). This parameter can be a value of RTC Month Date Definitions (in BCD format)

Definition at line 124 of file stm32f4xx_hal_rtc.h.

Referenced by HAL_RTC_GetDate(), HAL_RTC_SetDate(), and HAL_RTCEx_GetTimeStamp().

◆ Date

uint8_t RTC_DateTypeDef::Date

Specifies the RTC Date. This parameter must be a number between Min_Data = 1 and Max_Data = 31

Definition at line 127 of file stm32f4xx_hal_rtc.h.

Referenced by HAL_RTC_GetDate(), HAL_RTC_SetDate(), and HAL_RTCEx_GetTimeStamp().

◆ Year

uint8_t RTC_DateTypeDef::Year

Specifies the RTC Date Year. This parameter must be a number between Min_Data = 0 and Max_Data = 99

Definition at line 130 of file stm32f4xx_hal_rtc.h.

Referenced by HAL_RTC_GetDate(), HAL_RTC_SetDate(), and HAL_RTCEx_GetTimeStamp().


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