ChibiOS/HAL  7.0.3
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 98 of file hal_rtc.h.

Field Documentation

uint32_t RTCDateTime::year

Years since 1980.

Definition at line 100 of file hal_rtc.h.

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

uint32_t RTCDateTime::month

Months 1..12.

Definition at line 101 of file hal_rtc.h.

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

uint32_t RTCDateTime::dstflag

DST correction flag.

Definition at line 102 of file hal_rtc.h.

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

uint32_t RTCDateTime::dayofweek

Day of week 1..7.

Definition at line 103 of file hal_rtc.h.

Referenced by rtcConvertDateTimeToStructTm(), and rtcConvertStructTmToDateTime().

uint32_t RTCDateTime::day

Day of the month 1..31.

Definition at line 104 of file hal_rtc.h.

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

uint32_t RTCDateTime::millisecond

Milliseconds since midnight.

Definition at line 105 of file hal_rtc.h.

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