Type definitions#
Macros#
reserved for sidewalk in gsdk
Minimum relative key value for application-specific NVM3 keys.
Maximum relative key value for application-specific NVM3 keys.
defined in KV Storage
defined in KV Storage
defined in Manufacturing Page
defined in Manufacturing Page
Minimum key value for application-specific NVM3 keys. Range: 0xA0000 - 0xA1FFF
Maximum key value for application-specific NVM3 keys.
Minimum key value for key-value storage NVM3 keys. Range: 0xA2000 - 0xA8FFF
Maximum key value for key-value storage NVM3 keys.
Minimum key value for manufacturer-specific NVM3 keys. Range: 0xA9000 - 0xAFFFF
Maximum key value for manufacturer-specific NVM3 keys.
Base key value for application-specific NVM3 keys.
Base key value for key-value storage NVM3 keys.
Base key value for manufacturer-specific NVM3 keys.
SiLabs-specific MFG key for the NVM3 version MFG object.
Size of the NVM3 version in bytes.
Validate if a key is within the specified region's range.
Map a key to the specified region's base key.
Macro Definition Documentation#
SLI_SID_NVM3_KEY_MIN_APP_REL#
#define SLI_SID_NVM3_KEY_MIN_APP_RELValue:
0x0
Minimum relative key value for application-specific NVM3 keys.
SLI_SID_NVM3_KEY_MAX_APP_REL#
#define SLI_SID_NVM3_KEY_MAX_APP_RELValue:
0x1FFF
Maximum relative key value for application-specific NVM3 keys.
SLI_SID_NVM3_KEY_MIN_MFG_REL#
#define SLI_SID_NVM3_KEY_MIN_MFG_RELValue:
0x0
defined in Manufacturing Page
SLI_SID_NVM3_KEY_MAX_MFG_REL#
#define SLI_SID_NVM3_KEY_MAX_MFG_RELValue:
0x6FFF
defined in Manufacturing Page
SLI_SID_NVM3_KEY_MIN_APP#
#define SLI_SID_NVM3_KEY_MIN_APPValue:
(SLI_SID_NVM3_KEY_BASE + SLI_SID_NVM3_KEY_MIN_APP_REL)
Minimum key value for application-specific NVM3 keys. Range: 0xA0000 - 0xA1FFF
SLI_SID_NVM3_KEY_MAX_APP#
#define SLI_SID_NVM3_KEY_MAX_APPValue:
(SLI_SID_NVM3_KEY_BASE + SLI_SID_NVM3_KEY_MAX_APP_REL)
Maximum key value for application-specific NVM3 keys.
SLI_SID_NVM3_KEY_MIN_KV#
#define SLI_SID_NVM3_KEY_MIN_KVValue:
(SLI_SID_NVM3_KEY_MAX_APP + 1)
Minimum key value for key-value storage NVM3 keys. Range: 0xA2000 - 0xA8FFF
SLI_SID_NVM3_KEY_MAX_KV#
#define SLI_SID_NVM3_KEY_MAX_KVValue:
(SLI_SID_NVM3_KEY_MAX_APP + 1 + SLI_SID_NVM3_KEY_MAX_KV_REL)
Maximum key value for key-value storage NVM3 keys.
SLI_SID_NVM3_KEY_MIN_MFG#
#define SLI_SID_NVM3_KEY_MIN_MFGValue:
(SLI_SID_NVM3_KEY_MAX_KV + 1)
Minimum key value for manufacturer-specific NVM3 keys. Range: 0xA9000 - 0xAFFFF
SLI_SID_NVM3_KEY_MAX_MFG#
#define SLI_SID_NVM3_KEY_MAX_MFGValue:
(SLI_SID_NVM3_KEY_MAX_KV + 1 + SLI_SID_NVM3_KEY_MAX_MFG_REL)
Maximum key value for manufacturer-specific NVM3 keys.
SLI_SID_NVM3_KEY_BASE_APP#
#define SLI_SID_NVM3_KEY_BASE_APPValue:
SLI_SID_NVM3_KEY_MIN_APP
Base key value for application-specific NVM3 keys.
SLI_SID_NVM3_KEY_BASE_KV#
#define SLI_SID_NVM3_KEY_BASE_KVValue:
SLI_SID_NVM3_KEY_MIN_KV
Base key value for key-value storage NVM3 keys.
SLI_SID_NVM3_KEY_BASE_MFG#
#define SLI_SID_NVM3_KEY_BASE_MFGValue:
SLI_SID_NVM3_KEY_MIN_MFG
Base key value for manufacturer-specific NVM3 keys.
SID_PAL_MFG_STORE_SL_NVM3_VERSION#
#define SID_PAL_MFG_STORE_SL_NVM3_VERSIONValue:
(SID_PAL_MFG_STORE_CORE_VALUE_MAX + 1)
SiLabs-specific MFG key for the NVM3 version MFG object.
The range of application-specific keys starts after SID_PAL_MFG_STORE_CORE_VALUE_MAX (= 4000) according to Manufacturing Page, this is simply the first freely usable key (= 4001).
SID_PAL_MFG_STORE_SL_NVM3_VERSION_SIZE#
#define SID_PAL_MFG_STORE_SL_NVM3_VERSION_SIZEValue:
4
Size of the NVM3 version in bytes.
SLI_SID_NVM3_VALIDATE_KEY#
#define SLI_SID_NVM3_VALIDATE_KEYValue:
(region, key)
Validate if a key is within the specified region's range.
This macro checks if the given key is within the valid range for the specified region.
Returns
True if the key is within the valid range, false otherwise.
SLI_SID_NVM3_MAP_KEY#
#define SLI_SID_NVM3_MAP_KEYValue:
(region, key)
Map a key to the specified region's base key.
This macro maps the given key to the base key of the specified region.
Returns
The mapped key value.