Click or drag to resize

DeviceDirection Property

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.MCP23S17
Assembly: libremoteio (in libremoteio.dll) Version: 2.2024.165.1
Syntax
C#
public 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