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

Data Structures

class  MCP23008
 
class  MCP23008GPIOPin
 

Enumerations

enum  MCP23008GPIOMode : uint8_t { MCP23008_INPUT = INPUT, MCP23008_INPUT_PULLUP = INPUT_PULLUP, MCP23008_OUTPUT = OUTPUT }
 Modes for MCP23008 pins. More...
 
enum  MCP23008GPIORegisters {
  MCP23008_IODIR = 0x00, MCP23008_IPOL = 0x01, MCP23008_GPINTEN = 0x02, MCP23008_DEFVAL = 0x03,
  MCP23008_INTCON = 0x04, MCP23008_IOCON = 0x05, MCP23008_GPPU = 0x06, MCP23008_INTF = 0x07,
  MCP23008_INTCAP = 0x08, MCP23008_GPIO = 0x09, MCP23008_OLAT = 0x0A
}
 

Enumeration Type Documentation

◆ MCP23008GPIOMode

Modes for MCP23008 pins.

Enumerator
MCP23008_INPUT 
MCP23008_INPUT_PULLUP 
MCP23008_OUTPUT 

Definition at line 11 of file mcp23008.h.

◆ MCP23008GPIORegisters

Enumerator
MCP23008_IODIR 
MCP23008_IPOL 
MCP23008_GPINTEN 
MCP23008_DEFVAL 
MCP23008_INTCON 
MCP23008_IOCON 
MCP23008_GPPU 
MCP23008_INTF 
MCP23008_INTCAP 
MCP23008_GPIO 
MCP23008_OLAT 

Definition at line 17 of file mcp23008.h.