mirror of
https://github.com/esphome/esphome.git
synced 2025-03-31 16:08:15 +01:00
Update mcp4461.h
This commit is contained in:
parent
0bef8c20b7
commit
09d33c1bd1
@ -55,6 +55,7 @@ enum class Mcp4461TerminalIdx : uint8_t { MCP4461_TERMINAL_0 = 0, MCP4461_TERMIN
|
|||||||
|
|
||||||
enum ErrorCode {
|
enum ErrorCode {
|
||||||
MCP4461_STATUS_OK = 0, // CMD completed successfully
|
MCP4461_STATUS_OK = 0, // CMD completed successfully
|
||||||
|
MCP4461_STATUS_I2C_ERROR, // Unable to communicate with device
|
||||||
MCP4461_STATUS_REGISTER_INVALID, // Status register value was invalid
|
MCP4461_STATUS_REGISTER_INVALID, // Status register value was invalid
|
||||||
MCP4461_VALUE_INVALID, // Invalid value given for wiper / eeprom
|
MCP4461_VALUE_INVALID, // Invalid value given for wiper / eeprom
|
||||||
MCP4461_STATUS_WRITE_PROTECTED, // The value was read, but the CRC over the payload (valid and data) does not match
|
MCP4461_STATUS_WRITE_PROTECTED, // The value was read, but the CRC over the payload (valid and data) does not match
|
||||||
|
Loading…
x
Reference in New Issue
Block a user