FreeNOS
|
Go to the source code of this file.
Data Structures | |
class | Time |
System Time server. More... | |
Macros | |
#define | RTC_PORT(x) (0x70 + (x)) |
The base I/O port of the CMOS. More... | |
#define | RTC_SECONDS 0 |
Offset in the CMOS for the current number of seconds. More... | |
#define | RTC_MINUTES 2 |
Offset in the CMOS for the current number of minutes. More... | |
#define | RTC_HOURS 4 |
Offset in the CMOS for the current number of hours. More... | |
#define | RTC_DAY_OF_WEEK 6 |
Offset in the CMOS for the current day of the week. More... | |
#define | RTC_DAY_OF_MONTH 7 |
Offset in the CMOS for the current day of the month. More... | |
#define | RTC_MONTH 8 |
Offset in the CMOS for the current month. More... | |
#define | RTC_YEAR 9 |
Offset in the CMOS for the current year. More... | |
#define | CMOS_YEARS_OFFS 2000 |
Assume that a two-digit year is after 2000. More... | |
#define | RTC_STATUS_A 10 |
Offset in CMOS for the status A register. More... | |
#define | RTC_STATUS_B 11 |
Offset in CMOS for the status B register. More... | |
#define | RTC_UIP 0x80 |
Update in progress flag. More... | |
#define | RTC_DLS 0x01 |
Daylight savings flag. More... | |
#define | RTC_24H 0x02 |
24 hour mode flag. More... | |
#define | RTC_BCD 0x04 |
Time/date in binary/BCD flag. More... | |