STM32F103xB HAL User Manual
Data Fields
RTC_DateTypeDef Struct Reference

RTC Date structure definition. More...

#include <stm32f1xx_hal_rtc.h>

Data Fields

uint8_t WeekDay
uint8_t Month
uint8_t Date
uint8_t Year

Detailed Description

RTC Date structure definition.

Definition at line 147 of file stm32f1xx_hal_rtc.h.


Field Documentation

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

Definition at line 155 of file stm32f1xx_hal_rtc.h.

Referenced by HAL_RTC_GetDate(), HAL_RTC_Init(), HAL_RTC_SetDate(), and RTC_DateUpdate().

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

Definition at line 152 of file stm32f1xx_hal_rtc.h.

Referenced by HAL_RTC_GetDate(), HAL_RTC_Init(), HAL_RTC_SetDate(), and RTC_DateUpdate().

Specifies the RTC Date WeekDay (not necessary for HAL_RTC_SetDate). This parameter can be a value of WeekDay Definitions

Definition at line 149 of file stm32f1xx_hal_rtc.h.

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

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

Definition at line 158 of file stm32f1xx_hal_rtc.h.

Referenced by HAL_RTC_GetDate(), HAL_RTC_Init(), HAL_RTC_SetDate(), and RTC_DateUpdate().


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