ChibiOS/HAL 9.0.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.
uint32_t month: 4
 Months 1..12.
uint32_t dstflag: 1
 DST correction flag.
uint32_t dayofweek: 3
 Day of week 1..7.
uint32_t day: 5
 Day of the month 1..31.
uint32_t millisecond: 27
 Milliseconds since midnight.

Detailed Description

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

Definition at line 98 of file hal_rtc.h.

Field Documentation

◆ year

uint32_t RTCDateTime::year

Years since 1980.

Definition at line 100 of file hal_rtc.h.

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

◆ month

uint32_t RTCDateTime::month

Months 1..12.

Definition at line 101 of file hal_rtc.h.

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

◆ dstflag

uint32_t RTCDateTime::dstflag

DST correction flag.

Definition at line 102 of file hal_rtc.h.

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

◆ dayofweek

uint32_t RTCDateTime::dayofweek

Day of week 1..7.

Definition at line 103 of file hal_rtc.h.

Referenced by rtcConvertDateTimeToStructTm(), and rtcConvertStructTmToDateTime().

◆ day

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().

◆ millisecond

uint32_t RTCDateTime::millisecond

Milliseconds since midnight.

Definition at line 105 of file hal_rtc.h.

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