Skip to content

Commit 47dbbdb

Browse files
committed
RTC refactor
1 parent ddea8ae commit 47dbbdb

File tree

136 files changed

+160
-168
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

136 files changed

+160
-168
lines changed

devices/fields/rtc/rtc_f1.yaml renamed to devices/fields/rtc/v1/f1.yaml

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -19,25 +19,21 @@ CRL:
1919
_read:
2020
NotSynchronized: [0, Registers not yet synchronized]
2121
Synchronized: [1, Registers synchronized]
22-
_W0C:
23-
Clear: [0, Clear flag]
2422
OWF:
2523
_read:
2624
NoOverflow: [0, Overflow not detected]
2725
Overflow: [1, 32-bit programmable counter overflow occurred]
28-
_W0C:
29-
Clear: [0, Clear flag]
3026
ALRF:
3127
_read:
3228
NoAlarm: [0, Alarm not detected]
3329
Alarm: [1, Alarm detected]
34-
_W0C:
35-
Clear: [0, Clear flag]
3630
SECF:
3731
_read:
3832
NoPrescalerOverflow: [0, Second flag condition not met]
3933
PrescalerOverflow: [1, Second flag condition met]
34+
"RSF,OWF,ALRF,SECF":
4035
_W0C:
36+
_name: Clear
4137
Clear: [0, Clear flag]
4238
PRLH:
4339
PRLH: [0, 0xF]
@@ -47,11 +43,7 @@ DIVH:
4743
DIVH: [0, 0xF]
4844
DIVL:
4945
DIVL: [0, 0xFFFF]
50-
CNTH:
51-
CNTH: [0, 0xFFFF]
52-
CNTL:
53-
CNTL: [0, 0xFFFF]
54-
ALRH:
55-
ALRH: [0, 0xFFFF]
56-
ALRL:
57-
ALRL: [0, 0xFFFF]
46+
CNT[HL]:
47+
CNT[HL]: [0, 0xFFFF]
48+
ALR[HL]:
49+
ALR[HL]: [0, 0xFFFF]
File renamed without changes.

devices/fields/rtc/v2_basic_wakeup.yaml renamed to devices/fields/rtc/v2/basic_wakeup.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Real Time Clock
22

3-
_include: v2_basic.yaml
3+
_include: basic.yaml
44

55
CR:
66
WUTIE:

devices/fields/rtc/rtc_common.yaml renamed to devices/fields/rtc/v2/common.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Real Time Clock
22

3-
_include: v2_basic_wakeup.yaml
3+
_include: basic_wakeup.yaml
44

55
CR:
66
COSEL:
File renamed without changes.
File renamed without changes.
File renamed without changes.

devices/fields/rtc/v3.yaml renamed to devices/fields/rtc/v3/common.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,4 +264,4 @@ MISR:
264264

265265
SCR:
266266
"*":
267-
Clear: [1, Clear interrupt flag by writing 1]
267+
Clear: [1, Clear interrupt flag]

devices/fields/rtc/rtc_wl.yaml renamed to devices/fields/rtc/v3/wl.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
_include: v3.yaml
1+
_include: common.yaml
22

33
CR:
44
SSRUIE:

devices/stm32c011.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ RTC:
7272
_strip: RTC_
7373
_include:
7474
- patches/rtc/alarm.yaml
75-
#- fields/rtc/v3.yaml
75+
#- fields/rtc/v3/common.yaml
7676
#- collect/rtc/alarm.yaml
7777

7878
SPI1:

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy