FabGL
ESP32 Display Controller and Graphics Library

◆ readReg16()

uint16_t readReg16 ( uint8_t  addr,
uint8_t  hwAddr = 0 
)

Reads 16 bit value from two consecutive registers.

Parameters
addrFirst register address to read (bank 0)
hwAddrOptional hardware device address
Returns
16 bit value read

Definition at line 210 of file MCP23S17.cpp.