InputPort Constructor (Cpu.Pin, Boolean, Port.ResistorMode, Port.InterruptMode)

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

Initializes a new instance of the InputPort class with the specified port identifier, glitch filter, resistor mode, and interrupt mode.

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

Syntax

'Declaration
Protected Sub New ( _
    portId As Cpu.Pin, _
    glitchFilter As Boolean, _
    resistor As Port.ResistorMode, _
    interruptMode As Port.InterruptMode _
)
protected InputPort(
    Cpu.Pin portId,
    bool glitchFilter,
    Port.ResistorMode resistor,
    Port.InterruptMode interruptMode
)
protected:
InputPort(
    Cpu::Pin portId, 
    bool glitchFilter, 
    Port::ResistorMode resistor, 
    Port::InterruptMode interruptMode
)
new : 
        portId:Cpu.Pin * 
        glitchFilter:bool * 
        resistor:Port.ResistorMode * 
        interruptMode:Port.InterruptMode -> InputPort
protected function InputPort(
    portId : Cpu..::..Pin, 
    glitchFilter : boolean, 
    resistor : Port..::..ResistorMode, 
    interruptMode : Port..::..InterruptMode
)

Parameters

.NET Framework Security

See Also

Reference

InputPort Class

InputPort Overload

Microsoft.SPOT.Hardware Namespace