|
Barrelfish
|
Simple RTC hardware clock access. More...
Functions | |
| 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... | |
| void | rtc_print (struct rtc_time *t) |
| Print current time. This function prints the given time. More... | |
Simple RTC hardware clock access.
This file implements a simple driver for the hardware real time 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 |
1.8.11