[−][src]Struct mk66f18::SPI2
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.
fn deref(&self) -> &Self::Target
[src]
impl Send for SPI2
[src]
Auto Trait Implementations
Blanket Implementations
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self