Add support for DAC in STM32F3x that only have a single DAC.

This commit is contained in:
Catherine 2023-06-16 22:47:18 +00:00
parent 5116bfd481
commit 20034cc19a
2 changed files with 3 additions and 2 deletions

View File

@ -279,7 +279,7 @@ fieldset/APB1ENR:
description: Power interface clock enable
bit_offset: 28
bit_size: 1
- name: DAC1EN
- name: DACEN
description: DAC interface clock enable
bit_offset: 29
bit_size: 1
@ -386,7 +386,7 @@ fieldset/APB1RSTR:
description: Power interface reset
bit_offset: 28
bit_size: 1
- name: DAC1RST
- name: DACRST
description: DAC interface reset
bit_offset: 29
bit_size: 1

View File

@ -161,6 +161,7 @@ impl PeriMatcher {
(".*:DAC:F0dacif_v1_1", ("dac", "v1", "DAC")),
(".*:DAC:dacif_v2_0", ("dac", "v2", "DAC")),
(".*:DAC:dacif_v3_0", ("dac", "v2", "DAC")),
(".*:DAC:F3_dacif_v1_1", ("dac", "v1", "DAC")),
(".*:ADC:aditf_v2_5F1", ("adc", "f1", "ADC")),
(".*:ADC:aditf4_v1_1", ("adc", "v1", "ADC")),
(".*:ADC:aditf2_v1_1", ("adc", "v2", "ADC")),