add comp_h7 to chips.rs
This commit is contained in:
parent
6c6503702f
commit
c5ffacbb1f
@ -1,4 +1,4 @@
|
||||
block/COMP1:
|
||||
block/COMP:
|
||||
description: COMP1.
|
||||
items:
|
||||
- name: SR
|
||||
|
@ -1,4 +1,4 @@
|
||||
block/COMP1:
|
||||
block/COMP:
|
||||
description: COMP1.
|
||||
items:
|
||||
- name: SR
|
||||
@ -59,7 +59,7 @@ fieldset/CFGR1:
|
||||
- name: INMSEL
|
||||
description: COMP channel 1 inverting input selection field.
|
||||
bit_offset: 16
|
||||
bit_size: 4
|
||||
bit_size: 3
|
||||
enum: INMSEL
|
||||
- name: INPSEL
|
||||
description: COMP channel 1 non-inverting input selection bit.
|
||||
|
@ -616,6 +616,8 @@ impl PeriMatcher {
|
||||
("STM32G0.1.*:.*:COMP:.*", ("comp", "v1", "COMP")),
|
||||
("STM32G4.*:.*:COMP:.*", ("comp", "v2", "COMP")),
|
||||
("STM32WL.*:.*:COMP:.*", ("comp", "v3", "COMP")),
|
||||
("STM32H7[45].*:COMP:.*", ("comp", "h7_b", "COMP")),
|
||||
("STM32H7[AB].*:COMP:.*", ("comp", "h7_a", "COMP")),
|
||||
(r".*:.*:DCACHE:.*", ("dcache", "v1", "DCACHE")),
|
||||
(".*:.*:PSSI:.*", ("pssi", "v1", "PSSI")),
|
||||
(".*:.*:DTS:.*", ("dts", "v1", "DTS")),
|
||||
|
@ -1,5 +1,9 @@
|
||||
transforms:
|
||||
|
||||
- !Rename
|
||||
from: ^(COMP)\d$
|
||||
to: $1
|
||||
|
||||
- !MakeFieldArray
|
||||
fieldsets: ^(SR|ICFR)$
|
||||
from: (C?C)\d(IF|VAL)
|
||||
|
Loading…
x
Reference in New Issue
Block a user