Trait gemma_m0::sercom::v1::DipoDopo

source ·
pub trait DipoDopo {
    const DIPO: u8;
    const DOPO: u8;

    // Provided method
    fn dipo_dopo(&self) -> (u8, u8) { ... }
}
👎Deprecated since 0.13.0: The sercom::v1::spi module is deprecated, and will be removed in a subsequent release. Please use the sercom::v2::spi module instead.
Expand description

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

Required Associated Constants§

source

const DIPO: u8

👎Deprecated since 0.13.0: The sercom::v1::spi module is deprecated, and will be removed in a subsequent release. Please use the sercom::v2::spi module instead.
source

const DOPO: u8

👎Deprecated since 0.13.0: The sercom::v1::spi module is deprecated, and will be removed in a subsequent release. Please use the sercom::v2::spi module instead.

Provided Methods§

source

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

👎Deprecated since 0.13.0: The sercom::v1::spi module is deprecated, and will be removed in a subsequent release. Please use the sercom::v2::spi module instead.

Implementations on Foreign Types§

source§

impl DipoDopo for (Pad2, Pad3, Pad1)

source§

const DIPO: u8 = 2u8

👎Deprecated since 0.13.0: The sercom::v1::spi module is deprecated, and will be removed in a subsequent release. Please use the sercom::v2::spi module instead.
source§

const DOPO: u8 = 2u8

👎Deprecated since 0.13.0: The sercom::v1::spi module is deprecated, and will be removed in a subsequent release. Please use the sercom::v2::spi module instead.
source§

impl DipoDopo for (Pad1, Pad0, Pad3)

source§

const DIPO: u8 = 1u8

👎Deprecated since 0.13.0: The sercom::v1::spi module is deprecated, and will be removed in a subsequent release. Please use the sercom::v2::spi module instead.
source§

const DOPO: u8 = 3u8

👎Deprecated since 0.13.0: The sercom::v1::spi module is deprecated, and will be removed in a subsequent release. Please use the sercom::v2::spi module instead.
source§

impl DipoDopo for (Pad2, Pad0, Pad1)

source§

const DIPO: u8 = 2u8

👎Deprecated since 0.13.0: The sercom::v1::spi module is deprecated, and will be removed in a subsequent release. Please use the sercom::v2::spi module instead.
source§

const DOPO: u8 = 0u8

👎Deprecated since 0.13.0: The sercom::v1::spi module is deprecated, and will be removed in a subsequent release. Please use the sercom::v2::spi module instead.
source§

impl DipoDopo for (Pad3, Pad0, Pad1)

source§

const DIPO: u8 = 3u8

👎Deprecated since 0.13.0: The sercom::v1::spi module is deprecated, and will be removed in a subsequent release. Please use the sercom::v2::spi module instead.
source§

const DOPO: u8 = 0u8

👎Deprecated since 0.13.0: The sercom::v1::spi module is deprecated, and will be removed in a subsequent release. Please use the sercom::v2::spi module instead.
source§

impl DipoDopo for (Pad0, Pad2, Pad3)

source§

const DIPO: u8 = 0u8

👎Deprecated since 0.13.0: The sercom::v1::spi module is deprecated, and will be removed in a subsequent release. Please use the sercom::v2::spi module instead.
source§

const DOPO: u8 = 1u8

👎Deprecated since 0.13.0: The sercom::v1::spi module is deprecated, and will be removed in a subsequent release. Please use the sercom::v2::spi module instead.
source§

impl DipoDopo for (Pad2, Pad0, Pad3)

source§

const DIPO: u8 = 2u8

👎Deprecated since 0.13.0: The sercom::v1::spi module is deprecated, and will be removed in a subsequent release. Please use the sercom::v2::spi module instead.
source§

const DOPO: u8 = 3u8

👎Deprecated since 0.13.0: The sercom::v1::spi module is deprecated, and will be removed in a subsequent release. Please use the sercom::v2::spi module instead.
source§

impl DipoDopo for (Pad1, Pad2, Pad3)

source§

const DIPO: u8 = 1u8

👎Deprecated since 0.13.0: The sercom::v1::spi module is deprecated, and will be removed in a subsequent release. Please use the sercom::v2::spi module instead.
source§

const DOPO: u8 = 1u8

👎Deprecated since 0.13.0: The sercom::v1::spi module is deprecated, and will be removed in a subsequent release. Please use the sercom::v2::spi module instead.
source§

impl DipoDopo for (Pad0, Pad3, Pad1)

source§

const DIPO: u8 = 0u8

👎Deprecated since 0.13.0: The sercom::v1::spi module is deprecated, and will be removed in a subsequent release. Please use the sercom::v2::spi module instead.
source§

const DOPO: u8 = 2u8

👎Deprecated since 0.13.0: The sercom::v1::spi module is deprecated, and will be removed in a subsequent release. Please use the sercom::v2::spi module instead.

Implementors§

source§

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

source§

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

source§

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