PatchworkOS
Loading...
Searching...
No Matches
rtc.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <
time.h
>
4
20
#define CMOS_ADDRESS 0x70
21
25
#define CMOS_DATA 0x71
26
32
void
rtc_read
(
struct
tm
*
time
);
33
rtc_read
void rtc_read(struct tm *time)
Reads the current time from the RTC.
Definition
rtc.c:15
tm
Definition
time.h:21
time.h
time
_PUBLIC time_t time(time_t *timer)
Definition
time.c:5
include
kernel
drivers
rtc.h
Generated by
1.9.8