Port.ReservePin Method
Reserves or releases a specified port pin.
Namespace: Microsoft.SPOT.Hardware
Assembly: Microsoft.SPOT.Hardware (in microsoft.spot.hardware.dll)
Syntax
[MethodImplAttribute(InternalCall)]
public static bool ReservePin (
Pin pin,
bool fReserve
)
Parameters
- pin
The pin to reserve or release. - fReserve
Set to true if the pin should be reserved, or false if the pin should be released.
Return Value
Returns true if successful, or false otherwise.
Version Information
Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, 4.1, and 4.2.