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

View File

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

View File

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