Regen and remove *ON enums

This commit is contained in:
Ulf Lilleengen 2021-06-03 15:13:46 +02:00
parent ec2f881773
commit fea5e31f8b
5 changed files with 1808 additions and 143 deletions

View File

@ -160,16 +160,6 @@ enum/CSSFR:
- description: Clock security interrupt caused by HSE clock failure
name: Interrupted
value: 1
enum/CSSON:
bit_size: 1
variants:
- description: Clock security system disabled (clock detector OFF)
name: 'Off'
value: 0
- description: Clock security system enable (clock detector ON if the HSE is ready,
OFF if not)
name: 'On'
value: 1
enum/DSISEL:
bit_size: 1
variants:
@ -231,15 +221,6 @@ enum/HSEBYP:
- description: HSE crystal oscillator bypassed with external clock
name: Bypassed
value: 1
enum/HSION:
bit_size: 1
variants:
- description: Clock Off
name: 'Off'
value: 0
- description: Clock On
name: 'On'
value: 1
enum/HSIRDYR:
bit_size: 1
variants:
@ -324,15 +305,6 @@ enum/LSEMOD:
- description: LSE oscillator high drive mode selection
name: High
value: 1
enum/LSEON:
bit_size: 1
variants:
- description: LSE oscillator Off
name: 'Off'
value: 0
- description: LSE oscillator On
name: 'On'
value: 1
enum/LSERDYR:
bit_size: 1
variants:
@ -342,15 +314,6 @@ enum/LSERDYR:
- description: LSE oscillator ready
name: Ready
value: 1
enum/LSION:
bit_size: 1
variants:
- description: LSI oscillator Off
name: 'Off'
value: 0
- description: LSI oscillator On
name: 'On'
value: 1
enum/LSIRDYR:
bit_size: 1
variants:
@ -705,15 +668,6 @@ enum/PLLISDIVR:
- description: PLLI2SDIVQ = /32
name: Div32
value: 31
enum/PLLISON:
bit_size: 1
variants:
- description: Clock Off
name: 'Off'
value: 0
- description: Clock On
name: 'On'
value: 1
enum/PLLISP:
bit_size: 2
variants:
@ -771,15 +725,6 @@ enum/PLLISSRC:
- description: External AFI clock (CK_PLLI2S_EXT) selected as PLL clock entry
name: External
value: 1
enum/PLLON:
bit_size: 1
variants:
- description: Clock Off
name: 'Off'
value: 0
- description: Clock On
name: 'On'
value: 1
enum/PLLP:
bit_size: 2
variants:
@ -2272,7 +2217,6 @@ fieldset/BDCR:
- bit_offset: 0
bit_size: 1
description: External low-speed oscillator enable
enum: LSEON
name: LSEON
- bit_offset: 1
bit_size: 1
@ -2522,7 +2466,6 @@ fieldset/CR:
- bit_offset: 0
bit_size: 1
description: Internal high-speed clock enable
enum: PLLISON
name: HSION
- bit_offset: 1
bit_size: 1
@ -2540,7 +2483,6 @@ fieldset/CR:
- bit_offset: 16
bit_size: 1
description: HSE clock enable
enum: PLLISON
name: HSEON
- bit_offset: 17
bit_size: 1
@ -2555,12 +2497,10 @@ fieldset/CR:
- bit_offset: 19
bit_size: 1
description: Clock security system enable
enum: CSSON
name: CSSON
- bit_offset: 24
bit_size: 1
description: Main PLL (PLL) enable
enum: PLLISON
name: PLLON
- bit_offset: 25
bit_size: 1
@ -2570,7 +2510,6 @@ fieldset/CR:
- bit_offset: 26
bit_size: 1
description: PLLI2S enable
enum: PLLISON
name: PLLI2SON
- bit_offset: 27
bit_size: 1
@ -2580,7 +2519,6 @@ fieldset/CR:
- bit_offset: 28
bit_size: 1
description: PLLSAI enable
enum: PLLISON
name: PLLSAION
- bit_offset: 29
bit_size: 1
@ -2593,7 +2531,6 @@ fieldset/CSR:
- bit_offset: 0
bit_size: 1
description: Internal low-speed oscillator enable
enum: LSION
name: LSION
- bit_offset: 1
bit_size: 1

