Go to the source code of this file.
| #define M48T59_ALARM_DATE 0x5 |
| #define M48T59_ALARM_HOUR 0x4 |
| #define M48T59_ALARM_MIN 0x3 |
| #define M48T59_ALARM_SEC 0x2 |
| #define M48T59_CNTL_READ 0x40 |
| #define M48T59_CNTL_WRITE 0x80 |
| #define M48T59_FLAGS_AF 0x40 /* alarm */ |
| #define M48T59_FLAGS_BF 0x10 /* low battery */ |
| #define M48T59_FLAGS_WDT 0x80 /* watchdog timer expired */ |
| #define M48T59_INTR_ABE 0x20 |
| #define M48T59_INTR_AFE 0x80 /* Alarm Interrupt Enable */ |
| #define M48T59_MDAY 0xd /* Day of Month */ |
| #define M48T59_UNUSED 0x1 |
| #define M48T59_WATCHDOG 0x7 |
| #define M48T59_WDAY 0xc /* Day of Week */ |
| #define M48T59_WDAY_CB 0x20 /* Century Bit */ |
| #define M48T59_WDAY_CEB 0x10 /* Century Enable Bit */ |
| #define M48T59RTC_TYPE_M48T02 1 |
| #define M48T59RTC_TYPE_M48T08 2 |
| #define M48T59RTC_TYPE_M48T59 0 /* to keep compatibility */ |