GpioPinInfo.TryOpenInterrupt | tryOpenInterrupt method
TBD
Syntax
var result = gpioPinInfo.tryOpenInterrupt(type, sharingMode, driveMode);
var pin = result.pin;
var gpioOpenStatus = result.gpioOpenStatus;
public GpioOpenStatus TryOpenInterrupt(
GpioInterruptType type,
GpioSharingMode sharingMode,
GpioInputDriveMode driveMode,
out GpioInterruptPin pin
)
Public Function TryOpenInterrupt(
type As GpioInterruptType,
sharingMode As GpioSharingMode,
driveMode As GpioInputDriveMode,
<OutAttribute> ByRef pin As GpioInterruptPin
) As GpioOpenStatus
public:
GpioOpenStatus TryOpenInterrupt(
GpioInterruptType type,
GpioSharingMode sharingMode,
GpioInputDriveMode driveMode,
[OutAttribute] GpioInterruptPin^ pin
)
Parameters
type
Type: GpioInterruptTypesharingMode
Type: GpioSharingModedriveMode
Type: GpioInputDriveModepin (out parameter)
Type: GpioInterruptPin
Return value
Requirements
Minimum supported client |
Windows 10 Technical Preview |
Minimum supported server |
Windows Server Technical Preview |
Minimum supported phone |
Windows 10 Technical Preview for phones |
Namespace |
Windows.Devices.Gpio Windows::Devices::Gpio [C++] |
Metadata |
Windows.winmd |