pub struct Padout<S, RX, TX, RTS, CTS> where
    S: Sercom
{ /* fields omitted */ }
👎 Deprecated since 0.13.0:

The sercom::v1::uart module is deprecated, and will be removed in a subsequent release. Please use the sercom::v2::uart module instead.

Expand description

A pad mapping configuration for the SERCOM in UART mode.

This type can only be constructed using the From implementations in this module, which are restricted to valid configurations.

Defines which sercom pad is mapped to which UART function.

Implementations

👎 Deprecated since 0.13.0:

The sercom::v1::uart module is deprecated, and will be removed in a subsequent release. Please use the sercom::v2::uart module instead.

Splits the padout into transmit and receive halves

👎 Deprecated since 0.13.0:

The sercom::v1::uart module is deprecated, and will be removed in a subsequent release. Please use the sercom::v2::uart module instead.

Combines transmit and receive halves back into a duplex padout

Trait Implementations

Convert from a tuple of (RX, TX, RTS, CTS) to UARTXPadout

Performs the conversion.

Convert from a tuple of (RX, TX) to UARTXPadout

Performs the conversion.

👎 Deprecated since 0.13.0:

The sercom::v1::uart module is deprecated, and will be removed in a subsequent release. Please use the sercom::v2::uart module instead.

👎 Deprecated since 0.13.0:

The sercom::v1::uart module is deprecated, and will be removed in a subsequent release. Please use the sercom::v2::uart module instead.

👎 Deprecated since 0.13.0:

The sercom::v1::uart module is deprecated, and will be removed in a subsequent release. Please use the sercom::v2::uart module instead.

👎 Deprecated since 0.13.0:

The sercom::v1::uart module is deprecated, and will be removed in a subsequent release. Please use the sercom::v2::uart module instead.

👎 Deprecated since 0.13.0:

The sercom::v1::uart module is deprecated, and will be removed in a subsequent release. Please use the sercom::v2::uart module instead.

👎 Deprecated since 0.13.0:

The sercom::v1::uart module is deprecated, and will be removed in a subsequent release. Please use the sercom::v2::uart module instead.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Casts the value.

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Casts the value.

Casts the value.

Casts the value.

Performs the conversion.

Performs the conversion.

Casts the value.

OverflowingCasts the value.

Should always be Self

Casts the value.

Casts the value.

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.

Casts the value.

UnwrappedCasts the value.

Casts the value.

WrappingCasts the value.