Real Time Clock.
More...
Real Time Clock.
The RTC driver provides functions to read the current time from the CMOS RTC.
- See also
- OSDev CMOS
◆ rtc_read()
Definition at line 29 of file rtc.c.
◆ rtc_update_in_progress()
| static int rtc_update_in_progress |
( |
void |
| ) |
|
|
static |
Definition at line 35 of file rtc.c.
◆ rtc_bcd_to_bin()
Definition at line 40 of file rtc.c.
◆ rtc_read_epoch()
| static time_t rtc_read_epoch |
( |
void |
| ) |
|
|
static |
Definition at line 45 of file rtc.c.
◆ rtc_init()
| static uint64_t rtc_init |
( |
const char * |
deviceName | ) |
|
|
static |
Definition at line 91 of file rtc.c.
◆ centuryRegister
Definition at line 23 of file rtc.c.
◆ addressPort
Definition at line 25 of file rtc.c.
◆ dataPort
Definition at line 26 of file rtc.c.
◆ lock
Definition at line 27 of file rtc.c.
◆ source
Initial value:= {
.name = "CMOS RTC",
}
static time_t rtc_read_epoch(void)
#define NULL
Pointer error value.
Definition at line 84 of file rtc.c.