pub struct SPI2 { /* private fields */ }
Expand description
Serial peripheral interface
Implementations§
Trait Implementations§
Source§impl Enable for SPI2
impl Enable for SPI2
Source§fn is_enabled() -> bool
fn is_enabled() -> bool
Check if peripheral enabled
Source§fn is_disabled() -> bool
fn is_disabled() -> bool
Check if peripheral disabled
Source§unsafe fn enable_unchecked()
unsafe fn enable_unchecked()
Safety Read more
Source§unsafe fn disable_unchecked()
unsafe fn disable_unchecked()
Safety Read more
Source§impl LPEnable for SPI2
impl LPEnable for SPI2
Source§fn low_power_enable(bus: &mut Self::Bus)
fn low_power_enable(bus: &mut Self::Bus)
Enables peripheral
Source§fn low_power_disable(bus: &mut Self::Bus)
fn low_power_disable(bus: &mut Self::Bus)
Disables peripheral
Source§fn is_low_power_enabled() -> bool
fn is_low_power_enabled() -> bool
Check if peripheral enabled
Source§fn is_low_power_disabled() -> bool
fn is_low_power_disabled() -> bool
Check if peripheral disabled
Source§unsafe fn low_power_enable_unchecked()
unsafe fn low_power_enable_unchecked()
Safety Read more
Source§unsafe fn low_power_disable_unchecked()
unsafe fn low_power_disable_unchecked()
Safety Read more
impl Miso<SPI2> for PB14<Alternate<5>>
impl Miso<SPI2> for PC2<Alternate<5>>
impl Miso<SPI2> for PI2<Alternate<5>>
impl Mosi<SPI2> for PB15<Alternate<5>>
impl Mosi<SPI2> for PC1<Alternate<5>>
impl Mosi<SPI2> for PC3<Alternate<5>>
impl Mosi<SPI2> for PI3<Alternate<5>>
impl Sck<SPI2> for PA12<Alternate<5>>
impl Sck<SPI2> for PA9<Alternate<5>>
impl Sck<SPI2> for PB10<Alternate<5>>
impl Sck<SPI2> for PB13<Alternate<5>>
impl Sck<SPI2> for PD3<Alternate<5>>
impl Sck<SPI2> for PI1<Alternate<5>>
impl Send for SPI2
Auto Trait Implementations§
impl Freeze for SPI2
impl RefUnwindSafe 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