Struct esp32c2_hal::peripherals::SPI0
source · pub struct SPI0 { /* private fields */ }
Implementations§
source§impl SPI0
impl SPI0
sourcepub unsafe fn steal() -> SPI0
pub unsafe fn steal() -> SPI0
Unsafely create an instance of this peripheral out of thin air.
Safety
You must ensure that you’re only using one instance of this type at a time.
Trait Implementations§
source§impl Peripheral for SPI0
impl Peripheral for SPI0
Auto Trait Implementations§
impl RefUnwindSafe for SPI0
impl Send for SPI0
impl Sync for SPI0
impl Unpin for SPI0
impl UnwindSafe for SPI0
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