[][src]Struct mk66f18::SPI2

pub struct SPI2 { /* fields omitted */ }

Serial Peripheral Interface

Methods

impl SPI2[src]

pub const fn ptr() -> *const RegisterBlock[src]

Returns a pointer to the register block

Methods from Deref<Target = RegisterBlock>

pub fn ctar_slave(&self) -> &CTAR_SLAVE[src]

0x0c - Clock and Transfer Attributes Register (In Slave Mode)

pub fn ctar_slave_mut(&self) -> &mut CTAR_SLAVE[src]

0x0c - Clock and Transfer Attributes Register (In Slave Mode)

pub fn ctar(&self) -> &[CTAR; 2][src]

0x0c - Clock and Transfer Attributes Register (In Master Mode)

pub fn ctar_mut(&self) -> &mut [CTAR; 2][src]

0x0c - Clock and Transfer Attributes Register (In Master Mode)

pub fn pushr_slave(&self) -> &PUSHR_SLAVE[src]

0x34 - PUSH TX FIFO Register In Slave Mode

pub fn pushr_slave_mut(&self) -> &mut PUSHR_SLAVE[src]

0x34 - PUSH TX FIFO Register In Slave Mode

pub fn pushr(&self) -> &PUSHR[src]

0x34 - PUSH TX FIFO Register In Master Mode

pub fn pushr_mut(&self) -> &mut PUSHR[src]

0x34 - PUSH TX FIFO Register In Master Mode

Trait Implementations

impl Deref for SPI2[src]

type Target = RegisterBlock

The resulting type after dereferencing.

impl Send for SPI2[src]

Auto Trait Implementations

impl Unpin for SPI2

impl !Sync for SPI2

Blanket Implementations

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> Into<U> for T where
    U: From<T>, 
[src]

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

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.

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self