2 Copyright © 1995-2010, The AROS Development Team. All rights reserved.
4 Desc: Internal data structures for battclock.resource
8 #ifndef BATTCLOCK_INTERN_H
9 #define BATTCLOCK_INTERN_H
12 #include <exec/types.h>
15 #include <exec/nodes.h>
17 #ifndef UTILITY_UTILITY_H
18 #include <utility/utility.h>
26 struct Library bb_LibNode
;
27 struct UtilityBase
*UtilityBase
;
28 volatile UBYTE
*clockptr
;
32 void resetbattclock(struct BattClockBase
*Battclock
);
33 UBYTE
getreg(volatile UBYTE
*p
, UBYTE regnum
);
34 void putreg(volatile UBYTE
*p
, UBYTE regnum
, UBYTE v
);
35 UBYTE
getbcd(volatile UBYTE
*p
, UBYTE regnum
);
36 void putbcd(volatile UBYTE
*p
, UBYTE regnum
, UBYTE v
);
37 void stopclock(struct BattClockBase
*Battclock
);
38 void startclock(struct BattClockBase
*Battclock
);
40 #endif //BATTCLOCK_INTERN_H