Edit

Share via


Pca95x4 Class

Definition

A general purpose parallel I/O expansion for I2C applications.

C#
public class Pca95x4 : IDisposable
Inheritance
Pca95x4
Implements

Constructors

Pca95x4(I2cDevice, Nullable<Int32>, GpioController, Boolean)

Initializes new instance of Pca95x4. A general purpose parallel I/O expansion for I2C applications.

Pca95x4(I2cDevice, Nullable<Int32>)

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

InvertInputRegisterBitPolarity(Int32, Boolean)

Inverts Input Register bit polarity.

InvertInputRegisterPolarity(Boolean)

Inverts Input Register polarity.

Read(Register)

Reads a byte from a register.

ReadBit(Register, Int32)

Reads a bit from a register.

ReadInterrupt()

Reads the pin value of the interrupt (INT).

Write(Register, Byte)

Writes a byte to a register.

WriteBit(Register, Int32, Boolean)

Writes to a register bit.

Applies to

Product Versions
.NET IoT Libraries 1.0.0, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 2.0.0, 2.1.0, 2.2.0