Device Class |
public class Device
The Device type exposes the following members.
| Name | Description | |
|---|---|---|
| Config | This read-only property returns the last value written to the configuration register. | |
| Latch | This read-only property returns the last value written to the output port register. |
| Name | Description | |
|---|---|---|
| Read | Return actual state of the GPIO pins. | |
| Read(Byte) | Read from the specified PCA9534 device register. | |
| Write(Byte) | Write all GPIO pins. | |
| Write(Byte, Byte) | Write to the specified PCA9534 device register. |
| Name | Description | |
|---|---|---|
| AllInputs | Configure all pins as inputs. | |
| AllNormal | Configure all inputs as normal polarity. | |
| AllOff | Turn all outputs off. | |
| AllOutputs | Configure all pins as outputs. | |
| ConfigurationReg | Configuration Register address. | |
| InputPolarityReg | Input Port Polarity Register address. | |
| InputPortReg | Input Port Register address. | |
| MAX_PINS | The number of available GPIO pins per chip. | |
| OutputPortReg | Output Port Register address. |