View File

@ -778,15 +778,6 @@ enum/HSIDIVFR:
- description: HSIDIV ratio has propagated to hsi_ck
name: Propagated
value: 1
enum/HSION:
bit_size: 1
variants:
- description: Clock Off
name: 'Off'
value: 0
- description: Clock On
name: 'On'
value: 1
enum/HSIRDYR:
bit_size: 1
variants:
@ -907,15 +898,6 @@ enum/LSECSSDR:
- description: Failure detected on 32 kHz oscillator
name: Failure
value: 1
enum/LSECSSON:
bit_size: 1
variants:
- description: Clock security system on 32 kHz oscillator off
name: SecurityOff
value: 0
- description: Clock security system on 32 kHz oscillator on
name: SecurityOn
value: 1
enum/LSEDRV:
bit_size: 2
variants:
@ -931,15 +913,6 @@ enum/LSEDRV:
- description: Highest LSE oscillator driving capability
name: Highest
value: 3
enum/LSEON:
bit_size: 1
variants:
- description: LSE oscillator Off
name: 'Off'
value: 0
- description: LSE oscillator On
name: 'On'
value: 1
enum/LSERDYR:
bit_size: 1
variants:
@ -949,15 +922,6 @@ enum/LSERDYR:
- description: LSE oscillator ready
name: Ready
value: 1
enum/LSION:
bit_size: 1
variants:
- description: LSI oscillator Off
name: 'Off'
value: 0
- description: LSI oscillator On
name: 'On'
value: 1
enum/LSIRDYC:
bit_size: 1
variants:
@ -2719,7 +2683,6 @@ fieldset/BDCR:
- bit_offset: 0
bit_size: 1
description: LSE oscillator enabled
enum: LSEON
name: LSEON
- bit_offset: 1
bit_size: 1
@ -2739,7 +2702,6 @@ fieldset/BDCR:
- bit_offset: 5
bit_size: 1
description: LSE clock security system enable
enum: LSECSSON
name: LSECSSON
- bit_offset: 6
bit_size: 1
@ -4024,12 +3986,10 @@ fieldset/CR:
- bit_offset: 0
bit_size: 1
description: Internal high-speed clock enable
enum: HSION
name: HSION
- bit_offset: 1
bit_size: 1
description: High Speed Internal clock enable in Stop mode
enum: HSION
name: HSIKERON
- bit_offset: 2
bit_size: 1
@ -4049,7 +4009,6 @@ fieldset/CR:
- bit_offset: 7
bit_size: 1
description: CSI clock enable
enum: HSION
name: CSION
- bit_offset: 8
bit_size: 1
@ -4059,12 +4018,10 @@ fieldset/CR:
- bit_offset: 9
bit_size: 1
description: CSI clock enable in Stop mode
enum: HSION
name: CSIKERON
- bit_offset: 12
bit_size: 1
description: RC48 clock enable
enum: HSION
name: HSI48ON
- bit_offset: 13
bit_size: 1
@ -4084,7 +4041,6 @@ fieldset/CR:
- bit_offset: 16
bit_size: 1
description: HSE clock enable
enum: HSION
name: HSEON
- bit_offset: 17
bit_size: 1
@ -4099,12 +4055,10 @@ fieldset/CR:
- bit_offset: 19
bit_size: 1
description: HSE Clock Security System enable
enum: HSION
name: HSECSSON
- bit_offset: 24
bit_size: 1
description: PLL1 enable
enum: HSION
name: PLL1ON
- bit_offset: 25
bit_size: 1
@ -4114,7 +4068,6 @@ fieldset/CR:
- bit_offset: 26
bit_size: 1
description: PLL2 enable
enum: HSION
name: PLL2ON
- bit_offset: 27
bit_size: 1
@ -4124,7 +4077,6 @@ fieldset/CR:
- bit_offset: 28
bit_size: 1
description: PLL3 enable
enum: HSION
name: PLL3ON
- bit_offset: 29
bit_size: 1
@ -4155,7 +4107,6 @@ fieldset/CSR:
- bit_offset: 0
bit_size: 1
description: LSI oscillator enable
enum: LSION
name: LSION
- bit_offset: 1
bit_size: 1

