Share via


InterruptPort Constructor

[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 InterruptPort class.

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

Syntax

'Declaration
Public Sub New ( _
    portId As Cpu.Pin, _
    glitchFilter As Boolean, _
    resistor As Port.ResistorMode, _
    interrupt As Port.InterruptMode _
)
public InterruptPort(
    Cpu.Pin portId,
    bool glitchFilter,
    Port.ResistorMode resistor,
    Port.InterruptMode interrupt
)
public:
InterruptPort(
    Cpu::Pin portId, 
    bool glitchFilter, 
    Port::ResistorMode resistor, 
    Port::InterruptMode interrupt
)
new : 
        portId:Cpu.Pin * 
        glitchFilter:bool * 
        resistor:Port.ResistorMode * 
        interrupt:Port.InterruptMode -> InterruptPort
public function InterruptPort(
    portId : Cpu..::..Pin, 
    glitchFilter : boolean, 
    resistor : Port..::..ResistorMode, 
    interrupt : Port..::..InterruptMode
)

Parameters

.NET Framework Security

See Also

Reference

InterruptPort Class

Microsoft.SPOT.Hardware Namespace