Struct embassy_stm32::peripherals::SPI2
source · pub struct SPI2 { /* private fields */ }
Expand description
SPI2 peripheral
Implementations§
Trait Implementations§
source§impl Peripheral for SPI2
impl Peripheral for SPI2
source§impl RccPeripheral for SPI2
impl RccPeripheral for SPI2
fn frequency() -> Hertz
fn enable_and_reset_with_cs(_cs: CriticalSection<'_>)
fn disable_with_cs(_cs: CriticalSection<'_>)
fn enable_and_reset()
fn disable()
impl Instance for SPI2
impl RccPeripheral for SPI2
Auto Trait Implementations§
impl RefUnwindSafe for SPI2
impl Send for SPI2
impl Sync for SPI2
impl Unpin for SPI2
impl UnwindSafe for SPI2
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