View File

@ -136,15 +136,6 @@ enum/CSSLSEF:
- description: Failure detected on LSE clock failure
name: Failure
value: 1
enum/CSSLSEON:
bit_size: 1
variants:
- description: Oscillator OFF
name: 'Off'
value: 0
- description: Oscillator ON
name: 'On'
value: 1
enum/DBGRSTW:
bit_size: 1
variants:
@ -301,6 +292,15 @@ enum/LPWRRSTFR:
- description: A reset has occured
name: Reset
value: 1
enum/LPWRSTFR:
bit_size: 1
variants:
- description: No reset has occured
name: NoReset
value: 0
- description: A reset has occured
name: Reset
value: 1
enum/LSEBYP:
bit_size: 1
variants:
@ -466,15 +466,6 @@ enum/PLLMUL:
- description: PLL clock entry x 48
name: Mul48
value: 8
enum/PLLON:
bit_size: 1
variants:
- description: Clock disabled
name: Disabled
value: 0
- description: Clock enabled
name: Enabled
value: 1
enum/PLLRDYR:
bit_size: 1
variants:
@ -1295,12 +1286,10 @@ fieldset/CR:
- bit_offset: 0
bit_size: 1
description: 16 MHz high-speed internal clock enable
enum: PLLON
name: HSI16ON
- bit_offset: 1
bit_size: 1
description: High-speed internal clock enable bit for some IP kernels
enum: PLLON
name: HSI16KERON
- bit_offset: 2
bit_size: 1
@ -1323,7 +1312,6 @@ fieldset/CR:
- bit_offset: 8
bit_size: 1
description: MSI clock enable bit
enum: PLLON
name: MSION
- bit_offset: 9
bit_size: 1
@ -1333,7 +1321,6 @@ fieldset/CR:
- bit_offset: 16
bit_size: 1
description: HSE clock enable bit
enum: PLLON
name: HSEON
- bit_offset: 17
bit_size: 1
@ -1348,7 +1335,6 @@ fieldset/CR:
- bit_offset: 19
bit_size: 1
description: Clock security system on HSE enable bit
enum: PLLON
name: CSSHSEON
- bit_offset: 20
bit_size: 2
@ -1358,7 +1344,6 @@ fieldset/CR:
- bit_offset: 24
bit_size: 1
description: PLL enable bit
enum: PLLON
name: PLLON
- bit_offset: 25
bit_size: 1
@ -1390,7 +1375,6 @@ fieldset/CSR:
- bit_offset: 0
bit_size: 1
description: Internal low-speed oscillator enable
enum: CSSLSEON
name: LSION
- bit_offset: 1
bit_size: 1
@ -1400,7 +1384,6 @@ fieldset/CSR:
- bit_offset: 8
bit_size: 1
description: External low-speed oscillator enable bit
enum: CSSLSEON
name: LSEON
- bit_offset: 9
bit_size: 1
@ -1420,7 +1403,6 @@ fieldset/CSR:
- bit_offset: 13
bit_size: 1
description: CSSLSEON
enum: CSSLSEON
name: CSSLSEON
- bit_offset: 14
bit_size: 1
@ -1486,11 +1468,11 @@ fieldset/CSR:
description: Low-power reset flag
enum_read: LPWRRSTFR
name: LPWRRSTF
- bit_offset: 24
- bit_offset: 31
bit_size: 1
description: Remove reset flag
enum_write: RMVFW
name: RMVF
description: Low-power reset flag
enum_read: LPWRSTFR
name: LPWRSTF
fieldset/ICSCR:
description: Internal clock sources calibration register
fields:

1792
data/registers/rcc_l4.yaml Normal file

File diff suppressed because it is too large Load Diff

View File

@ -46,3 +46,6 @@ transforms:
- DeleteEnums:
from: '.*RST'
bit_size: 1
- DeleteEnums:
from: '.*ON'
bit_size: 1