ESPHome  2024.10.2
Namespaces | Enumerations
mcp2515_defs.h File Reference

Go to the source code of this file.

Namespaces

 esphome
 Implementation of SPI Controller mode.
 
 esphome::mcp2515
 

Enumerations

enum  esphome::mcp2515::CanctrlReqopMode : uint8_t {
  esphome::mcp2515::CANCTRL_REQOP_NORMAL = 0x00, esphome::mcp2515::CANCTRL_REQOP_SLEEP = 0x20, esphome::mcp2515::CANCTRL_REQOP_LOOPBACK = 0x40, esphome::mcp2515::CANCTRL_REQOP_LISTENONLY = 0x60,
  esphome::mcp2515::CANCTRL_REQOP_CONFIG = 0x80, esphome::mcp2515::CANCTRL_REQOP_POWERUP = 0xE0
}
 
enum  esphome::mcp2515::TxbNCtrl : uint8_t {
  esphome::mcp2515::TXB_ABTF = 0x40, esphome::mcp2515::TXB_MLOA = 0x20, esphome::mcp2515::TXB_TXERR = 0x10, esphome::mcp2515::TXB_TXREQ = 0x08,
  esphome::mcp2515::TXB_TXIE = 0x04, esphome::mcp2515::TXB_TXP = 0x03
}
 
enum  esphome::mcp2515::INSTRUCTION : uint8_t {
  esphome::mcp2515::INSTRUCTION_WRITE = 0x02, esphome::mcp2515::INSTRUCTION_READ = 0x03, esphome::mcp2515::INSTRUCTION_BITMOD = 0x05, esphome::mcp2515::INSTRUCTION_LOAD_TX0 = 0x40,
  esphome::mcp2515::INSTRUCTION_LOAD_TX1 = 0x42, esphome::mcp2515::INSTRUCTION_LOAD_TX2 = 0x44, esphome::mcp2515::INSTRUCTION_RTS_TX0 = 0x81, esphome::mcp2515::INSTRUCTION_RTS_TX1 = 0x82,
  esphome::mcp2515::INSTRUCTION_RTS_TX2 = 0x84, esphome::mcp2515::INSTRUCTION_RTS_ALL = 0x87, esphome::mcp2515::INSTRUCTION_READ_RX0 = 0x90, esphome::mcp2515::INSTRUCTION_READ_RX1 = 0x94,
  esphome::mcp2515::INSTRUCTION_READ_STATUS = 0xA0, esphome::mcp2515::INSTRUCTION_RX_STATUS = 0xB0, esphome::mcp2515::INSTRUCTION_RESET = 0xC0
}
 
