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
32void rtc_read(struct tm* time);
33
void rtc_read(struct tm *time)
Reads the current time from the RTC.
Definition rtc.c:15
Definition time.h:21
_PUBLIC time_t time(time_t *timer)
Definition time.c:5