pub struct SPI3 { /* private fields */ }
Expand description
Serial peripheral interface
Implementations§
§impl SPI3
impl SPI3
pub const PTR: *const RegisterBlock = {0x40003c00 as *const stm32h7xx_hal::stm32::spi1::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x40003c00 as *const stm32h7xx_hal::stm32::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§
§impl SpiExt<SPI3, u16> for SPI3
impl SpiExt<SPI3, u16> for SPI3
type Rec = Spi3
fn spi<PINS, CONFIG>( self, _pins: PINS, config: CONFIG, freq: Rate<u32, 1, 1>, prec: Spi3, clocks: &CoreClocks ) -> Spi<SPI3, Enabled, u16>
fn spi_unchecked<CONFIG>(
self,
config: CONFIG,
freq: Rate<u32, 1, 1>,
prec: Spi3,
clocks: &CoreClocks
) -> Spi<SPI3, Enabled, u16>where
CONFIG: Into<Config>,
§impl SpiExt<SPI3, u32> for SPI3
impl SpiExt<SPI3, u32> for SPI3
type Rec = Spi3
fn spi<PINS, CONFIG>( self, _pins: PINS, config: CONFIG, freq: Rate<u32, 1, 1>, prec: Spi3, clocks: &CoreClocks ) -> Spi<SPI3, Enabled, u32>
fn spi_unchecked<CONFIG>(
self,
config: CONFIG,
freq: Rate<u32, 1, 1>,
prec: Spi3,
clocks: &CoreClocks
) -> Spi<SPI3, Enabled, u32>where
CONFIG: Into<Config>,
§impl SpiExt<SPI3, u8> for SPI3
impl SpiExt<SPI3, u8> for SPI3
type Rec = Spi3
fn spi<PINS, CONFIG>( self, _pins: PINS, config: CONFIG, freq: Rate<u32, 1, 1>, prec: Spi3, clocks: &CoreClocks ) -> Spi<SPI3, Enabled>
fn spi_unchecked<CONFIG>(
self,
config: CONFIG,
freq: Rate<u32, 1, 1>,
prec: Spi3,
clocks: &CoreClocks
) -> Spi<SPI3, Enabled>where
CONFIG: Into<Config>,
impl Send for SPI3
Auto Trait Implementations§
impl Freeze for SPI3
impl RefUnwindSafe for SPI3
impl !Sync for SPI3
impl Unpin for SPI3
impl UnwindSafe for SPI3
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