Fixed minimal available address of NVRAM

This commit is contained in:
Vladimir Kozhevnikov 2024-02-05 21:55:51 +03:00
parent 4e14a0b8c0
commit d2f656ed13
2 changed files with 2 additions and 2 deletions

View file

@ -48,7 +48,7 @@ enum DS3232NVRAMState {
static const uint8_t SVC_NVRAM_ADDRESS = 0x14; static const uint8_t SVC_NVRAM_ADDRESS = 0x14;
/// @brief Minimal number of NVRAM register available to user variables. /// @brief Minimal number of NVRAM register available to user variables.
static const uint8_t MIN_NVRAM_ADDRESS = 0x20; static const uint8_t MIN_NVRAM_ADDRESS = 0x18;
/// @brief Maximal number of NVRAM register available to user variables. /// @brief Maximal number of NVRAM register available to user variables.
static const uint8_t MAX_NVRAM_ADDRESS = 0xFF; static const uint8_t MAX_NVRAM_ADDRESS = 0xFF;

View file

@ -126,7 +126,7 @@ CONF_REGISTER = "register"
CONF_PERSISTENT_STORAGE = "persistent_storage" CONF_PERSISTENT_STORAGE = "persistent_storage"
CONF_CPP_TYPE = "cpp_type" CONF_CPP_TYPE = "cpp_type"
MIN_REGISTER_VALUE = 0x16 MIN_REGISTER_VALUE = 0x18
MAX_REGISTER_VALUE = 0xFF MAX_REGISTER_VALUE = 0xFF