OrangePiZero2Driver Class

Definition

A GPIO driver for the Orange Pi Zero 2.

public class OrangePiZero2Driver : Iot.Device.Gpio.Drivers.Sun50iw9p1Driver
type OrangePiZero2Driver = class
    inherit Sun50iw9p1Driver
Public Class OrangePiZero2Driver
Inherits Sun50iw9p1Driver
Inheritance

Remarks

SoC: Allwinner H616 (sun50iw9p1)

Constructors

OrangePiZero2Driver()

Properties

CpusPortBaseAddress

CPUS-PORT base address.

(Inherited from Sun50iw9p1Driver)
CpuxPortBaseAddress

CPUX-PORT base address.

(Inherited from Sun50iw9p1Driver)
PinCount

The number of pins provided by the driver.

Methods

AddCallbackForPinValueChangedEvent(Int32, PinEventTypes, PinChangeEventHandler)

Adds a handler for a pin value changed event.

(Inherited from SunxiDriver)
ClosePin(Int32)

Closes an open pin.

(Inherited from SunxiDriver)
ConvertPinNumberToLogicalNumberingScheme(Int32)

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

Dispose()

Disposes this instance, closing all open pins

(Inherited from GpioDriver)
Dispose(Boolean)

Disposes this instance

(Inherited from SunxiDriver)
GetPinMode(Int32)

Gets the mode of a pin.

(Inherited from SunxiDriver)
IsPinModeSupported(Int32, PinMode)

Checks if a pin supports a specific mode.

(Inherited from SunxiDriver)
OpenPin(Int32)

Opens a pin in order for it to be ready to use. This retains the pin direction, but if it is output, the value will always be low after open.

(Inherited from SunxiDriver)
QueryComponentInformation()

Query information about a component and its children.

(Inherited from GpioDriver)
Read(Int32)

Reads the current value of a pin.

(Inherited from SunxiDriver)
RemoveCallbackForPinValueChangedEvent(Int32, PinChangeEventHandler)

Removes a handler for a pin value changed event.

(Inherited from SunxiDriver)
SetPinMode(Int32, PinMode)

Sets the mode to a pin.

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

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

(Inherited from GpioDriver)
Toggle(Int32)

Toggle the current value of a pin.

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

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

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

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

(Inherited from SunxiDriver)
Write(Int32, PinValue)

Writes a value to a pin.

(Inherited from SunxiDriver)

Applies to