PatchworkOS
Loading...
Searching...
No Matches
rtc.h File Reference
#include <time.h>

Go to the source code of this file.

Macros

#define CMOS_ADDRESS   0x70
 CMOS address port.
 
#define CMOS_DATA   0x71
 CMOS data port.
 

Functions

void rtc_read (struct tm *time)
 Reads the current time from the RTC.