Struct daisy::pac::SPI3

pub struct SPI3 { /* private fields */ }
Expand description

Serial peripheral interface

Implementations§

§

impl SPI3

pub const PTR: *const RegisterBlock = {0x40003c00 as *const stm32h7xx_hal::stm32::spi1::RegisterBlock}

Pointer to the register block

pub const fn ptr() -> *const RegisterBlock

Return the pointer to the register block

Trait Implementations§

§

impl Debug for SPI3

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
§

impl Deref for SPI3

§

type Target = RegisterBlock

The resulting type after dereferencing.
§

fn deref(&self) -> &<SPI3 as Deref>::Target

Dereferences the value.
§

impl TargetAddress<MemoryToPeripheral> for SPI3

§

fn address(&self) -> usize

The address to be used by the DMA stream
§

type MemSize = u8

Memory size of the target address
§

const REQUEST_LINE: Option<u8> = _

An optional associated request line
§

const TRBUFF: bool = false

Mark that the TRBUFF bit must be set for this target
§

impl TargetAddress<PeripheralToMemory> for SPI3

§

fn address(&self) -> usize

The address to be used by the DMA stream
§

type MemSize = u8

Memory size of the target address
§

const REQUEST_LINE: Option<u8> = _

An optional associated request line
§

const TRBUFF: bool = false

Mark that the TRBUFF bit must be set for this target
§

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>
where PINS: Pins<SPI3>, CONFIG: Into<Config>,

§

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

§

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>
where PINS: Pins<SPI3>, CONFIG: Into<Config>,

§

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

§

type Rec = Spi3

§

fn spi<PINS, CONFIG>( self, _pins: PINS, config: CONFIG, freq: Rate<u32, 1, 1>, prec: Spi3, clocks: &CoreClocks ) -> Spi<SPI3, Enabled>
where PINS: Pins<SPI3>, CONFIG: Into<Config>,

§

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> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.