Struct stm32f7xx_hal::pac::SPI4
source · [−]pub struct SPI4 { /* private fields */ }
Expand description
Serial peripheral interface
Implementations
sourceimpl SPI4
impl SPI4
sourcepub const PTR: *const RegisterBlock = {0x40013400 as *const stm32f7::stm32f7x6::spi1::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x40013400 as *const stm32f7::stm32f7x6::spi1::RegisterBlock}
Pointer to the register block
sourcepub const fn ptr() -> *const RegisterBlock
pub const fn ptr() -> *const RegisterBlock
Return the pointer to the register block
Trait Implementations
sourceimpl Enable for SPI4
impl Enable for SPI4
sourcefn is_enabled() -> bool
fn is_enabled() -> bool
Check if peripheral enabled
sourcefn is_disabled() -> bool
fn is_disabled() -> bool
Check if peripheral disabled
sourceunsafe fn enable_unchecked()
unsafe fn enable_unchecked()
Safety Read more
sourceunsafe fn disable_unchecked()
unsafe fn disable_unchecked()
Safety Read more
sourceimpl LPEnable for SPI4
impl LPEnable for SPI4
sourcefn low_power_enable(bus: &mut Self::Bus)
fn low_power_enable(bus: &mut Self::Bus)
Enables peripheral
sourcefn low_power_disable(bus: &mut Self::Bus)
fn low_power_disable(bus: &mut Self::Bus)
Disables peripheral
sourcefn is_low_power_enabled() -> bool
fn is_low_power_enabled() -> bool
Check if peripheral enabled
sourcefn is_low_power_disabled() -> bool
fn is_low_power_disabled() -> bool
Check if peripheral disabled
sourceunsafe fn low_power_enable_unchecked()
unsafe fn low_power_enable_unchecked()
Safety Read more
sourceunsafe fn low_power_disable_unchecked()
unsafe fn low_power_disable_unchecked()
Safety Read more
impl Miso<SPI4> for PE5<Alternate<5>>
impl Miso<SPI4> for PE13<Alternate<5>>
impl Mosi<SPI4> for PE6<Alternate<5>>
impl Mosi<SPI4> for PE14<Alternate<5>>
impl Sck<SPI4> for PE2<Alternate<5>>
impl Sck<SPI4> for PE12<Alternate<5>>
impl Send for SPI4
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more