The datetime structure used by the RTC API.
More...
#include <fastarduino/devices/ds1307.h>
The datetime structure used by the RTC API.
This is inspired by C standard time.h header but was slightly adapted to fit DS1307 RTC chip.
- See also
- DS1307::get_datetime()
-
DS1307::set_datetime()
Definition at line 79 of file ds1307.h.
◆ tm_sec
uint8_t devices::rtc::tm::tm_sec = 0 |
seconds after the minute - [ 0 to 59 ]
Definition at line 82 of file ds1307.h.
◆ tm_min
uint8_t devices::rtc::tm::tm_min = 0 |
minutes after the hour - [ 0 to 59 ]
Definition at line 84 of file ds1307.h.
◆ tm_hour
uint8_t devices::rtc::tm::tm_hour = 0 |
hours since midnight - [ 0 to 23 ]
Definition at line 86 of file ds1307.h.
◆ tm_wday
days since Sunday - [ 1 to 7 ]
Definition at line 88 of file ds1307.h.
◆ tm_mday
uint8_t devices::rtc::tm::tm_mday = 0 |
day of the month - [ 1 to 31 ]
Definition at line 90 of file ds1307.h.
◆ tm_mon
uint8_t devices::rtc::tm::tm_mon = 0 |
months since January - [ 1 to 12 ]
Definition at line 92 of file ds1307.h.
◆ tm_year
uint8_t devices::rtc::tm::tm_year = 0 |
years since 2000
Definition at line 94 of file ds1307.h.
The documentation for this struct was generated from the following file: