-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathRTC.xml
237 lines (237 loc) · 6.47 KB
/
RTC.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
<?xml version="1.0"?>
<Devices>
<Device DeviceId="0001">
<Name>DS3231 Realtime Clock</Name>
<Info>DS3231 Realtime Clock IC/Module I2C Communication protocol. Default Device Adress is x68.</Info>
<Adresses>
<Adress>68</Adress>
</Adresses>
<Registers>
<Register>
<RegAdress>00</RegAdress>
<Length>1</Length>
<Definition>Seconds</Definition>
</Register>
<Register>
<RegAdress>01</RegAdress>
<Length>1</Length>
<Definition>Minutes</Definition>
</Register>
<Register>
<RegAdress>02</RegAdress>
<Length>1</Length>
<Definition>Hours</Definition>
</Register>
<Register>
<RegAdress>03</RegAdress>
<Length>1</Length>
<Definition>Day of week</Definition>
</Register>
<Register>
<RegAdress>04</RegAdress>
<Length>1</Length>
<Definition>Day</Definition>
</Register>
<Register>
<RegAdress>05</RegAdress>
<Length>1</Length>
<Definition>Mounth</Definition>
</Register>
<Register>
<RegAdress>06</RegAdress>
<Length>1</Length>
<Definition>Year</Definition>
</Register>
<Register>
<RegAdress>07</RegAdress>
<Length>1</Length>
<Definition>Alarm1 Seconds</Definition>
</Register>
<Register>
<RegAdress>08</RegAdress>
<Length>1</Length>
<Definition>Alarm1 Minutes</Definition>
</Register>
<Register>
<RegAdress>09</RegAdress>
<Length>1</Length>
<Definition>Alarm1 Hours</Definition>
</Register>
<Register>
<RegAdress>0A</RegAdress>
<Length>1</Length>
<Definition>Alarm1 Day of week or Date (Depends to Bit6)</Definition>
</Register>
<Register>
<RegAdress>0B</RegAdress>
<Length>1</Length>
<Definition>Alarm2 Minutes</Definition>
</Register>
<Register>
<RegAdress>0C</RegAdress>
<Length>1</Length>
<Definition>Alarm2 Hours</Definition>
</Register>
<Register>
<RegAdress>0D</RegAdress>
<Length>1</Length>
<Definition>Alarm2 Day of week or Date (Depends to Bit6)</Definition>
</Register>
<Register>
<RegAdress>0E</RegAdress>
<Length>1</Length>
<Definition>Bits: EOSC BBSQW CONV RS2 RS1 INTCN A2IE A1IE Function: Control</Definition>
</Register>
<Register>
<RegAdress>0F</RegAdress>
<Length>1</Length>
<Definition>Bits: OSF 0 0 0 EN32kHz BSY A2F A1F Function: Control/Status</Definition>
</Register>
<Register>
<RegAdress>10</RegAdress>
<Length>1</Length>
<Definition>Bits: SIGN DATA DATA DATA DATA DATA DATA DATA Function: Aging Offset</Definition>
</Register>
<Register>
<RegAdress>11</RegAdress>
<Length>2</Length>
<Definition>Temp (Result: Temp/256 Note: First bit is negative sign)</Definition>
</Register>
</Registers>
<Commands>
<Command>
<Definition>Reset Second</Definition>
<Data>Reg:00#Length:1#Data:00#Type:Hex</Data>
</Command>
<Command>
<Definition>Reset Minute</Definition>
<Data>Reg:01#Length:1#Data:00#Type:Hex</Data>
</Command>
<Command>
<Definition>Reset Hour</Definition>
<Data>Reg:02#Length:1#Data:00#Type:Hex</Data>
</Command>
<Command>
<Definition>Reset RTC Module</Definition>
<Data>Reg:0E#Length:1#Data:1C#Type:Hex</Data>
</Command>
</Commands>
</Device>
<Device DeviceId="0002">
<Name>DS1307 Realtime Clock</Name>
<Info>DS1307 Realtime Clock IC/Module I2C Communication protocol. Default Device Adress is x68.</Info>
<Adresses>
<Adress>68</Adress>
</Adresses>
<Registers>
<Register>
<RegAdress>00</RegAdress>
<Length>1</Length>
<Definition>Seconds</Definition>
</Register>
<Register>
<RegAdress>01</RegAdress>
<Length>1</Length>
<Definition>Minutes</Definition>
</Register>
<Register>
<RegAdress>02</RegAdress>
<Length>1</Length>
<Definition>Hours</Definition>
</Register>
<Register>
<RegAdress>03</RegAdress>
<Length>1</Length>
<Definition>Day of week</Definition>
</Register>
<Register>
<RegAdress>04</RegAdress>
<Length>1</Length>
<Definition>Day</Definition>
</Register>
<Register>
<RegAdress>05</RegAdress>
<Length>1</Length>
<Definition>Mounth</Definition>
</Register>
<Register>
<RegAdress>06</RegAdress>
<Length>1</Length>
<Definition>Year</Definition>
</Register>
<Register>
<RegAdress>07</RegAdress>
<Length>1</Length>
<Definition>Alarm1 Seconds</Definition>
</Register>
<Register>
<RegAdress>08</RegAdress>
<Length>1</Length>
<Definition>Alarm1 Minutes</Definition>
</Register>
<Register>
<RegAdress>09</RegAdress>
<Length>1</Length>
<Definition>Alarm1 Hours</Definition>
</Register>
<Register>
<RegAdress>0A</RegAdress>
<Length>1</Length>
<Definition>Alarm1 Day of week or Date (Depends to Bit6)</Definition>
</Register>
<Register>
<RegAdress>0B</RegAdress>
<Length>1</Length>
<Definition>Alarm2 Minutes</Definition>
</Register>
<Register>
<RegAdress>0C</RegAdress>
<Length>1</Length>
<Definition>Alarm2 Hours</Definition>
</Register>
<Register>
<RegAdress>0D</RegAdress>
<Length>1</Length>
<Definition>Alarm2 Day of week or Date (Depends to Bit6)</Definition>
</Register>
<Register>
<RegAdress>0E</RegAdress>
<Length>1</Length>
<Definition>Bits: EOSC BBSQW CONV RS2 RS1 INTCN A2IE A1IE Function: Control</Definition>
</Register>
<Register>
<RegAdress>0F</RegAdress>
<Length>1</Length>
<Definition>Bits: OSF 0 0 0 EN32kHz BSY A2F A1F Function: Control/Status</Definition>
</Register>
<Register>
<RegAdress>10</RegAdress>
<Length>1</Length>
<Definition>Bits: SIGN DATA DATA DATA DATA DATA DATA DATA Function: Aging Offset</Definition>
</Register>
<Register>
<RegAdress>11</RegAdress>
<Length>2</Length>
<Definition>Temp (Result: Temp/256 Note: First bit is negative sign)</Definition>
</Register>
</Registers>
<Commands>
<Command>
<Definition>Reset Second</Definition>
<Data>Reg:00#Length:1#Data:00#Type:Hex</Data>
</Command>
<Command>
<Definition>Reset Minute</Definition>
<Data>Reg:01#Length:1#Data:00#Type:Hex</Data>
</Command>
<Command>
<Definition>Reset Hour</Definition>
<Data>Reg:02#Length:1#Data:00#Type:Hex</Data>
</Command>
<Command>
<Definition>Reset RTC Module</Definition>
<Data>Reg:0E#Length:1#Data:1C#Type:Hex</Data>
</Command>
</Commands>
</Device>
</Devices>