Struct grand_central_m4::sercom::v2::uart::Pads[][src]

pub struct Pads<S, I, RX = NoneT, TX = NoneT, RTS = NoneT, CTS = NoneT> where
    RX: OptionalPad,
    TX: OptionalPad,
    RTS: OptionalPad,
    CTS: OptionalPad,
    I: IoSet,
    S: Sercom
{ /* fields omitted */ }
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

Set the RX Pad

Set the TX Pad

Set the RTS Pad, which is always Pad2

Set the CTS Pad, which is always Pad3

Consume the Pads and return each individual Pad

Trait Implementations

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

Lift the implementations of Rxpo from OptionalPadNums to the corresponding Pads types.

Corresponding variant from the PAC enum

Lift the implementations of Txpo from OptionalPadNums to the corresponding Pads types.

Corresponding variant from the PAC enum

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.

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.