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