2 * Registers for the SGS-Thomson M48T35 Timekeeper RAM chip
9 volatile u8 pad
[0x7ff8]; /* starts at 0x7ff8 */
20 #define M48T35_RTC_SET 0x80
21 #define M48T35_RTC_STOPPED 0x80
22 #define M48T35_RTC_READ 0x40
25 #define BCD_TO_BIN(x) ((x)=((x)&15) + ((x)>>4)*10)
29 #define BIN_TO_BCD(x) ((x)=(((x)/10)<<4) + (x)%10)