Data Direction Property (16 bits).
Bits 0 to 7 correspond to PORT A and bits 8 to 15 correspond to PORT B.
For each bit, 0=input and 1=output.
Namespace: IO.Devices.MCP23S17Assembly: libsimpleio (in libsimpleio.dll) Version: 2.2024.167.1
Syntax public uint Direction { get; set; }
Property Value
UInt32Remarks
This property follows the industry standard convention for data
direction bit polarity (1=output) rather than the MCP23S17
IODIR register polarity (0=output).
See Also