[][src]Struct trellis_m4::sercom::SPIMaster5Padout

pub struct SPIMaster5Padout<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 SPIMaster5Padout<Pad<Sercom5, Pad2, PIN0>, Pad<Sercom5, Pad0, PIN1>, Pad<Sercom5, Pad1, PIN2>> where
    PIN0: Map<Sercom5, Pad2>,
    PIN1: Map<Sercom5, Pad0>,
    PIN2: Map<Sercom5, Pad1>, 
[src]

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

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

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

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

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

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

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

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

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

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

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

Auto Trait Implementations

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

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

impl<MISO, MOSI, SCK> Unpin for SPIMaster5Padout<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.