flash_h50: add PRODUCT_STATE enum

the values are taken from the official HAL headers; I have only included
enum variants which are definitively mentioned in RM0492, excluding
other variants mentioned in the HAL headers
This commit is contained in:
Torin Cooper-Bennun 2024-04-11 10:25:07 +01:00
parent f60ad0d665
commit a0c7c136fa

View File

@ -460,9 +460,10 @@ fieldset/OPTSR:
bit_size: 1 bit_size: 1
enum: OPTSR_NRST_STDBY enum: OPTSR_NRST_STDBY
- name: PRODUCT_STATE - name: PRODUCT_STATE
description: Life state code (based on Hamming 8,4). More information in . description: Life state code (based on Hamming 8,4).
bit_offset: 8 bit_offset: 8
bit_size: 8 bit_size: 8
enum: PRODUCT_STATE
- name: IO_VDD_HSLV - name: IO_VDD_HSLV
description: High-speed IO at low VDD voltage status bit. This bit can be set only with VDD below 2.5 V. description: High-speed IO at low VDD voltage status bit. This bit can be set only with VDD below 2.5 V.
bit_offset: 16 bit_offset: 16
@ -723,6 +724,27 @@ enum/OPTSR_NRST_STDBY:
- name: B_0x1 - name: B_0x1
description: no reset generated when entering Standby mode on core domain. description: no reset generated when entering Standby mode on core domain.
value: 1 value: 1
enum/PRODUCT_STATE:
bit_size: 8
variants:
- name: OPEN
description: Open
value: 0xED
- name: PROVISIONING
description: Provisioning
value: 0x17
- name: IROT_PROVISIONED
description: iROT-Provisioned
value: 0x2E
- name: CLOSED
description: Closed
value: 0x72
- name: LOCKED
description: Locked
value: 0x5C
- name: REGRESSION
description: Regression
value: 0x9A
enum/OPTSR_NRST_STOP: enum/OPTSR_NRST_STOP:
bit_size: 1 bit_size: 1
variants: variants: