|
GPS Device
|
Holds a calendar date (year, month, day, weekday). More...
#include <stm32f401re_rtc.h>
Public Attributes | |
| uint16_t | year |
| WEEK_DAYS_te | week_days |
| MONTHS_te | months |
| uint8_t | date |
Holds a calendar date (year, month, day, weekday).
Used by rtc_set_calendar. The year is a full four-digit year (e.g. 2026); the driver subtracts 2000 before writing to the RTC, so years before 2000 or after 2099 are not supported.
Definition at line 110 of file stm32f401re_rtc.h.
| uint16_t CALENDAR_ts::year |
Full year (2000–2099).
Definition at line 111 of file stm32f401re_rtc.h.
| WEEK_DAYS_te CALENDAR_ts::week_days |
Day of the week.
Definition at line 112 of file stm32f401re_rtc.h.
| MONTHS_te CALENDAR_ts::months |
Month of the year.
Definition at line 113 of file stm32f401re_rtc.h.
| uint8_t CALENDAR_ts::date |
Day of the month (1–31).
Definition at line 114 of file stm32f401re_rtc.h.