Skip to content

SerialPortInfo ​

cpp
#include <Ports/SerialPortTypes.h>
cpp
struct SerialPortInfo

Defined in Ports/SerialPortTypes.h:80

State of the serial port.

Public Attributes ​

ReturnNameDescription
u32portState of the port pins.
booltxdTransmit data line.
boolrxdReceive data line.
boolrtsRequest to send line.
boolctsClear to send line.
booldsrData set ready line.
boolcdCarrier detect line.
booldtrData terminal ready line.

port ​

cpp
u32 port

Defined in Ports/SerialPortTypes.h:82

State of the port pins.


txd ​

cpp
bool txd

Defined in Ports/SerialPortTypes.h:84

Transmit data line.


rxd ​

cpp
bool rxd

Defined in Ports/SerialPortTypes.h:85

Receive data line.


rts ​

cpp
bool rts

Defined in Ports/SerialPortTypes.h:86

Request to send line.


cts ​

cpp
bool cts

Defined in Ports/SerialPortTypes.h:87

Clear to send line.


dsr ​

cpp
bool dsr

Defined in Ports/SerialPortTypes.h:88

Data set ready line.


cd ​

cpp
bool cd

Defined in Ports/SerialPortTypes.h:89

Carrier detect line.


dtr ​

cpp
bool dtr

Defined in Ports/SerialPortTypes.h:90

Data terminal ready line.