Struct rppal::uart::Status[][src]

pub struct Status { /* fields omitted */ }
Expand description

Control signal status.

Implementations

Returns true if RTS is active.

RTS (active low) is controlled by Uart. An active signal indicates Uart is ready to receive more data.

Returns true if CTS is active.

CTS (active low) is controlled by the external device. An active signal indicates the external device is ready to receive more data.

Returns true if DTR is active.

DTR (active low) is controlled by Uart. When communicating with a modem, an active signal is used to place or accept a call. An inactive signal causes the modem to hang up. Other devices may use DTR and DSR for flow control.

DTR is not supported by the Raspberry Pi’s UART peripherals, but may be available on some USB to serial adapters.

Returns true if DSR is active.

DSR (active low) is controlled by the external device. When communicating with a modem, an active signal indicates the modem is ready for data transmission. Other devices may use DTR and DSR for flow control.

DSR is not supported by the Raspberry Pi’s UART peripherals, but may be available on some USB to serial adapters.

Returns true if DCD is active.

DCD (active low) is controlled by the external device. When communicating with a modem, an active signal indicates a connection is established.

DCD is not supported by the Raspberry Pi’s UART peripherals, but may be available on some USB to serial adapters.

Returns true if RI is active.

RI (active low) is controlled by the external device. When communicating with a modem, an active signal indicates an incoming call.

RI is not supported by the Raspberry Pi’s UART peripherals, but may be available on some USB to serial adapters.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.