Barrelfish
|
Real Time Clock Header File. More...
Data Structures | |
struct | rtc_time |
Time structure. This structure is used to get the current RTC time. More... | |
Functions | |
void | rtc_print (struct rtc_time *t) |
Print current time. This function prints the given time. More... | |
void | rtc_write_cmos (int addr, uint8_t b) |
This function reads the hardware clock. This function reads the hardware real time clock and fills the passed struct with the read values. More... | |
Real Time Clock Header File.
This file contains the defines, the struct and the procedure signatures used to access the real time clock (the hardware clock).
void rtc_print | ( | struct rtc_time * | t | ) |
Print current time. This function prints the given time.
t | pointer to a rtc_time struct |
void rtc_write_cmos | ( | int | addr, |
uint8_t | b | ||
) |
This function reads the hardware clock. This function reads the hardware real time clock and fills the passed struct with the read values.
t | pointer to a rtc_time struct |