Support STM32WL5x ADC peripheral

This commit is contained in:
Olle Sandberg
2023-09-05 12:20:52 +02:00
parent ab99fff0af
commit 9c71725bf2
2 changed files with 14 additions and 0 deletions

View File

@ -1059,6 +1059,7 @@ fieldset/CCIPR:
description: ADC clock source selection
bit_offset: 28
bit_size: 2
enum: ADCSEL
- name: RNGSEL
description: RNG clock source selection
bit_offset: 30
@ -1422,3 +1423,15 @@ fieldset/PLLCFGR:
description: Main PLL division factor for PLLRCLK
bit_offset: 29
bit_size: 3
enum/ADCSEL:
bit_size: 2
variants:
- name: HSI16
description: HSI16 used as ADC clock source
value: 1
- name: PLLPCLK
description: PLLPCLK used as ADC clock source
value: 2
- name: SYSCLK
description: SYSCLK used as ADC clock source
value: 3