File tree Expand file tree Collapse file tree 6 files changed +48
-0
lines changed Expand file tree Collapse file tree 6 files changed +48
-0
lines changed Original file line number Diff line number Diff line change
1
+ " GPIO* " :
2
+ _add :
3
+ ASCR :
4
+ description : GPIO port analog switch control register
5
+ addressOffset : 0x2C
6
+ fields :
7
+ ASC :
8
+ description : These bits are written by software to configure the analog connection of the IOs.
9
+ access : read-write
10
+ bitOffset : 0
11
+ bitWidth : 16
12
+ ASCR :
13
+ _split : [ASC]
14
+ ASC* :
15
+ _write :
16
+ NoAction : [0, "Disconnect analog switch to the ADC input"]
17
+ Reset : [1, " Connect analog switch to the ADC input"]
Original file line number Diff line number Diff line change
1
+ " GPIO* " :
2
+ _add :
3
+ BRR :
4
+ description : GPIO port bit reset register
5
+ addressOffset : 0x28
6
+ fields :
7
+ BR :
8
+ description : These bits are write-only. A read to these bits returns the value 0x0000
9
+ access : write-only
10
+ bitOffset : 0
11
+ bitWidth : 16
12
+ BRR :
13
+ _split : [BR]
14
+ BR* :
15
+ _write :
16
+ NoAction : [0, "No action on the corresponding ODx bit"]
17
+ Reset : [1, "Reset the corresponding ODx bit"]
Original file line number Diff line number Diff line change @@ -130,4 +130,5 @@ _include:
130
130
- ./common_patches/l4_adc_smpr.yaml
131
131
- ./common_patches/l4_adc_sqr1.yaml
132
132
- ./common_patches/l4_spi.yaml
133
+ - ./common_patches/l4_gpio_brr.yaml
133
134
- ../peripherals/spi/spi_l4.yaml
Original file line number Diff line number Diff line change 9
9
_include :
10
10
- ./common_patches/stm32l4x2_l412.yaml
11
11
- common_patches/rtc/rtc_bkpr.yaml
12
+ - ./common_patches/l4_gpio_brr.yaml
12
13
- ../peripherals/fw/fw_l0_l4.yaml
Original file line number Diff line number Diff line change @@ -161,5 +161,6 @@ _include:
161
161
- ./common_patches/l4_adc_smpr.yaml
162
162
- ./common_patches/l4_adc_sqr1.yaml
163
163
- ./common_patches/l4_spi.yaml
164
+ - ./common_patches/l4_gpio_brr.yaml
164
165
- ../peripherals/spi/spi_l4.yaml
165
166
- ./common_patches/l4_lcd_segment.yaml
Original file line number Diff line number Diff line change @@ -9,12 +9,21 @@ _modify:
9
9
ADC_Common :
10
10
CCR :
11
11
_modify :
12
+ MULT :
13
+ name : DUAL
14
+ description : Dual ADC mode selection
12
15
TSEN :
13
16
name : CH18SEL
14
17
description : CH18 selection (Vbat)
15
18
VBATEN :
16
19
name : CH17SEL
17
20
description : CH17 selection (temperature)
21
+ _add :
22
+ PRESC :
23
+ description : ADC prescaler
24
+ bitOffset : 18
25
+ bitWidth : 4
26
+ access : read-write
18
27
19
28
# Merge the thousands of individal bit fields into a single field for each
20
29
# CAN filter register. This is not only much easier to use but also saves
@@ -179,5 +188,7 @@ _include:
179
188
- ./common_patches/l4_adc_smpr.yaml
180
189
- ./common_patches/l4_adc_sqr1.yaml
181
190
- ./common_patches/l4_spi.yaml
191
+ - ./common_patches/l4_gpio_ascr.yaml
192
+ - ./common_patches/l4_gpio_brr.yaml
182
193
- ./common_patches/l4_dbg_apb_fzr_rename.yaml
183
194
- ../peripherals/spi/spi_l4.yaml
You can’t perform that action at this time.
0 commit comments