FabGL
ESP32 Display Controller and Graphics Library

◆ setPortInputPolarity()

void setPortInputPolarity ( int  port,
uint8_t  value,
uint8_t  hwAddr = 0 
)
inline

Sets input polarity.

Parameters
portPort to set polarity mask (MCP_PORTA or MCP_PORTB)
valuePolarity mask (1 = pin reflects the opposite logic state of the input pin)
hwAddrOptional hardware device address

Definition at line 333 of file MCP23S17.h.