You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: Sub seconds value This value is compared with the contents of the synchronous prescaler counter to determine if alarm A is to be activated. Only bits 0 up MASKSS-1 are compared.
156
+
description: Sub seconds value
145
157
bit_offset: 0
146
158
bit_size: 15
147
159
- name: MASKSS
148
-
description: 'Mask the most-significant bits starting at this bit 2: SS[14:2] are don’t care in alarm A comparison. Only SS[1:0] are compared. 3: SS[14:3] are don’t care in alarm A comparison. Only SS[2:0] are compared. ... 12: SS[14:12] are don’t care in alarm A comparison. SS[11:0] are compared. 13: SS[14:13] are don’t care in alarm A comparison. SS[12:0] are compared. 14: SS[14] is don’t care in alarm A comparison. SS[13:0] are compared. 15: All 15 SS bits are compared and must match to activate alarm. The overflow bits of the synchronous counter (bits 15) is never compared. This bit can be different from 0 only after a shift operation. Note: The overflow bits of the synchronous counter (bits 15) is never compared. This bit can be different from 0 only after a shift operation.'
160
+
description: Mask the most-significant bits starting at this bit
149
161
bit_offset: 24
150
162
bit_size: 4
151
163
fieldset/CALR:
@@ -191,18 +203,21 @@ fieldset/CR:
191
203
bit_offset: 6
192
204
bit_size: 1
193
205
enum: FMT
194
-
- name: ALRAE
195
-
description: Alarm A enable
206
+
- name: ALRE
207
+
description: Alarm enable
196
208
bit_offset: 8
197
209
bit_size: 1
198
210
- name: TSE
199
211
description: Timestamp enable
200
212
bit_offset: 11
201
213
bit_size: 1
202
-
- name: ALRAIE
203
-
description: Alarm A interrupt enable
214
+
- name: ALRIE
215
+
description: Alarm interrupt enable
204
216
bit_offset: 12
205
217
bit_size: 1
218
+
array:
219
+
len: 1
220
+
stride: 1
206
221
- name: TSIE
207
222
description: Timestamp interrupt enable
208
223
bit_offset: 15
@@ -285,10 +300,13 @@ fieldset/DR:
285
300
fieldset/ICSR:
286
301
description: Initialization control and status register
287
302
fields:
288
-
- name: ALRAWF
289
-
description: Alarm A write flag
303
+
- name: ALRWF
304
+
description: Alarm write enabled
290
305
bit_offset: 0
291
306
bit_size: 1
307
+
array:
308
+
len: 1
309
+
stride: 1
292
310
- name: SHPF
293
311
description: Shift operation pending
294
312
bit_offset: 3
@@ -310,23 +328,27 @@ fieldset/ICSR:
310
328
bit_offset: 7
311
329
bit_size: 1
312
330
- name: RECALPF
313
-
description: Recalibration pending Flag The RECALPF status flag is automatically set to 1 when software writes to the RTC_CALR register, indicating that the RTC_CALR register is blocked. When the new calibration settings are taken into account, this bit returns to 0. Refer to.
331
+
description: Recalibration pending Flag
314
332
bit_offset: 16
315
333
bit_size: 1
316
334
fieldset/MISR:
317
-
description: RTC masked interrupt status register.
335
+
description: Masked interrupt status register
318
336
fields:
319
-
- name: ALRAMF
320
-
description: Alarm A masked flag This flag is set by hardware when the alarm A interrupt occurs.
337
+
- name: ALRMF
338
+
description: Alarm masked flag
321
339
bit_offset: 0
322
340
bit_size: 1
341
+
array:
342
+
len: 1
343
+
stride: 1
344
+
enum: ALRMF
323
345
- name: TSMF
324
-
description: Timestamp masked flag This flag is set by hardware when a timestamp interrupt occurs.
346
+
description: Timestamp masked flag
325
347
bit_offset: 3
326
348
bit_size: 1
327
349
enum: TSMF
328
350
- name: TSOVMF
329
-
description: Timestamp overflow masked flag This flag is set by hardware when a timestamp interrupt occurs while TSMF is already set. It is recommended to check and then clear TSOVF only after clearing the TSF bit. Otherwise, an overflow might not be noticed if a timestamp event occurs immediately before the TSF bit is cleared.
351
+
description: Timestamp overflow masked flag
330
352
bit_offset: 4
331
353
bit_size: 1
332
354
enum: TSOVMF
@@ -342,18 +364,23 @@ fieldset/PRER:
342
364
bit_offset: 16
343
365
bit_size: 7
344
366
fieldset/SCR:
345
-
description: RTC status clear register.
367
+
description: Status clear register
346
368
fields:
347
-
- name: CALRAF
348
-
description: Clear alarm A flag Writing 1 in this bit clears the ALRAF bit in the RTC_SR register.
369
+
- name: CALRF
370
+
description: Clear alarm A flag
349
371
bit_offset: 0
350
372
bit_size: 1
373
+
array:
374
+
len: 1
375
+
stride: 1
376
+
enum: CALRF
351
377
- name: CTSF
352
-
description: Clear timestamp flag Writing 1 in this bit clears the TSOVF bit in the RTC_SR register.
378
+
description: Clear timestamp flag
353
379
bit_offset: 3
354
380
bit_size: 1
381
+
enum: CALRF
355
382
- name: CTSOVF
356
-
description: Clear timestamp overflow flag Writing 1 in this bit clears the TSOVF bit in the RTC_SR register. It is recommended to check and then clear TSOVF only after clearing the TSF bit. Otherwise, an overflow might not be noticed if a timestamp event occurs immediately before the TSF bit is cleared.
383
+
description: Clear timestamp overflow flag
357
384
bit_offset: 4
358
385
bit_size: 1
359
386
fieldset/SHIFTR:
@@ -370,10 +397,14 @@ fieldset/SHIFTR:
370
397
fieldset/SR:
371
398
description: Status register
372
399
fields:
373
-
- name: ALRAF
374
-
description: Alarm A flag This flag is set by hardware when the time/date registers (RTC_TR and RTC_DR) match the alarm A register (RTC_ALRMAR).
400
+
- name: ALRF
401
+
description: Alarm flag
375
402
bit_offset: 0
376
403
bit_size: 1
404
+
array:
405
+
len: 1
406
+
stride: 1
407
+
enum: ALRF
377
408
- name: TSF
378
409
description: Timestamp flag
379
410
bit_offset: 3
@@ -492,6 +523,45 @@ fieldset/WPR:
492
523
bit_offset: 0
493
524
bit_size: 8
494
525
enum: KEY
526
+
enum/ALRF:
527
+
bit_size: 1
528
+
variants:
529
+
- name: Match
530
+
description: This flag is set by hardware when the time/date registers (RTC_TR and RTC_DR) match the Alarm A register (RTC_ALRMAR)
531
+
value: 1
532
+
enum/ALRMF:
533
+
bit_size: 1
534
+
variants:
535
+
- name: Match
536
+
description: This flag is set by hardware when the time/date registers (RTC_TR and RTC_DR) match the Alarm A register (RTC_ALRMAR)
537
+
value: 1
538
+
enum/ALRMR_MSK:
539
+
bit_size: 1
540
+
variants:
541
+
- name: ToMatch
542
+
description: Alarm set if the date/day match
543
+
value: 0
544
+
- name: NotMatch
545
+
description: Date/day don’t care in Alarm comparison
546
+
value: 1
547
+
enum/ALRMR_PM:
548
+
bit_size: 1
549
+
variants:
550
+
- name: AM
551
+
description: AM or 24-hour format
552
+
value: 0
553
+
- name: PM
554
+
description: PM
555
+
value: 1
556
+
enum/ALRMR_WDSEL:
557
+
bit_size: 1
558
+
variants:
559
+
- name: DateUnits
560
+
description: DU[3:0] represents the date units
561
+
value: 0
562
+
- name: WeekDay
563
+
description: DU[3:0] represents the week day. DT[1:0] is don’t care.
564
+
value: 1
495
565
enum/AMPM:
496
566
bit_size: 1
497
567
variants:
@@ -510,6 +580,12 @@ enum/CALP:
510
580
- name: IncreaseFreq
511
581
description: One RTCCLK pulse is effectively inserted every 2^11 pulses (frequency increased by 488.5 ppm)
0 commit comments