repo.or.cz
/
kugel-rb.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Renamed button description layer to 'Text'.
[kugel-rb.git]
/
apps
/
plugins
/
rockboy
/
rtc-gb.h
blob
94772da923f36ce3fcf12fbeda1bd0bd4a5effd3
1
2
3
#ifndef __RTC_GB_H__
4
#define __RTC_GB_H__
5
6
7
struct
rtc
8
{
9
int
batt
;
10
int
sel
;
11
int
latch
;
12
int
d
,
h
,
m
,
s
,
t
;
13
int
stop
,
carry
;
14
byte regs
[
8
];
15
};
16
17
extern
struct
rtc rtc
;
18
19
void
rtc_latch
(
byte b
);
20
void
rtc_write
(
byte b
);
21
void
rtc_tick
(
void
);
22
void
rtc_save_internal
(
int
fd
);
23
void
rtc_load_internal
(
int
fd
);
24
25
#endif