rockbox/apps/plugins/rockboy/rtc-gb.h
Jens Arnold d2456b44f7 Centralised the ICODE_ATTR and IDATA_ATTR #defines. Renamed some musepack and rockboy headers to avoid clashes with rockbox headers.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6991 a1c6a512-1295-4272-9138-f99709370657
2005-07-03 14:05:12 +00:00

25 lines
315 B
C

#ifndef __RTC_GB_H__
#define __RTC_GB_H__
struct rtc
{
int batt;
int sel;
int latch;
int d, h, m, s, t;
int stop, carry;
byte regs[8];
};
extern struct rtc rtc;
void rtc_latch(byte b);
void rtc_write(byte b);
void rtc_tick(void);
void rtc_save_internal(int fd);
void rtc_load_internal(int fd);
#endif