|
RTEMS 6.1-rc6
|
Loading...
Searching...
No Matches
21#ifndef __RTC_PCF8563__
22#define __RTC_PCF8563__
24#define PCF8563_I2C_ADDRESS (0xA2)
26#define PCF8563_CONTROL1_ADR (0x00)
27#define PCF8563_CONTROL1_TEST1 (0x80)
28#define PCF8563_CONTROL1_STOP (0x20)
29#define PCF8563_CONTROL1_TESTC (0x08)
31#define PCF8563_CONTROL2_ADR (0x01)
32#define PCF8563_CONTROL2_TITP (0x10)
33#define PCF8563_CONTROL2_AF (0x08)
34#define PCF8563_CONTROL2_TF (0x04)
35#define PCF8563_CONTROL2_AIE (0x02)
36#define PCF8563_CONTROL2_TIE (0x01)
39#define PCF8563_SECOND_ADR (0x02)
40#define PCF8563_SECOND_VL (0x80)
41#define PCF8563_SECOND_MASK (0x7f)
44#define PCF8563_MINUTE_ADR (0x03)
45#define PCF8563_MINUTE_MASK (0x7f)
48#define PCF8563_HOUR_ADR (0x04)
49#define PCF8563_HOUR_MASK (0x3f)
52#define PCF8563_DAY_ADR (0x05)
53#define PCF8563_DAY_MASK (0x3f)
55#define PCF8563_DAY_OF_WEEK_ADR (0x06)
56#define PCF8563_DAY_OF_WEEK_MASK (0x07)
58#define PCF8563_MONTH_ADR (0x07)
59#define PCF8563_MONTH_MASK (0x1f)
60#define PCF8563_MONTH_CENTURY (0x80)
63#define PCF8563_YEAR_ADR (0x08)
64#define PCF8563_YEAR_MASK (0xff)
66#define PCF8563_MINUTE_ALARM_ADR (0x09)
67#define PCF8563_HOUR_ALARM_ADR (0x0A)
68#define PCF8563_DAY_ALARM_ADR (0x0B)
69#define PCF8563_DAY_OF_WEEK_ALARM_ADR (0x0C)
70#define PCF8563_XXX_ALARM_AE (0x80)
73#define PCF8563_CLKOUTCTL_ADR (0x0D)
74#define PCF8563_CLKOUTCTL_FE (0x80)
75#define PCF8563_CLKOUTCTL_FD (0x03)
78#define PCF8563_TIMERCTL_ADR (0x0E)
79#define PCF8563_TIMERCTL_FE (0x80)
80#define PCF8563_TIMERCTL_FD (0x03)
83#define PCF8563_TIMER_ADR (0x0F)