Struct esp32c2_hal::peripherals::SPI1
source · pub struct SPI1 { /* private fields */ }
Implementations§
source§impl SPI1
impl SPI1
sourcepub unsafe fn steal() -> SPI1
pub unsafe fn steal() -> SPI1
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 SPI1
impl Peripheral for SPI1
Auto Trait Implementations§
impl RefUnwindSafe for SPI1
impl Send for SPI1
impl Sync for SPI1
impl Unpin for SPI1
impl UnwindSafe for SPI1
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