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