FabGL
ESP32 Display Controller and Graphics Library

◆ getPortDir()

uint8_t getPortDir ( int  port,
uint8_t  hwAddr = 0 
)
inline

Gets port direction.

Parameters
portPort to get direction mask (MCP_PORTA or MCP_PORTB)
hwAddrOptional hardware device address
Returns
Port direction mask (1 = input, 0 = output)

Definition at line 324 of file MCP23S17.h.