repo.or.cz
/
minix3.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Improve the process for GNU tools
[minix3.git]
/
minix
/
drivers
/
power
/
tps65950
/
rtc.h
blob
cb64aeaba3a1725ed9879a48389ecb28d9b0256c
1
#ifndef __RTC_H
2
#define __RTC_H
3
4
#include <time.h>
5
6
int
rtc_init
(
void
);
7
int
rtc_get_time
(
struct
tm
*
t
,
int
flags
);
/* read the hardware clock into t */
8
int
rtc_set_time
(
struct
tm
*
t
,
int
flags
);
/* set the hardware clock to t */
9
int
rtc_exit
(
void
);
10
11
#endif
/* __RTC_H */