flash_h50: plain bool for SWAP_BANK fields

This commit is contained in:
Torin Cooper-Bennun 2024-04-12 17:03:44 +01:00
parent a0c7c136fa
commit 4df4f6840c

View File

@ -421,7 +421,6 @@ fieldset/OPTCR:
description: "Bank swapping option configuration bit\r SWAP_BANK controls whether Bank1 and Bank2 are swapped or not. This bit is loaded with the SWAP_BANK bit of FLASH_OPTSR_CUR register only after reset or POR." description: "Bank swapping option configuration bit\r SWAP_BANK controls whether Bank1 and Bank2 are swapped or not. This bit is loaded with the SWAP_BANK bit of FLASH_OPTSR_CUR register only after reset or POR."
bit_offset: 31 bit_offset: 31
bit_size: 1 bit_size: 1
enum: OPTCR_SWAP_BANK
fieldset/OPTSR: fieldset/OPTSR:
description: FLASH option status register description: FLASH option status register
fields: fields:
@ -488,7 +487,6 @@ fieldset/OPTSR:
description: "Bank swapping option status bit\r SWAP_BANK reflects whether Bank1 and Bank2 are swapped or not.\r SWAP_BANK is loaded to SWAP_BANK of FLASH_OPTCR after a reset." description: "Bank swapping option status bit\r SWAP_BANK reflects whether Bank1 and Bank2 are swapped or not.\r SWAP_BANK is loaded to SWAP_BANK of FLASH_OPTCR after a reset."
bit_offset: 31 bit_offset: 31
bit_size: 1 bit_size: 1
enum: OPTSR_SWAP_BANK
fieldset/OPTSR2: fieldset/OPTSR2:
description: FLASH option status register 2 description: FLASH option status register 2
fields: fields:
@ -628,15 +626,6 @@ enum/NSPRIV:
- name: B_0x1 - name: B_0x1
description: access to non secure registers is denied in case of non privileged access. description: access to non secure registers is denied in case of non privileged access.
value: 1 value: 1
enum/OPTCR_SWAP_BANK:
bit_size: 1
variants:
- name: B_0x0
description: Bank1 and Bank2 not swapped
value: 0
- name: B_0x1
description: Bank1 and Bank2 swapped
value: 1
enum/OPTSR_BKPRAM_ECC: enum/OPTSR_BKPRAM_ECC:
bit_size: 1 bit_size: 1
variants: variants:
@ -763,15 +752,6 @@ enum/OPTSR_SRAM_ECC:
- name: B_0x1 - name: B_0x1
description: SRAM2 ECC check disabled description: SRAM2 ECC check disabled
value: 1 value: 1
enum/OPTSR_SWAP_BANK:
bit_size: 1
variants:
- name: B_0x0
description: Bank1 and Bank2 not swapped
value: 0
- name: B_0x1
description: Bank1 and Bank2 swapped
value: 1
enum/OPTSR_WWDG_SW: enum/OPTSR_WWDG_SW:
bit_size: 1 bit_size: 1
variants: variants: