pub struct SPI4 { /* private fields */ }
Expand description
Serial peripheral interface
Implementations
impl SPI4
impl SPI4
pub const PTR: *const RegisterBlock = {0x40013400 as *const stm32f4xx_hal::pac::spi1::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x40013400 as *const stm32f4xx_hal::pac::spi1::RegisterBlock}
Pointer to the register block
pub 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
fn enable(rcc: &RegisterBlock)
fn disable(rcc: &RegisterBlock)
sourceimpl LPEnable for SPI4
impl LPEnable for SPI4
fn low_power_enable(rcc: &RegisterBlock)
fn low_power_disable(rcc: &RegisterBlock)
sourceimpl PeriAddress for SPI4
impl PeriAddress for SPI4
impl DMASet<StreamX<DMA2, 0>, 4, PeripheralToMemory> for SPI4
impl DMASet<StreamX<DMA2, 1>, 4, MemoryToPeripheral> for SPI4
impl DMASet<StreamX<DMA2, 3>, 5, PeripheralToMemory> for SPI4
impl DMASet<StreamX<DMA2, 4>, 5, MemoryToPeripheral> for SPI4
impl Instance for SPI4
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