These NVS macros are reservations for NVS.h
#define NVS_CMD_RESERVED 32 |
Common NVS_control command code reservation offset. NVS driver implementations should offset command codes with NVS_CMD_RESERVED growing positively
Example implementation specific command codes:
1 #define NVSXYZ_CMD_COMMAND0 NVS_CMD_RESERVED + 0
2 #define NVSXYZ_CMD_COMMAND1 NVS_CMD_RESERVED + 1
#define NVS_STATUS_RESERVED -32 |
Common NVS_control status code reservation offset. NVS driver implementations should offset status codes with NVS_STATUS_RESERVED growing negatively.
Example implementation specific status codes:
1 #define NVSXYZ_STATUS_ERROR0 NVS_STATUS_RESERVED - 0
2 #define NVSXYZ_STATUS_ERROR1 NVS_STATUS_RESERVED - 1
3 #define NVSXYZ_STATUS_ERROR2 NVS_STATUS_RESERVED - 2