Go to the source code of this file.
|
enum | sec_rtc_reg {
SEC_RTC_SEC,
SEC_RTC_MIN,
SEC_RTC_HOUR,
SEC_RTC_WEEKDAY,
SEC_RTC_DATE,
SEC_RTC_MONTH,
SEC_RTC_YEAR1,
SEC_RTC_YEAR2,
SEC_ALARM0_SEC,
SEC_ALARM0_MIN,
SEC_ALARM0_HOUR,
SEC_ALARM0_WEEKDAY,
SEC_ALARM0_DATE,
SEC_ALARM0_MONTH,
SEC_ALARM0_YEAR1,
SEC_ALARM0_YEAR2,
SEC_ALARM1_SEC,
SEC_ALARM1_MIN,
SEC_ALARM1_HOUR,
SEC_ALARM1_WEEKDAY,
SEC_ALARM1_DATE,
SEC_ALARM1_MONTH,
SEC_ALARM1_YEAR1,
SEC_ALARM1_YEAR2,
SEC_ALARM0_CONF,
SEC_ALARM1_CONF,
SEC_RTC_STATUS,
SEC_WTSR_SMPL_CNTL,
SEC_RTC_UDR_CON
} |
|
enum | {
RTC_SEC = 0,
RTC_MIN,
RTC_HOUR,
RTC_WEEKDAY,
RTC_DATE,
RTC_MONTH,
RTC_YEAR1,
RTC_YEAR2
} |
|
#define ALARM0_STATUS (1 << 1) |
Definition at line 53 of file rtc.h.
#define ALARM1_STATUS (1 << 2) |
Definition at line 54 of file rtc.h.
Definition at line 70 of file rtc.h.
#define ALARM_ENABLE_SHIFT 7 |
Definition at line 69 of file rtc.h.
Definition at line 59 of file rtc.h.
Definition at line 58 of file rtc.h.
Definition at line 50 of file rtc.h.
#define HOUR_AMPM (1 << 6) |
Definition at line 51 of file rtc.h.
Definition at line 52 of file rtc.h.
Definition at line 67 of file rtc.h.
Definition at line 66 of file rtc.h.
Definition at line 61 of file rtc.h.
Definition at line 60 of file rtc.h.
#define RTC_I2C_ADDR (0x0C >> 1) |
Definition at line 48 of file rtc.h.
Definition at line 64 of file rtc.h.
Definition at line 63 of file rtc.h.
#define UPDATE_AD (1 << 0) |
Definition at line 55 of file rtc.h.
- Enumerator:
RTC_SEC |
|
RTC_MIN |
|
RTC_HOUR |
|
RTC_WEEKDAY |
|
RTC_DATE |
|
RTC_MONTH |
|
RTC_YEAR1 |
|
RTC_YEAR2 |
|
Definition at line 72 of file rtc.h.
- Enumerator:
SEC_RTC_SEC |
|
SEC_RTC_MIN |
|
SEC_RTC_HOUR |
|
SEC_RTC_WEEKDAY |
|
SEC_RTC_DATE |
|
SEC_RTC_MONTH |
|
SEC_RTC_YEAR1 |
|
SEC_RTC_YEAR2 |
|
SEC_ALARM0_SEC |
|
SEC_ALARM0_MIN |
|
SEC_ALARM0_HOUR |
|
SEC_ALARM0_WEEKDAY |
|
SEC_ALARM0_DATE |
|
SEC_ALARM0_MONTH |
|
SEC_ALARM0_YEAR1 |
|
SEC_ALARM0_YEAR2 |
|
SEC_ALARM1_SEC |
|
SEC_ALARM1_MIN |
|
SEC_ALARM1_HOUR |
|
SEC_ALARM1_WEEKDAY |
|
SEC_ALARM1_DATE |
|
SEC_ALARM1_MONTH |
|
SEC_ALARM1_YEAR1 |
|
SEC_ALARM1_YEAR2 |
|
SEC_ALARM0_CONF |
|
SEC_ALARM1_CONF |
|
SEC_RTC_STATUS |
|
SEC_WTSR_SMPL_CNTL |
|
SEC_RTC_UDR_CON |
|
Definition at line 16 of file rtc.h.