Skip to content

Commit 0996ce1

Browse files
bors[bot]lulf
andauthored
Merge #566
566: Fix bit offset for RMVF in STM32l0x2 and STM32l0x3 r=richardeoin a=lulf According to the reference manuals for STM32L0x{2, 3}, the RCC_CSR register RMVF has the offset 23 and not 24. Offset 24 is occupied by a Firewall reset which is also added in this change Page 219 in the STM32L0x2 release manual can be used to verify. Co-authored-by: Ulf Lilleengen <ulf.lilleengen@gmail.com>
2 parents ad9e28c + b0f557f commit 0996ce1

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

devices/stm32l0x2.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,14 @@ RCC:
7373
_modify:
7474
LPWRSTF:
7575
name: LPWRRSTF
76+
RMVF:
77+
bitOffset: 23
78+
_add:
79+
FWRSTF:
80+
description: Firewall reset flag
81+
bitOffset: 24
82+
bitWidth: 1
83+
7684
APB2RSTR:
7785
_modify:
7886
TM12RST:

devices/stm32l0x3.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,13 @@ RCC:
8484
_modify:
8585
LPWRSTF:
8686
name: LPWRRSTF
87+
RMVF:
88+
bitOffset: 23
89+
_add:
90+
FWRSTF:
91+
description: Firewall reset flag
92+
bitOffset: 24
93+
bitWidth: 1
8794
APB2RSTR:
8895
_modify:
8996
TM12RST:

0 commit comments

Comments
 (0)