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: libremoteio (in libremoteio.dll) Version: 2.2025.275.1
Syntaxpublic uint Direction { get; set; }Property Value
UInt32
Remarks
            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