pub struct SPI2 { /* private fields */ }
Expand description
Serial Peripheral Interface
Implementations§
Methods from Deref<Target = RegisterBlock>§
Sourcepub fn ctar_slave(&self) -> &CTAR_SLAVE
pub fn ctar_slave(&self) -> &CTAR_SLAVE
0x0c - Clock and Transfer Attributes Register (In Slave Mode)
Sourcepub fn ctar_slave_mut(&self) -> &mut CTAR_SLAVE
pub fn ctar_slave_mut(&self) -> &mut CTAR_SLAVE
0x0c - Clock and Transfer Attributes Register (In Slave Mode)
Sourcepub fn ctar(&self) -> &[CTAR; 2]
pub fn ctar(&self) -> &[CTAR; 2]
0x0c - Clock and Transfer Attributes Register (In Master Mode)
Sourcepub fn ctar_mut(&self) -> &mut [CTAR; 2]
pub fn ctar_mut(&self) -> &mut [CTAR; 2]
0x0c - Clock and Transfer Attributes Register (In Master Mode)
Sourcepub fn pushr_slave(&self) -> &PUSHR_SLAVE
pub fn pushr_slave(&self) -> &PUSHR_SLAVE
0x34 - PUSH TX FIFO Register In Slave Mode
Sourcepub fn pushr_slave_mut(&self) -> &mut PUSHR_SLAVE
pub fn pushr_slave_mut(&self) -> &mut PUSHR_SLAVE
0x34 - PUSH TX FIFO Register In Slave Mode
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SPI2
impl RefUnwindSafe for SPI2
impl !Sync for SPI2
impl Unpin for SPI2
impl UnwindSafe for SPI2
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more