enum  esphome::mcp2515::REGISTER : uint8_t {
  esphome::mcp2515::MCP_RXF0SIDH = 0x00, esphome::mcp2515::MCP_RXF0SIDL = 0x01, esphome::mcp2515::MCP_RXF0EID8 = 0x02, esphome::mcp2515::MCP_RXF0EID0 = 0x03,
  esphome::mcp2515::MCP_RXF1SIDH = 0x04, esphome::mcp2515::MCP_RXF1SIDL = 0x05, esphome::mcp2515::MCP_RXF1EID8 = 0x06, esphome::mcp2515::MCP_RXF1EID0 = 0x07,
  esphome::mcp2515::MCP_RXF2SIDH = 0x08, esphome::mcp2515::MCP_RXF2SIDL = 0x09, esphome::mcp2515::MCP_RXF2EID8 = 0x0A, esphome::mcp2515::MCP_RXF2EID0 = 0x0B,
  esphome::mcp2515::MCP_CANSTAT = 0x0E, esphome::mcp2515::MCP_CANCTRL = 0x0F, esphome::mcp2515::MCP_RXF3SIDH = 0x10, esphome::mcp2515::MCP_RXF3SIDL = 0x11,
  esphome::mcp2515::MCP_RXF3EID8 = 0x12, esphome::mcp2515::MCP_RXF3EID0 = 0x13, esphome::mcp2515::MCP_RXF4SIDH = 0x14, esphome::mcp2515::MCP_RXF4SIDL = 0x15,
  esphome::mcp2515::MCP_RXF4EID8 = 0x16, esphome::mcp2515::MCP_RXF4EID0 = 0x17, esphome::mcp2515::MCP_RXF5SIDH = 0x18, esphome::mcp2515::MCP_RXF5SIDL = 0x19,
  esphome::mcp2515::MCP_RXF5EID8 = 0x1A, esphome::mcp2515::MCP_RXF5EID0 = 0x1B, esphome::mcp2515::MCP_TEC = 0x1C, esphome::mcp2515::MCP_REC = 0x1D,
  esphome::mcp2515::MCP_RXM0SIDH = 0x20, esphome::mcp2515::MCP_RXM0SIDL = 0x21, esphome::mcp2515::MCP_RXM0EID8 = 0x22, esphome::mcp2515::MCP_RXM0EID0 = 0x23,
  esphome::mcp2515::MCP_RXM1SIDH = 0x24, esphome::mcp2515::MCP_RXM1SIDL = 0x25, esphome::mcp2515::MCP_RXM1EID8 = 0x26, esphome::mcp2515::MCP_RXM1EID0 = 0x27,
  esphome::mcp2515::MCP_CNF3 = 0x28, esphome::mcp2515::MCP_CNF2 = 0x29, esphome::mcp2515::MCP_CNF1 = 0x2A, esphome::mcp2515::MCP_CANINTE = 0x2B,
  esphome::mcp2515::MCP_CANINTF = 0x2C, esphome::mcp2515::MCP_EFLG = 0x2D, esphome::mcp2515::MCP_TXB0CTRL = 0x30, esphome::mcp2515::MCP_TXB0SIDH = 0x31,
  esphome::mcp2515::MCP_TXB0SIDL = 0x32, esphome::mcp2515::MCP_TXB0EID8 = 0x33, esphome::mcp2515::MCP_TXB0EID0 = 0x34, esphome::mcp2515::MCP_TXB0DLC = 0x35,
  esphome::mcp2515::MCP_TXB0DATA = 0x36, esphome::mcp2515::MCP_TXB1CTRL = 0x40, esphome::mcp2515::MCP_TXB1SIDH = 0x41, esphome::mcp2515::MCP_TXB1SIDL = 0x42,
  esphome::mcp2515::MCP_TXB1EID8 = 0x43, esphome::mcp2515::MCP_TXB1EID0 = 0x44, esphome::mcp2515::MCP_TXB1DLC = 0x45, esphome::mcp2515::MCP_TXB1DATA = 0x46,
  esphome::mcp2515::MCP_TXB2CTRL = 0x50, esphome::mcp2515::MCP_TXB2SIDH = 0x51, esphome::mcp2515::MCP_TXB2SIDL = 0x52, esphome::mcp2515::MCP_TXB2EID8 = 0x53,
  esphome::mcp2515::MCP_TXB2EID0 = 0x54, esphome::mcp2515::MCP_TXB2DLC = 0x55, esphome::mcp2515::MCP_TXB2DATA = 0x56, esphome::mcp2515::MCP_RXB0CTRL = 0x60,
  esphome::mcp2515::MCP_RXB0SIDH = 0x61, esphome::mcp2515::MCP_RXB0SIDL = 0x62, esphome::mcp2515::MCP_RXB0EID8 = 0x63, esphome::mcp2515::MCP_RXB0EID0 = 0x64,
  esphome::mcp2515::MCP_RXB0DLC = 0x65, esphome::mcp2515::MCP_RXB0DATA = 0x66, esphome::mcp2515::MCP_RXB1CTRL = 0x70, esphome::mcp2515::MCP_RXB1SIDH = 0x71,
  esphome::mcp2515::MCP_RXB1SIDL = 0x72, esphome::mcp2515::MCP_RXB1EID8 = 0x73, esphome::mcp2515::MCP_RXB1EID0 = 0x74, esphome::mcp2515::MCP_RXB1DLC = 0x75,
  esphome::mcp2515::MCP_RXB1DATA = 0x76
}