The time driver contains an interface to the system Real Time Clock (RTC).
More...
The time driver contains an interface to the system Real Time Clock (RTC).
◆ CMOS_YEARS_OFFS
#define CMOS_YEARS_OFFS 2000 |
Assume that a two-digit year is after 2000.
Definition at line 65 of file Time.h.
◆ RTC_24H
24 hour mode flag.
Definition at line 80 of file Time.h.
◆ RTC_BCD
Time/date in binary/BCD flag.
Definition at line 83 of file Time.h.
◆ RTC_DAY_OF_MONTH
#define RTC_DAY_OF_MONTH 7 |
Offset in the CMOS for the current day of the month.
Definition at line 51 of file Time.h.
◆ RTC_DAY_OF_WEEK
#define RTC_DAY_OF_WEEK 6 |
Offset in the CMOS for the current day of the week.
Definition at line 48 of file Time.h.
◆ RTC_DLS
Daylight savings flag.
Definition at line 77 of file Time.h.
◆ RTC_HOURS
Offset in the CMOS for the current number of hours.
Definition at line 45 of file Time.h.
◆ RTC_MINUTES
Offset in the CMOS for the current number of minutes.
Definition at line 42 of file Time.h.
◆ RTC_MONTH
Offset in the CMOS for the current month.
Definition at line 54 of file Time.h.
◆ RTC_PORT
#define RTC_PORT |
( |
|
x | ) |
(0x70 + (x)) |
The base I/O port of the CMOS.
Definition at line 36 of file Time.h.
◆ RTC_SECONDS
Offset in the CMOS for the current number of seconds.
Definition at line 39 of file Time.h.
◆ RTC_STATUS_A
Offset in CMOS for the status A register.
Definition at line 68 of file Time.h.
◆ RTC_STATUS_B
Offset in CMOS for the status B register.
Definition at line 71 of file Time.h.
◆ RTC_UIP
Update in progress flag.
Definition at line 74 of file Time.h.
◆ RTC_YEAR
Offset in the CMOS for the current year.
A one digit value means before 2000, and a two-digit value, i.e. >= 100, is after the year 2000.
Definition at line 62 of file Time.h.