Share via


Cpu.PinUsage Enumeration

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

A list of values used to define the usage of a hardware pin.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  Microsoft.SPOT.Hardware
Assembly:  Microsoft.SPOT.Hardware (in Microsoft.SPOT.Hardware.dll)

Syntax

'Declaration
<FlagsAttribute> _
Public Enumeration PinUsage
[FlagsAttribute]
public enum PinUsage
[FlagsAttribute]
public enum class PinUsage
[<FlagsAttribute>]
type PinUsage
public enum PinUsage

Members

Member name Description
NONE The pin is not used.
INPUT The pin is used for input.
OUTPUT The pin is used for output.
ALTERNATE_A A custom usage pattern.
ALTERNATE_B A second custom usage pattern.

See Also

Reference

Microsoft.SPOT.Hardware Namespace