Share via


GetSerialPins Method

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

Gets the GPIO pin assignments for the specified communications port (COM port).

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

Syntax

'Declaration
Public Overridable Sub GetSerialPins ( _
    comPort As String, _
    <OutAttribute> ByRef rxPin As Cpu.Pin, _
    <OutAttribute> ByRef txPin As Cpu.Pin, _
    <OutAttribute> ByRef ctsPin As Cpu.Pin, _
    <OutAttribute> ByRef rtsPin As Cpu.Pin _
)
public virtual void GetSerialPins(
    string comPort,
    out Cpu.Pin rxPin,
    out Cpu.Pin txPin,
    out Cpu.Pin ctsPin,
    out Cpu.Pin rtsPin
)
public:
virtual void GetSerialPins(
    String^ comPort, 
    [OutAttribute] Cpu::Pin% rxPin, 
    [OutAttribute] Cpu::Pin% txPin, 
    [OutAttribute] Cpu::Pin% ctsPin, 
    [OutAttribute] Cpu::Pin% rtsPin
)
abstract GetSerialPins : 
        comPort:string * 
        rxPin:Cpu.Pin byref * 
        txPin:Cpu.Pin byref * 
        ctsPin:Cpu.Pin byref * 
        rtsPin:Cpu.Pin byref -> unit 
override GetSerialPins : 
        comPort:string * 
        rxPin:Cpu.Pin byref * 
        txPin:Cpu.Pin byref * 
        ctsPin:Cpu.Pin byref * 
        rtsPin:Cpu.Pin byref -> unit 
public function GetSerialPins(
    comPort : String, 
    rxPin : Cpu..::..Pin, 
    txPin : Cpu..::..Pin, 
    ctsPin : Cpu..::..Pin, 
    rtsPin : Cpu..::..Pin
)

Parameters

.NET Framework Security

See Also

Reference

HardwareProvider Class

Microsoft.SPOT.Hardware Namespace