Udostępnij za pośrednictwem


GpioPin.GetDriveMode Method

Definition

Gets the current drive mode for the general-purpose I/O (GPIO) pin. The drive mode specifies whether the pin is configured as an input or an output, and determines how values are driven onto the pin.

public:
 virtual GpioPinDriveMode GetDriveMode() = GetDriveMode;
GpioPinDriveMode GetDriveMode();
public GpioPinDriveMode GetDriveMode();
function getDriveMode()
Public Function GetDriveMode () As GpioPinDriveMode

Returns

An enumeration value that indicates the current drive mode for the GPIO pin. The drive mode specifies whether the pin is configured as an input or an output, and determines how values are driven onto the pin.

Windows requirements

App capabilities
lowLevel

Applies to

See also