pwr l4,l5: remove useless enums.
This commit is contained in:
parent
147d5a0787
commit
7f39ee93d4
@ -59,7 +59,6 @@ fieldset/CR1:
|
|||||||
description: Disable backup domain write protection
|
description: Disable backup domain write protection
|
||||||
bit_offset: 8
|
bit_offset: 8
|
||||||
bit_size: 1
|
bit_size: 1
|
||||||
enum: DBP
|
|
||||||
- name: VOS
|
- name: VOS
|
||||||
description: Voltage scaling range selection
|
description: Voltage scaling range selection
|
||||||
bit_offset: 9
|
bit_offset: 9
|
||||||
@ -77,7 +76,6 @@ fieldset/CR2:
|
|||||||
description: Power voltage detector enable
|
description: Power voltage detector enable
|
||||||
bit_offset: 0
|
bit_offset: 0
|
||||||
bit_size: 1
|
bit_size: 1
|
||||||
enum: PVDE
|
|
||||||
- name: PLS
|
- name: PLS
|
||||||
description: Power voltage detector level selection
|
description: Power voltage detector level selection
|
||||||
bit_offset: 1
|
bit_offset: 1
|
||||||
@ -87,32 +85,26 @@ fieldset/CR2:
|
|||||||
description: "Peripheral voltage monitoring 1 enable: VDDUSB vs. 1.2V"
|
description: "Peripheral voltage monitoring 1 enable: VDDUSB vs. 1.2V"
|
||||||
bit_offset: 4
|
bit_offset: 4
|
||||||
bit_size: 1
|
bit_size: 1
|
||||||
enum: PVME
|
|
||||||
- name: PVME2
|
- name: PVME2
|
||||||
description: "Peripheral voltage monitoring 2 enable: VDDIO2 vs. 0.9V"
|
description: "Peripheral voltage monitoring 2 enable: VDDIO2 vs. 0.9V"
|
||||||
bit_offset: 5
|
bit_offset: 5
|
||||||
bit_size: 1
|
bit_size: 1
|
||||||
enum: PVME
|
|
||||||
- name: PVME3
|
- name: PVME3
|
||||||
description: "Peripheral voltage monitoring 3 enable: VDDA vs. 1.62V"
|
description: "Peripheral voltage monitoring 3 enable: VDDA vs. 1.62V"
|
||||||
bit_offset: 6
|
bit_offset: 6
|
||||||
bit_size: 1
|
bit_size: 1
|
||||||
enum: PVME
|
|
||||||
- name: PVME4
|
- name: PVME4
|
||||||
description: "Peripheral voltage monitoring 4 enable: VDDA vs. 2.2V"
|
description: "Peripheral voltage monitoring 4 enable: VDDA vs. 2.2V"
|
||||||
bit_offset: 7
|
bit_offset: 7
|
||||||
bit_size: 1
|
bit_size: 1
|
||||||
enum: PVME
|
|
||||||
- name: IOSV
|
- name: IOSV
|
||||||
description: VDDIO2 Independent I/Os supply valid
|
description: VDDIO2 Independent I/Os supply valid
|
||||||
bit_offset: 9
|
bit_offset: 9
|
||||||
bit_size: 1
|
bit_size: 1
|
||||||
enum: IOSV
|
|
||||||
- name: USV
|
- name: USV
|
||||||
description: VDDUSB USB supply valid
|
description: VDDUSB USB supply valid
|
||||||
bit_offset: 10
|
bit_offset: 10
|
||||||
bit_size: 1
|
bit_size: 1
|
||||||
enum: USV
|
|
||||||
fieldset/CR3:
|
fieldset/CR3:
|
||||||
description: Power control register 3
|
description: Power control register 3
|
||||||
fields:
|
fields:
|
||||||
@ -123,7 +115,6 @@ fieldset/CR3:
|
|||||||
array:
|
array:
|
||||||
len: 5
|
len: 5
|
||||||
stride: 1
|
stride: 1
|
||||||
enum: EWUP
|
|
||||||
- name: RRS
|
- name: RRS
|
||||||
description: SRAM2 retention in Standby mode
|
description: SRAM2 retention in Standby mode
|
||||||
bit_offset: 8
|
bit_offset: 8
|
||||||
@ -133,12 +124,10 @@ fieldset/CR3:
|
|||||||
description: Apply pull-up and pull-down configuration
|
description: Apply pull-up and pull-down configuration
|
||||||
bit_offset: 10
|
bit_offset: 10
|
||||||
bit_size: 1
|
bit_size: 1
|
||||||
enum: APC
|
|
||||||
- name: EWF
|
- name: EWF
|
||||||
description: Enable internal wakeup line
|
description: Enable internal wakeup line
|
||||||
bit_offset: 15
|
bit_offset: 15
|
||||||
bit_size: 1
|
bit_size: 1
|
||||||
enum: EWF
|
|
||||||
fieldset/CR4:
|
fieldset/CR4:
|
||||||
description: Power control register 4
|
description: Power control register 4
|
||||||
fields:
|
fields:
|
||||||
@ -190,7 +179,6 @@ fieldset/SCR:
|
|||||||
array:
|
array:
|
||||||
len: 5
|
len: 5
|
||||||
stride: 1
|
stride: 1
|
||||||
enum_write: CWUFW
|
|
||||||
- name: SBF
|
- name: SBF
|
||||||
description: Clear standby flag
|
description: Clear standby flag
|
||||||
bit_offset: 8
|
bit_offset: 8
|
||||||
@ -261,57 +249,6 @@ fieldset/SR2:
|
|||||||
description: "Peripheral voltage monitoring output: VDDA vs. 2.2 V"
|
description: "Peripheral voltage monitoring output: VDDA vs. 2.2 V"
|
||||||
bit_offset: 15
|
bit_offset: 15
|
||||||
bit_size: 1
|
bit_size: 1
|
||||||
enum/APC:
|
|
||||||
bit_size: 1
|
|
||||||
variants:
|
|
||||||
- name: Disabled
|
|
||||||
description: PWR_PUCRx and PWR_PDCRx registers are NOT applied to the I/Os
|
|
||||||
value: 0
|
|
||||||
- name: Enabled
|
|
||||||
description: I/O pull-up and pull-down configurations defined in the PWR_PUCRx and PWR_PDCRx registers are applied
|
|
||||||
value: 1
|
|
||||||
enum/CWUFW:
|
|
||||||
bit_size: 1
|
|
||||||
variants:
|
|
||||||
- name: Clear
|
|
||||||
description: Setting this bit clears the WUF flag in the PWR_SR1 register. This bit is always read as 0.
|
|
||||||
value: 1
|
|
||||||
enum/DBP:
|
|
||||||
bit_size: 1
|
|
||||||
variants:
|
|
||||||
- name: Disabled
|
|
||||||
description: Access to RTC and backup registers disabled
|
|
||||||
value: 0
|
|
||||||
- name: Enabled
|
|
||||||
description: Access to RTC and backup registers enabled
|
|
||||||
value: 1
|
|
||||||
enum/EWF:
|
|
||||||
bit_size: 1
|
|
||||||
variants:
|
|
||||||
- name: Disabled
|
|
||||||
description: Internal wakeup line disable
|
|
||||||
value: 0
|
|
||||||
- name: Enabled
|
|
||||||
description: Internal wakeup line enable
|
|
||||||
value: 1
|
|
||||||
enum/EWUP:
|
|
||||||
bit_size: 1
|
|
||||||
variants:
|
|
||||||
- name: Disabled
|
|
||||||
description: WKUP pin x is used for general purpose I/Os. An event on the WKUP pin x does not wakeup the device from Standby mode
|
|
||||||
value: 0
|
|
||||||
- name: Enabled
|
|
||||||
description: WKUP pin x is used for wakeup from Standby mode and forced in input pull down configuration (rising edge on WKUP pin x wakes-up the system from Standby mode)
|
|
||||||
value: 1
|
|
||||||
enum/IOSV:
|
|
||||||
bit_size: 1
|
|
||||||
variants:
|
|
||||||
- name: Invalid
|
|
||||||
description: VDDIO2 is not present. Logical and electrical isolation is applied to ignore this supply
|
|
||||||
value: 0
|
|
||||||
- name: Valid
|
|
||||||
description: VDDIO2 is valid
|
|
||||||
value: 1
|
|
||||||
enum/LPMS:
|
enum/LPMS:
|
||||||
bit_size: 3
|
bit_size: 3
|
||||||
variants:
|
variants:
|
||||||
@ -366,24 +303,6 @@ enum/PLS:
|
|||||||
- name: External
|
- name: External
|
||||||
description: External input analog voltage PVD_IN (compared internally to VREFINT)
|
description: External input analog voltage PVD_IN (compared internally to VREFINT)
|
||||||
value: 7
|
value: 7
|
||||||
enum/PVDE:
|
|
||||||
bit_size: 1
|
|
||||||
variants:
|
|
||||||
- name: Disabled
|
|
||||||
description: PVD Disabled
|
|
||||||
value: 0
|
|
||||||
- name: Enabled
|
|
||||||
description: PVD Enabled
|
|
||||||
value: 1
|
|
||||||
enum/PVME:
|
|
||||||
bit_size: 1
|
|
||||||
variants:
|
|
||||||
- name: Disabled
|
|
||||||
description: Peripheral voltage monitoring disable
|
|
||||||
value: 0
|
|
||||||
- name: Enabled
|
|
||||||
description: Peripheral voltage monitoring enable
|
|
||||||
value: 1
|
|
||||||
enum/RRS:
|
enum/RRS:
|
||||||
bit_size: 1
|
bit_size: 1
|
||||||
variants:
|
variants:
|
||||||
@ -393,15 +312,6 @@ enum/RRS:
|
|||||||
- name: OnLPR
|
- name: OnLPR
|
||||||
description: SRAM2 powered by the low-power regulator in Standby mode (SRAM2 content kept)
|
description: SRAM2 powered by the low-power regulator in Standby mode (SRAM2 content kept)
|
||||||
value: 1
|
value: 1
|
||||||
enum/USV:
|
|
||||||
bit_size: 1
|
|
||||||
variants:
|
|
||||||
- name: Invalid
|
|
||||||
description: VDDUSB is not present. Logical and electrical isolation is applied to ignore this supply
|
|
||||||
value: 0
|
|
||||||
- name: Valid
|
|
||||||
description: VDDUSB is valid
|
|
||||||
value: 1
|
|
||||||
enum/VOS:
|
enum/VOS:
|
||||||
bit_size: 2
|
bit_size: 2
|
||||||
variants:
|
variants:
|
||||||
|
@ -67,7 +67,6 @@ fieldset/CR1:
|
|||||||
description: Disable backup domain write protection
|
description: Disable backup domain write protection
|
||||||
bit_offset: 8
|
bit_offset: 8
|
||||||
bit_size: 1
|
bit_size: 1
|
||||||
enum: DBP
|
|
||||||
- name: VOS
|
- name: VOS
|
||||||
description: Voltage scaling range selection
|
description: Voltage scaling range selection
|
||||||
bit_offset: 9
|
bit_offset: 9
|
||||||
@ -85,7 +84,6 @@ fieldset/CR2:
|
|||||||
description: Power voltage detector enable
|
description: Power voltage detector enable
|
||||||
bit_offset: 0
|
bit_offset: 0
|
||||||
bit_size: 1
|
bit_size: 1
|
||||||
enum: PVDE
|
|
||||||
- name: PLS
|
- name: PLS
|
||||||
description: Power voltage detector level selection
|
description: Power voltage detector level selection
|
||||||
bit_offset: 1
|
bit_offset: 1
|
||||||
@ -95,32 +93,26 @@ fieldset/CR2:
|
|||||||
description: "Peripheral voltage monitoring 1 enable: VDDUSB vs. 1.2V"
|
description: "Peripheral voltage monitoring 1 enable: VDDUSB vs. 1.2V"
|
||||||
bit_offset: 4
|
bit_offset: 4
|
||||||
bit_size: 1
|
bit_size: 1
|
||||||
enum: PVME
|
|
||||||
- name: PVME2
|
- name: PVME2
|
||||||
description: "Peripheral voltage monitoring 2 enable: VDDIO2 vs. 0.9V"
|
description: "Peripheral voltage monitoring 2 enable: VDDIO2 vs. 0.9V"
|
||||||
bit_offset: 5
|
bit_offset: 5
|
||||||
bit_size: 1
|
bit_size: 1
|
||||||
enum: PVME
|
|
||||||
- name: PVME3
|
- name: PVME3
|
||||||
description: "Peripheral voltage monitoring 3 enable: VDDA vs. 1.62V"
|
description: "Peripheral voltage monitoring 3 enable: VDDA vs. 1.62V"
|
||||||
bit_offset: 6
|
bit_offset: 6
|
||||||
bit_size: 1
|
bit_size: 1
|
||||||
enum: PVME
|
|
||||||
- name: PVME4
|
- name: PVME4
|
||||||
description: "Peripheral voltage monitoring 4 enable: VDDA vs. 2.2V"
|
description: "Peripheral voltage monitoring 4 enable: VDDA vs. 2.2V"
|
||||||
bit_offset: 7
|
bit_offset: 7
|
||||||
bit_size: 1
|
bit_size: 1
|
||||||
enum: PVME
|
|
||||||
- name: IOSV
|
- name: IOSV
|
||||||
description: VDDIO2 Independent I/Os supply valid
|
description: VDDIO2 Independent I/Os supply valid
|
||||||
bit_offset: 9
|
bit_offset: 9
|
||||||
bit_size: 1
|
bit_size: 1
|
||||||
enum: IOSV
|
|
||||||
- name: USV
|
- name: USV
|
||||||
description: VDDUSB USB supply valid
|
description: VDDUSB USB supply valid
|
||||||
bit_offset: 10
|
bit_offset: 10
|
||||||
bit_size: 1
|
bit_size: 1
|
||||||
enum: USV
|
|
||||||
fieldset/CR3:
|
fieldset/CR3:
|
||||||
description: Power control register 3
|
description: Power control register 3
|
||||||
fields:
|
fields:
|
||||||
@ -131,7 +123,6 @@ fieldset/CR3:
|
|||||||
array:
|
array:
|
||||||
len: 5
|
len: 5
|
||||||
stride: 1
|
stride: 1
|
||||||
enum: EWUP
|
|
||||||
- name: RRS
|
- name: RRS
|
||||||
description: SRAM2 retention in Standby mode
|
description: SRAM2 retention in Standby mode
|
||||||
bit_offset: 8
|
bit_offset: 8
|
||||||
@ -141,7 +132,6 @@ fieldset/CR3:
|
|||||||
description: Apply pull-up and pull-down configuration
|
description: Apply pull-up and pull-down configuration
|
||||||
bit_offset: 10
|
bit_offset: 10
|
||||||
bit_size: 1
|
bit_size: 1
|
||||||
enum: APC
|
|
||||||
- name: ULPMEN
|
- name: ULPMEN
|
||||||
description: ULPMEN
|
description: ULPMEN
|
||||||
bit_offset: 11
|
bit_offset: 11
|
||||||
@ -228,7 +218,6 @@ fieldset/SCR:
|
|||||||
array:
|
array:
|
||||||
len: 5
|
len: 5
|
||||||
stride: 1
|
stride: 1
|
||||||
enum_write: CWUFW
|
|
||||||
- name: SBF
|
- name: SBF
|
||||||
description: Clear standby flag
|
description: Clear standby flag
|
||||||
bit_offset: 8
|
bit_offset: 8
|
||||||
@ -338,48 +327,6 @@ fieldset/SR2:
|
|||||||
description: "Peripheral voltage monitoring output: VDDA vs. 2.2 V"
|
description: "Peripheral voltage monitoring output: VDDA vs. 2.2 V"
|
||||||
bit_offset: 15
|
bit_offset: 15
|
||||||
bit_size: 1
|
bit_size: 1
|
||||||
enum/APC:
|
|
||||||
bit_size: 1
|
|
||||||
variants:
|
|
||||||
- name: Disabled
|
|
||||||
description: PWR_PUCRx and PWR_PDCRx registers are NOT applied to the I/Os
|
|
||||||
value: 0
|
|
||||||
- name: Enabled
|
|
||||||
description: I/O pull-up and pull-down configurations defined in the PWR_PUCRx and PWR_PDCRx registers are applied
|
|
||||||
value: 1
|
|
||||||
enum/CWUFW:
|
|
||||||
bit_size: 1
|
|
||||||
variants:
|
|
||||||
- name: Clear
|
|
||||||
description: Setting this bit clears the WUF flag in the PWR_SR1 register. This bit is always read as 0.
|
|
||||||
value: 1
|
|
||||||
enum/DBP:
|
|
||||||
bit_size: 1
|
|
||||||
variants:
|
|
||||||
- name: Disabled
|
|
||||||
description: Access to RTC and backup registers disabled
|
|
||||||
value: 0
|
|
||||||
- name: Enabled
|
|
||||||
description: Access to RTC and backup registers enabled
|
|
||||||
value: 1
|
|
||||||
enum/EWUP:
|
|
||||||
bit_size: 1
|
|
||||||
variants:
|
|
||||||
- name: Disabled
|
|
||||||
description: WKUP pin x is used for general purpose I/Os. An event on the WKUP pin x does not wakeup the device from Standby mode
|
|
||||||
value: 0
|
|
||||||
- name: Enabled
|
|
||||||
description: WKUP pin x is used for wakeup from Standby mode and forced in input pull down configuration (rising edge on WKUP pin x wakes-up the system from Standby mode)
|
|
||||||
value: 1
|
|
||||||
enum/IOSV:
|
|
||||||
bit_size: 1
|
|
||||||
variants:
|
|
||||||
- name: Invalid
|
|
||||||
description: VDDIO2 is not present. Logical and electrical isolation is applied to ignore this supply
|
|
||||||
value: 0
|
|
||||||
- name: Valid
|
|
||||||
description: VDDIO2 is valid
|
|
||||||
value: 1
|
|
||||||
enum/LPMS:
|
enum/LPMS:
|
||||||
bit_size: 3
|
bit_size: 3
|
||||||
variants:
|
variants:
|
||||||
@ -434,24 +381,6 @@ enum/PLS:
|
|||||||
- name: External
|
- name: External
|
||||||
description: External input analog voltage PVD_IN (compared internally to VREFINT)
|
description: External input analog voltage PVD_IN (compared internally to VREFINT)
|
||||||
value: 7
|
value: 7
|
||||||
enum/PVDE:
|
|
||||||
bit_size: 1
|
|
||||||
variants:
|
|
||||||
- name: Disabled
|
|
||||||
description: PVD Disabled
|
|
||||||
value: 0
|
|
||||||
- name: Enabled
|
|
||||||
description: PVD Enabled
|
|
||||||
value: 1
|
|
||||||
enum/PVME:
|
|
||||||
bit_size: 1
|
|
||||||
variants:
|
|
||||||
- name: Disabled
|
|
||||||
description: Peripheral voltage monitoring disable
|
|
||||||
value: 0
|
|
||||||
- name: Enabled
|
|
||||||
description: Peripheral voltage monitoring enable
|
|
||||||
value: 1
|
|
||||||
enum/RRS:
|
enum/RRS:
|
||||||
bit_size: 2
|
bit_size: 2
|
||||||
variants:
|
variants:
|
||||||
@ -464,15 +393,6 @@ enum/RRS:
|
|||||||
- name: OnLPRTop4kb
|
- name: OnLPRTop4kb
|
||||||
description: Only the upper 4 Kbytes of SRAM2 are powered by the low-power regulator in Standby mode (upper 4 Kbytes of SRAM2 content 0x2003 F000 - 0x2003 FFFF is kept).
|
description: Only the upper 4 Kbytes of SRAM2 are powered by the low-power regulator in Standby mode (upper 4 Kbytes of SRAM2 content 0x2003 F000 - 0x2003 FFFF is kept).
|
||||||
value: 2
|
value: 2
|
||||||
enum/USV:
|
|
||||||
bit_size: 1
|
|
||||||
variants:
|
|
||||||
- name: Invalid
|
|
||||||
description: VDDUSB is not present. Logical and electrical isolation is applied to ignore this supply
|
|
||||||
value: 0
|
|
||||||
- name: Valid
|
|
||||||
description: VDDUSB is valid
|
|
||||||
value: 1
|
|
||||||
enum/VOS:
|
enum/VOS:
|
||||||
bit_size: 2
|
bit_size: 2
|
||||||
variants:
|
variants:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user