Struct esp32c2_hal::pac::SPI1
pub struct SPI1 { /* private fields */ }
Expand description
SPI (Serial Peripheral Interface) Controller
Implementations
impl SPI1
impl SPI1
pub const PTR: *const RegisterBlock = {0x60002000 as *const esp_hal_common::esp32c2::spi1::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x60002000 as *const esp_hal_common::esp32c2::spi1::RegisterBlock}
Pointer to the register block
pub const fn ptr() -> *const RegisterBlock
pub const fn ptr() -> *const RegisterBlock
Return the pointer to the register block
Trait Implementations
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