ChibiOS/HAL  6.1.0
RTCDateTime Struct Reference

Type of a structure representing an RTC date/time stamp. More...

#include <hal_rtc.h>

Collaboration diagram for RTCDateTime:
Collaboration graph

Data Fields

uint32_t year: 8
 Years since 1980. More...
 
uint32_t month: 4
 Months 1..12. More...
 
uint32_t dstflag: 1
 DST correction flag. More...
 
uint32_t dayofweek: 3
 Day of week 1..7. More...
 
uint32_t day: 5
 Day of the month 1..31. More...
 
uint32_t millisecond: 27
 Milliseconds since midnight. More...
 

Detailed Description

Type of a structure representing an RTC date/time stamp.

Definition at line 93 of file hal_rtc.h.

Field Documentation

uint32_t RTCDateTime::year

Years since 1980.

Definition at line 95 of file hal_rtc.h.

Referenced by rtcConvertDateTimeToFAT(), rtcConvertDateTimeToStructTm(), and rtcConvertStructTmToDateTime().

uint32_t RTCDateTime::month

Months 1..12.

Definition at line 96 of file hal_rtc.h.

Referenced by rtcConvertDateTimeToFAT(), rtcConvertDateTimeToStructTm(), and rtcConvertStructTmToDateTime().

uint32_t RTCDateTime::dstflag

DST correction flag.

Definition at line 97 of file hal_rtc.h.

Referenced by rtcConvertDateTimeToFAT(), rtcConvertDateTimeToStructTm(), and rtcConvertStructTmToDateTime().

uint32_t RTCDateTime::dayofweek

Day of week 1..7.

Definition at line 98 of file hal_rtc.h.

Referenced by rtcConvertDateTimeToStructTm(), and rtcConvertStructTmToDateTime().

uint32_t RTCDateTime::day

Day of the month 1..31.

Definition at line 99 of file hal_rtc.h.

Referenced by rtcConvertDateTimeToFAT(), rtcConvertDateTimeToStructTm(), and rtcConvertStructTmToDateTime().

uint32_t RTCDateTime::millisecond

Milliseconds since midnight.

Definition at line 100 of file hal_rtc.h.

Referenced by rtcConvertDateTimeToFAT(), rtcConvertDateTimeToStructTm(), and rtcConvertStructTmToDateTime().