rcc: g4,l5: add missing enums for FDCANSEL; fix a few incorrect descs

This commit is contained in:
Torin Cooper-Bennun 2023-11-21 14:57:43 +00:00
parent 389f547c13
commit d5d131a702
2 changed files with 29 additions and 3 deletions

View File

@ -1006,17 +1006,18 @@ fieldset/CCIPR:
bit_offset: 18
bit_size: 2
- name: SAI1SEL
description: Low power timer 2 clock source selection
description: SAI1 clock source selection
bit_offset: 20
bit_size: 2
- name: I2S23SEL
description: SAI1 clock source selection
description: I2S23 clock source selection
bit_offset: 22
bit_size: 2
- name: FDCANSEL
description: SAI2 clock source selection
description: FDCAN clock source selection
bit_offset: 24
bit_size: 2
enum: FDCANSEL
- name: CLK48SEL
description: 48 MHz clock source selection
bit_offset: 26
@ -1352,6 +1353,18 @@ enum/ADCSEL:
- name: SYS
description: System clock selected as ADC clock
value: 2
enum/FDCANSEL:
bit_size: 2
variants:
- name: HSE
description: HSE used as FDCAN clock source
value: 0
- name: PLL1_Q
description: PLLQCLK used as FDCAN clock source
value: 1
- name: PCLK1
description: PCLK used as FDCAN clock source
value: 2
enum/CLK48SEL:
bit_size: 2
variants:

View File

@ -1374,6 +1374,7 @@ fieldset/CCIPR:
description: FDCAN clock source selection
bit_offset: 24
bit_size: 2
enum: FDCANSEL
- name: CLK48SEL
description: 48 MHz clock source selection
bit_offset: 26
@ -1937,6 +1938,18 @@ enum/ADCSEL:
- name: SYS
description: SYSCLK clock selected
value: 3
enum/FDCANSEL:
bit_size: 2
variants:
- name: HSE
description: HSE clock selected
value: 0
- name: PLL1_Q
description: PLL "Q" clock selected
value: 1
- name: PLLSAI1_P
description: PLLSAI "P" clock selected
value: 2
enum/CLK48SEL:
bit_size: 2
variants: