pub struct Pads<S, RX = NoneT, TX = NoneT, RTS = NoneT, CTS = NoneT>where
    S: Sercom,
    RX: OptionalPad,
    TX: OptionalPad,
    RTS: OptionalPad,
    CTS: OptionalPad,
{ /* private fields */ }
Expand description

Container for a set of SERCOM Pads

See the module-level documentation for more details on specifying a Pads type and creating instances.

Implementations

Consume the Pads and return each individual Pad

Set the RX Pad

Set the TX Pad

Set the RTS Pad

Set the CTS Pad

Trait Implementations

Returns the “default value” for a type. Read more

Lift the implementations of RxpoTxpo from four-tuples of OptionalPadNums to the corresponding Pads types.

RXPO field value
RXPO field value

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
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.