[cmos] Docs

This commit is contained in:
Kevin Lange 2011-04-14 20:43:20 -05:00
parent d1676852d8
commit 7219b9bd94

View File

@ -42,10 +42,18 @@ get_date(
) {
uint16_t values[128]; /* CMOS dump */
cmos_dump(values);
*month = from_bcd(values[8]);
*day = from_bcd(values[7]);
}
/**
* Get the current time.
*
* @param hours Pointer to a short to store the current hour (/24)
* @param minutes Pointer to a short to store the current minute
* @param seconds Pointer to a short to store the current second
*/
void
get_time(
uint16_t * hours,