commit
4f4683a8af
@ -2068,37 +2068,30 @@ fieldset/SECCFGR:
|
|||||||
description: "HSI clock configuration and status bits security\r Set and reset by software."
|
description: "HSI clock configuration and status bits security\r Set and reset by software."
|
||||||
bit_offset: 0
|
bit_offset: 0
|
||||||
bit_size: 1
|
bit_size: 1
|
||||||
enum: SEC
|
|
||||||
- name: HSESEC
|
- name: HSESEC
|
||||||
description: "HSE clock configuration bits, status bits and HSE_CSS security\r Set and reset by software."
|
description: "HSE clock configuration bits, status bits and HSE_CSS security\r Set and reset by software."
|
||||||
bit_offset: 1
|
bit_offset: 1
|
||||||
bit_size: 1
|
bit_size: 1
|
||||||
enum: SEC
|
|
||||||
- name: CSISEC
|
- name: CSISEC
|
||||||
description: "CSI clock configuration and status bits security\r Set and reset by software."
|
description: "CSI clock configuration and status bits security\r Set and reset by software."
|
||||||
bit_offset: 2
|
bit_offset: 2
|
||||||
bit_size: 1
|
bit_size: 1
|
||||||
enum: SEC
|
|
||||||
- name: LSISEC
|
- name: LSISEC
|
||||||
description: "LSI clock configuration and status bits security\r Set and reset by software."
|
description: "LSI clock configuration and status bits security\r Set and reset by software."
|
||||||
bit_offset: 3
|
bit_offset: 3
|
||||||
bit_size: 1
|
bit_size: 1
|
||||||
enum: SEC
|
|
||||||
- name: LSESEC
|
- name: LSESEC
|
||||||
description: "LSE clock configuration and status bits security\r Set and reset by software."
|
description: "LSE clock configuration and status bits security\r Set and reset by software."
|
||||||
bit_offset: 4
|
bit_offset: 4
|
||||||
bit_size: 1
|
bit_size: 1
|
||||||
enum: SEC
|
|
||||||
- name: SYSCLKSEC
|
- name: SYSCLKSEC
|
||||||
description: "SYSCLK clock selection, STOPWUCK bit, clock output on MCO configuration security\r Set and reset by software."
|
description: "SYSCLK clock selection, STOPWUCK bit, clock output on MCO configuration security\r Set and reset by software."
|
||||||
bit_offset: 5
|
bit_offset: 5
|
||||||
bit_size: 1
|
bit_size: 1
|
||||||
enum: SEC
|
|
||||||
- name: PRESCSEC
|
- name: PRESCSEC
|
||||||
description: "AHBx/APBx prescaler configuration bits security\r Set and reset by software."
|
description: "AHBx/APBx prescaler configuration bits security\r Set and reset by software."
|
||||||
bit_offset: 6
|
bit_offset: 6
|
||||||
bit_size: 1
|
bit_size: 1
|
||||||
enum: SEC
|
|
||||||
- name: PLLSEC
|
- name: PLLSEC
|
||||||
description: "PLL1 clock configuration and status bits security\r Set and reset by software."
|
description: "PLL1 clock configuration and status bits security\r Set and reset by software."
|
||||||
bit_offset: 7
|
bit_offset: 7
|
||||||
@ -2106,22 +2099,18 @@ fieldset/SECCFGR:
|
|||||||
array:
|
array:
|
||||||
len: 3
|
len: 3
|
||||||
stride: 1
|
stride: 1
|
||||||
enum: SEC
|
|
||||||
- name: HSI48SEC
|
- name: HSI48SEC
|
||||||
description: "HSI48 clock configuration and status bits security\r Set and reset by software."
|
description: "HSI48 clock configuration and status bits security\r Set and reset by software."
|
||||||
bit_offset: 11
|
bit_offset: 11
|
||||||
bit_size: 1
|
bit_size: 1
|
||||||
enum: SEC
|
|
||||||
- name: RMVFSEC
|
- name: RMVFSEC
|
||||||
description: "Remove reset flag security\r Set and reset by software."
|
description: "Remove reset flag security\r Set and reset by software."
|
||||||
bit_offset: 12
|
bit_offset: 12
|
||||||
bit_size: 1
|
bit_size: 1
|
||||||
enum: SEC
|
|
||||||
- name: CKPERSELSEC
|
- name: CKPERSELSEC
|
||||||
description: "per_ck selection security\r Set and reset by software."
|
description: "per_ck selection security\r Set and reset by software."
|
||||||
bit_offset: 13
|
bit_offset: 13
|
||||||
bit_size: 1
|
bit_size: 1
|
||||||
enum: SEC
|
|
||||||
enum/ADCDACSEL:
|
enum/ADCDACSEL:
|
||||||
bit_size: 3
|
bit_size: 3
|
||||||
variants:
|
variants:
|
||||||
@ -3964,15 +3953,6 @@ enum/SDMMCSEL:
|
|||||||
- name: PLL2_R
|
- name: PLL2_R
|
||||||
description: pll2_r_ck selected as kernel clock
|
description: pll2_r_ck selected as kernel clock
|
||||||
value: 1
|
value: 1
|
||||||
enum/SEC:
|
|
||||||
bit_size: 1
|
|
||||||
variants:
|
|
||||||
- name: NonSecure
|
|
||||||
description: non secure
|
|
||||||
value: 0
|
|
||||||
- name: Secure
|
|
||||||
description: secure
|
|
||||||
value: 1
|
|
||||||
enum/SPI1SEL:
|
enum/SPI1SEL:
|
||||||
bit_size: 3
|
bit_size: 3
|
||||||
variants:
|
variants:
|
||||||
|
@ -2295,12 +2295,10 @@ fieldset/PRIVCFGR:
|
|||||||
description: "RCC secure functions privilege configuration\r Set and reset by software. This bit can be written only by a secure privileged access."
|
description: "RCC secure functions privilege configuration\r Set and reset by software. This bit can be written only by a secure privileged access."
|
||||||
bit_offset: 0
|
bit_offset: 0
|
||||||
bit_size: 1
|
bit_size: 1
|
||||||
enum: PRIV
|
|
||||||
- name: NSPRIV
|
- name: NSPRIV
|
||||||
description: "RCC non-secure functions privilege configuration\r Set and reset by software. This bit can be written only by privileged access, secure or non-secure."
|
description: "RCC non-secure functions privilege configuration\r Set and reset by software. This bit can be written only by privileged access, secure or non-secure."
|
||||||
bit_offset: 1
|
bit_offset: 1
|
||||||
bit_size: 1
|
bit_size: 1
|
||||||
enum: PRIV
|
|
||||||
fieldset/SECCFGR:
|
fieldset/SECCFGR:
|
||||||
description: RCC secure configuration register
|
description: RCC secure configuration register
|
||||||
fields:
|
fields:
|
||||||
@ -4266,15 +4264,6 @@ enum/PPRE:
|
|||||||
- name: Div16
|
- name: Div16
|
||||||
description: HCLK divided by 16
|
description: HCLK divided by 16
|
||||||
value: 7
|
value: 7
|
||||||
enum/PRIV:
|
|
||||||
bit_size: 1
|
|
||||||
variants:
|
|
||||||
- name: UNPRIVILEGED
|
|
||||||
description: Read and write to secure functions can be done by privileged or unprivileged access.
|
|
||||||
value: 0
|
|
||||||
- name: PRIVILEGED
|
|
||||||
description: Read and write to secure functions can be done by privileged access only.
|
|
||||||
value: 1
|
|
||||||
enum/RNGSEL:
|
enum/RNGSEL:
|
||||||
bit_size: 2
|
bit_size: 2
|
||||||
variants:
|
variants:
|
||||||
|
@ -10,6 +10,9 @@ transforms:
|
|||||||
to: $1$2$3
|
to: $1$2$3
|
||||||
skip_unmergeable: true
|
skip_unmergeable: true
|
||||||
|
|
||||||
|
- !DeleteEnums
|
||||||
|
from: ^(SEC|PRIV|SECURITY)$
|
||||||
|
|
||||||
#- !MakeFieldArray
|
#- !MakeFieldArray
|
||||||
# fieldsets: .*
|
# fieldsets: .*
|
||||||
# from: ([A-Z]+)\d([A-Z]*)
|
# from: ([A-Z]+)\d([A-Z]*)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user