ESPHome  1.15.2
Data Structures | Enumerations
esphome::mcp23017 Namespace Reference

Data Structures

class  MCP23017
 
class  MCP23017GPIOPin
 

Enumerations

enum  MCP23017GPIOMode : uint8_t { MCP23017_INPUT = INPUT, MCP23017_INPUT_PULLUP = INPUT_PULLUP, MCP23017_OUTPUT = OUTPUT }
 Modes for MCP23017 pins. More...
 
enum  MCP23017GPIORegisters {
  MCP23017_IODIRA = 0x00, MCP23017_IPOLA = 0x02, MCP23017_GPINTENA = 0x04, MCP23017_DEFVALA = 0x06,
  MCP23017_INTCONA = 0x08, MCP23017_IOCONA = 0x0A, MCP23017_GPPUA = 0x0C, MCP23017_INTFA = 0x0E,
  MCP23017_INTCAPA = 0x10, MCP23017_GPIOA = 0x12, MCP23017_OLATA = 0x14, MCP23017_IODIRB = 0x01,
  MCP23017_IPOLB = 0x03, MCP23017_GPINTENB = 0x05, MCP23017_DEFVALB = 0x07, MCP23017_INTCONB = 0x09,
  MCP23017_IOCONB = 0x0B, MCP23017_GPPUB = 0x0D, MCP23017_INTFB = 0x0F, MCP23017_INTCAPB = 0x11,
  MCP23017_GPIOB = 0x13, MCP23017_OLATB = 0x15
}
 

Enumeration Type Documentation

◆ MCP23017GPIOMode

Modes for MCP23017 pins.

Enumerator
MCP23017_INPUT 
MCP23017_INPUT_PULLUP 
MCP23017_OUTPUT 

Definition at line 11 of file mcp23017.h.

◆ MCP23017GPIORegisters

Enumerator
MCP23017_IODIRA 
MCP23017_IPOLA 
MCP23017_GPINTENA 
MCP23017_DEFVALA 
MCP23017_INTCONA 
MCP23017_IOCONA 
MCP23017_GPPUA 
MCP23017_INTFA 
MCP23017_INTCAPA 
MCP23017_GPIOA 
MCP23017_OLATA 
MCP23017_IODIRB 
MCP23017_IPOLB 
MCP23017_GPINTENB 
MCP23017_DEFVALB 
MCP23017_INTCONB 
MCP23017_IOCONB 
MCP23017_GPPUB 
MCP23017_INTFB 
MCP23017_INTCAPB 
MCP23017_GPIOB 
MCP23017_OLATB 

Definition at line 17 of file mcp23017.h.