pub struct SPI1 { /* private fields */ }Expand description
Serial peripheral interface/Inter-IC sound
Implementations§
Trait Implementations§
Source§impl Enable for SPI1
impl Enable for SPI1
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 SMEnable for SPI1
impl SMEnable for SPI1
Source§fn enable_in_sleep_mode(bus: &mut Self::Bus)
fn enable_in_sleep_mode(bus: &mut Self::Bus)
Enables peripheral
Source§fn disable_in_sleep_mode(bus: &mut Self::Bus)
fn disable_in_sleep_mode(bus: &mut Self::Bus)
Disables peripheral
Source§fn is_enabled_in_sleep_mode() -> bool
fn is_enabled_in_sleep_mode() -> bool
Check if peripheral enabled
Source§fn is_disabled_in_sleep_mode() -> bool
fn is_disabled_in_sleep_mode() -> bool
Check if peripheral disabled
Source§unsafe fn enable_in_sleep_mode_unchecked()
unsafe fn enable_in_sleep_mode_unchecked()
Safety Read more
Source§unsafe fn disable_in_sleep_mode_unchecked()
unsafe fn disable_in_sleep_mode_unchecked()
Safety Read more
impl MisoPin<SPI1> for PE14<Alternate<PushPull, 5>>
impl MisoPin<SPI1> for PA6<Alternate<PushPull, 5>>
impl MisoPin<SPI1> for PB4<Alternate<PushPull, 5>>
impl MosiPin<SPI1> for PE15<Alternate<PushPull, 5>>
impl MosiPin<SPI1> for PA7<Alternate<PushPull, 5>>
impl MosiPin<SPI1> for PB5<Alternate<PushPull, 5>>
impl SckPin<SPI1> for PE13<Alternate<PushPull, 5>>
impl SckPin<SPI1> for PA5<Alternate<PushPull, 5>>
impl SckPin<SPI1> for PB3<Alternate<PushPull, 5>>
impl Send for SPI1
Auto Trait Implementations§
impl Freeze for SPI1
impl RefUnwindSafe 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