GpioPinDriveMode
GpioPinDriveMode
GpioPinDriveMode
GpioPinDriveMode
Enum
Definition
Describes whether a general-purpose I/O (GPIO) pin is configured as an input or an output, and how values are driven onto the pin.
public : enum class GpioPinDriveModepublic enum GpioPinDriveModePublic Enum GpioPinDriveMode// You can use this enum in JavaScript.
- Attributes
| Device family |
Windows IoT Extension SDK (introduced v10.0.10240.0)
|
| API contract |
Windows.Devices.DevicesLowLevelContract (introduced v1)
|
Fields
| Input Input Input Input | Configures the GPIO pin in floating mode, with high impedance.
If you call the GpioPin.Write method, the method sets the latched output value for the pin. The pin takes on this latched output value when the pin is changed to an output. |
| InputPullDown InputPullDown InputPullDown InputPullDown | Configures the GPIO pin as high impedance with a pull-down resistor to ground.
|
| InputPullUp InputPullUp InputPullUp InputPullUp | Configures the GPIO pin as high impedance with a pull-up resistor to the voltage charge connection (VCC).
|
| Output Output Output Output | Configures the GPIO pin in strong drive mode, with low impedance.
If you call the GpioPin.Read method for this pin, the method returns the value previously written to the pin. |
| OutputOpenDrain OutputOpenDrain OutputOpenDrain OutputOpenDrain | Configures the GPIO in open drain mode.
|
| OutputOpenDrainPullUp OutputOpenDrainPullUp OutputOpenDrainPullUp OutputOpenDrainPullUp | Configures the GPIO pin in open drain mode with resistive pull-up mode.
|
| OutputOpenSource OutputOpenSource OutputOpenSource OutputOpenSource | Configures the GPIO pin in open collector mode.
|
| OutputOpenSourcePullDown OutputOpenSourcePullDown OutputOpenSourcePullDown OutputOpenSourcePullDown | Configures the GPIO pin in open collector mode with resistive pull-down mode.
|
If you call the
If you call the
If you call the
If you call the
If you call the
If you call the
If you call the
If you call the