Edit

Share via


Pca8575 Class

Definition

Remote 16-bit I/O expander for I2C-bus with interrupt.

public class Pca8575 : Iot.Device.Pcx857x.Pcx8575
type Pca8575 = class
    inherit Pcx8575
Public Class Pca8575
Inherits Pcx8575
Inheritance

Remarks

Fast mode I2C variant of the Pcf8575.

Constructors

Pca8575(I2cDevice, Int32, GpioController, Boolean)

Initializes a new instance of the Pca8575 device.

Pca8575(I2cDevice, Int32, GpioController)

Properties

Device

I2C device used for communication with the device

(Inherited from Pcx857x)
PinCount

The number of pins provided by the driver.

(Inherited from Pcx8575)

Methods

AddCallbackForPinValueChangedEvent(Int32, PinEventTypes, PinChangeEventHandler)

Adds a handler for a pin value changed event.

(Inherited from Pcx857x)
ClosePin(Int32)

Closes an open pin.

(Inherited from Pcx857x)
ConvertPinNumberToLogicalNumberingScheme(Int32)

Converts a board pin number to the driver's logical numbering scheme.

(Inherited from Pcx857x)
Dispose()

Disposes this instance, closing all open pins

(Inherited from GpioDriver)
Dispose(Boolean)

Disposes this instance

(Inherited from Pcx857x)
GetPinMode(Int32)

Gets the mode of a pin.

(Inherited from Pcx857x)
InternalReadUInt16()

Reads 16-bit unsigned integer from the device

(Inherited from Pcx857x)
InternalWriteUInt16(UInt16)

Writes 16-bit unsigned integer to the device

(Inherited from Pcx857x)
IsPinModeSupported(Int32, PinMode)

Checks if a pin supports a specific mode.

(Inherited from Pcx857x)
OpenPin(Int32)

Opens a pin in order for it to be ready to use. The driver attempts to open the pin without changing its mode or value.

(Inherited from Pcx857x)
QueryComponentInformation()

Query information about a component and its children.

(Inherited from GpioDriver)
Read(Int32)

Reads the current value of a pin.

(Inherited from Pcx857x)
Read(Span<PinValuePair>)

Reads multiple pins from the device

(Inherited from Pcx857x)
ReadByte()

Reads byte from the device

(Inherited from Pcx857x)
ReadUInt16()

Reads 16-bit unsigned integer from the device

(Inherited from Pcx8575)
RemoveCallbackForPinValueChangedEvent(Int32, PinChangeEventHandler)

Removes a handler for a pin value changed event.

(Inherited from Pcx857x)
SetPinMode(Int32, PinMode, PinValue)

Sets the mode to a pin and sets an initial value for an output pin.

(Inherited from GpioDriver)
SetPinMode(Int32, PinMode)

Sets the mode to a pin.

(Inherited from Pcx857x)
Toggle(Int32)

Toggle the current value of a pin.

(Inherited from Pcx857x)
WaitForEvent(Int32, PinEventTypes, CancellationToken)

Blocks execution until an event of type eventType is received or a cancellation is requested.

(Inherited from Pcx857x)
WaitForEventAsync(Int32, PinEventTypes, CancellationToken)

Async call until an event of type eventType is received or a cancellation is requested.

(Inherited from Pcx857x)
Write(Int32, PinValue)

Writes a value to a pin.

(Inherited from Pcx857x)
Write(ReadOnlySpan<PinValuePair>)

Writes a value to a set of pins.

(Inherited from Pcx857x)
WriteByte(Byte)

Writes byte to the device

(Inherited from Pcx857x)
WriteUInt16(UInt16)

Writes 16-bit unsigned integer to the device

(Inherited from Pcx8575)

Applies to