NanoPiR2sDriver Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A GPIO driver for the NanoPi R2S
public class NanoPiR2sDriver : Iot.Device.Gpio.Drivers.Rk3328Driver
type NanoPiR2sDriver = class
inherit Rk3328Driver
Public Class NanoPiR2sDriver
Inherits Rk3328Driver
- Inheritance
Remarks
SoC: Rockchip RK3328
Constructors
NanoPiR2sDriver() |
Fields
_gpioPointers | (Inherited from RockchipDriver) |
_pinModes | (Inherited from RockchipDriver) |
GpioMemoryFilePath | (Inherited from RockchipDriver) |
Properties
ClockResetUnit |
Clock and Reset Unit (CRU) address. (Inherited from Rk3328Driver) |
GeneralRegisterFiles |
General Register Files (GRF) address. (Inherited from Rk3328Driver) |
GpioRegisterAddresses |
Gpio register addresses. (Inherited from Rk3328Driver) |
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 RockchipDriver) |
ClosePin(Int32) |
Closes an open pin. (Inherited from RockchipDriver) |
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 Rk3328Driver) |
GetPinMode(Int32) |
Gets the mode of a pin. (Inherited from RockchipDriver) |
IsPinModeSupported(Int32, PinMode) |
Checks if a pin supports a specific mode. (Inherited from Rk3328Driver) |
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 RockchipDriver) |
QueryComponentInformation() |
Query information about a component and its children. (Inherited from GpioDriver) |
Read(Int32) |
Reads the current value of a pin. (Inherited from RockchipDriver) |
RemoveCallbackForPinValueChangedEvent(Int32, PinChangeEventHandler) |
Removes a handler for a pin value changed event. (Inherited from RockchipDriver) |
SetPinMode(Int32, PinMode) |
Sets the mode to a pin. (Inherited from Rk3328Driver) |
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) |
UnmapPinNumber(Int32) |
Unmap pin number in the driver's logical numbering scheme to pin number with port name. (Inherited from RockchipDriver) |
WaitForEvent(Int32, PinEventTypes, CancellationToken) |
Blocks execution until an event of type eventType is received or a cancellation is requested. (Inherited from RockchipDriver) |
WaitForEventAsync(Int32, PinEventTypes, CancellationToken) |
Async call until an event of type eventType is received or a cancellation is requested. (Inherited from RockchipDriver) |
Write(Int32, PinValue) |
Writes a value to a pin. (Inherited from RockchipDriver) |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for