[][src]Struct trellis_m4::sercom::v1::SPIMaster1Padout

pub struct SPIMaster1Padout<MISO, MOSI, SCK> { /* fields omitted */ }

A pad mapping configuration for the SERCOM in SPI master 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 SPI function.

Trait Implementations

impl<PIN0, PIN1, PIN2> DipoDopo for SPIMaster1Padout<Pad<Sercom1, Pad0, PIN0>, Pad<Sercom1, Pad3, PIN1>, Pad<Sercom1, Pad1, PIN2>> where
    PIN0: Map<Sercom1, Pad0>,
    PIN1: Map<Sercom1, Pad3>,
    PIN2: Map<Sercom1, Pad1>, 
[src]

impl<PIN0, PIN1, PIN2> DipoDopo for SPIMaster1Padout<Pad<Sercom1, Pad2, PIN0>, Pad<Sercom1, Pad0, PIN1>, Pad<Sercom1, Pad1, PIN2>> where
    PIN0: Map<Sercom1, Pad2>,
    PIN1: Map<Sercom1, Pad0>,
    PIN2: Map<Sercom1, Pad1>, 
[src]

impl<PIN0, PIN1, PIN2> DipoDopo for SPIMaster1Padout<Pad<Sercom1, Pad3, PIN0>, Pad<Sercom1, Pad0, PIN1>, Pad<Sercom1, Pad1, PIN2>> where
    PIN0: Map<Sercom1, Pad3>,
    PIN1: Map<Sercom1, Pad0>,
    PIN2: Map<Sercom1, Pad1>, 
[src]

impl<PIN0, PIN1, PIN2> DipoDopo for SPIMaster1Padout<Pad<Sercom1, Pad2, PIN0>, Pad<Sercom1, Pad3, PIN1>, Pad<Sercom1, Pad1, PIN2>> where
    PIN0: Map<Sercom1, Pad2>,
    PIN1: Map<Sercom1, Pad3>,
    PIN2: Map<Sercom1, Pad1>, 
[src]

impl<PIN0, PIN1, PIN2> From<(Pad<Sercom1, Pad0, PIN0>, Pad<Sercom1, Pad3, PIN1>, Pad<Sercom1, Pad1, PIN2>)> for SPIMaster1Padout<Pad<Sercom1, Pad0, PIN0>, Pad<Sercom1, Pad3, PIN1>, Pad<Sercom1, Pad1, PIN2>> where
    PIN0: Map<Sercom1, Pad0>,
    PIN1: Map<Sercom1, Pad3>,
    PIN2: Map<Sercom1, Pad1>, 
[src]

Convert from a tuple of (MISO, MOSI, SCK) to SPIMasterXPadout

impl<PIN0, PIN1, PIN2> From<(Pad<Sercom1, Pad2, PIN0>, Pad<Sercom1, Pad0, PIN1>, Pad<Sercom1, Pad1, PIN2>)> for SPIMaster1Padout<Pad<Sercom1, Pad2, PIN0>, Pad<Sercom1, Pad0, PIN1>, Pad<Sercom1, Pad1, PIN2>> where
    PIN0: Map<Sercom1, Pad2>,
    PIN1: Map<Sercom1, Pad0>,
    PIN2: Map<Sercom1, Pad1>, 
[src]

Convert from a tuple of (MISO, MOSI, SCK) to SPIMasterXPadout

impl<PIN0, PIN1, PIN2> From<(Pad<Sercom1, Pad2, PIN0>, Pad<Sercom1, Pad3, PIN1>, Pad<Sercom1, Pad1, PIN2>)> for SPIMaster1Padout<Pad<Sercom1, Pad2, PIN0>, Pad<Sercom1, Pad3, PIN1>, Pad<Sercom1, Pad1, PIN2>> where
    PIN0: Map<Sercom1, Pad2>,
    PIN1: Map<Sercom1, Pad3>,
    PIN2: Map<Sercom1, Pad1>, 
[src]

Convert from a tuple of (MISO, MOSI, SCK) to SPIMasterXPadout

impl<PIN0, PIN1, PIN2> From<(Pad<Sercom1, Pad3, PIN0>, Pad<Sercom1, Pad0, PIN1>, Pad<Sercom1, Pad1, PIN2>)> for SPIMaster1Padout<Pad<Sercom1, Pad3, PIN0>, Pad<Sercom1, Pad0, PIN1>, Pad<Sercom1, Pad1, PIN2>> where
    PIN0: Map<Sercom1, Pad3>,
    PIN1: Map<Sercom1, Pad0>,
    PIN2: Map<Sercom1, Pad1>, 
[src]

Convert from a tuple of (MISO, MOSI, SCK) to SPIMasterXPadout

Auto Trait Implementations

impl<MISO, MOSI, SCK> Send for SPIMaster1Padout<MISO, MOSI, SCK> where
    MISO: Send,
    MOSI: Send,
    SCK: Send
[src]

impl<MISO, MOSI, SCK> Sync for SPIMaster1Padout<MISO, MOSI, SCK> where
    MISO: Sync,
    MOSI: Sync,
    SCK: Sync
[src]

impl<MISO, MOSI, SCK> Unpin for SPIMaster1Padout<MISO, MOSI, SCK> where
    MISO: Unpin,
    MOSI: Unpin,
    SCK: Unpin
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.