Struct nrf52840_pac::SPI0
source · [−]pub struct SPI0 { /* private fields */ }
Expand description
Serial Peripheral Interface 0
Implementations
sourceimpl SPI0
impl SPI0
sourcepub const PTR: *const RegisterBlock = {0x40003000 as *const spi0::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x40003000 as *const spi0::RegisterBlock}
Pointer to the register block
sourcepub const fn ptr() -> *const RegisterBlock
pub const fn ptr() -> *const RegisterBlock
Return the pointer to the register block
Trait Implementations
sourceimpl Deref for SPI0
impl Deref for SPI0
type Target = RegisterBlock
type Target = RegisterBlock
The resulting type after dereferencing.
impl Send for SPI0
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more