pub trait RxpoTxpo {
    const RXPO: u8;
    const TXPO: u8;

    // Provided method
    fn rxpo_txpo(&self) -> (u8, u8) { ... }
}
👎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

The RxpoTxpo trait defines a way to get the data in and data out pin out values for a given UARTXPadout configuration. You should not implement this trait for yourself; only the implementations in the sercom module make sense.

Required Associated Constants§

source

const RXPO: u8

👎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.
source

const TXPO: u8

👎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.

Provided Methods§

source

fn rxpo_txpo(&self) -> (u8, u8)

👎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.

Implementations on Foreign Types§

source§

impl RxpoTxpo for (Pad3, Pad0)

source§

const RXPO: u8 = 3u8

👎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.
source§

const TXPO: u8 = 0u8

👎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.
source§

impl RxpoTxpo for (Pad1, Pad0)

source§

const RXPO: u8 = 1u8

👎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.
source§

const TXPO: u8 = 0u8

👎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.
source§

impl RxpoTxpo for (Pad3, Pad2)

source§

const RXPO: u8 = 3u8

👎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.
source§

const TXPO: u8 = 1u8

👎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.
source§

impl RxpoTxpo for (Pad1, Pad0, Pad2, Pad3)

source§

const RXPO: u8 = 1u8

👎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.
source§

const TXPO: u8 = 2u8

👎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.
source§

impl RxpoTxpo for (Pad1, Pad2)

source§

const RXPO: u8 = 1u8

👎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.
source§

const TXPO: u8 = 1u8

👎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.
source§

impl RxpoTxpo for (Pad2, Pad0)

source§

const RXPO: u8 = 2u8

👎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.
source§

const TXPO: u8 = 0u8

👎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.
source§

impl RxpoTxpo for (Pad0, Pad2)

source§

const RXPO: u8 = 0u8

👎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.
source§

const TXPO: u8 = 1u8

👎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.

Implementors§

source§

impl<S, PAD0, PAD1> RxpoTxpo for Padout<S, PAD0, PAD1, (), ()>where S: Sercom, PAD0: CompatiblePad<Sercom = S>, PAD1: CompatiblePad<Sercom = S>, (<PAD0 as CompatiblePad>::PadNum, <PAD1 as CompatiblePad>::PadNum): RxpoTxpo,

source§

const RXPO: u8 = <(PAD0::PadNum, PAD1::PadNum)>::RXPO

source§

const TXPO: u8 = <(PAD0::PadNum, PAD1::PadNum)>::TXPO

source§

impl<S, PAD0, PAD1, PAD2, PAD3> RxpoTxpo for Padout<S, PAD0, PAD1, PAD2, PAD3>where S: Sercom, PAD0: CompatiblePad<Sercom = S>, PAD1: CompatiblePad<Sercom = S>, PAD2: CompatiblePad<Sercom = S>, PAD3: CompatiblePad<Sercom = S>, (<PAD0 as CompatiblePad>::PadNum, <PAD1 as CompatiblePad>::PadNum, <PAD2 as CompatiblePad>::PadNum, <PAD3 as CompatiblePad>::PadNum): RxpoTxpo,

source§

const RXPO: u8 = <(PAD0::PadNum, PAD1::PadNum, PAD2::PadNum, PAD3::PadNum)>::RXPO

source§

const TXPO: u8 = <(PAD0::PadNum, PAD1::PadNum, PAD2::PadNum, PAD3::PadNum)>::TXPO