Struct nucleo_h7xx::pac::SPI2 [−]
Serial peripheral interface
Implementations
impl SPI2
pub const fn ptr() -> *const RegisterBlock
Returns a pointer to the register block
Trait Implementations
impl Deref for SPI2
type Target = RegisterBlock
The resulting type after dereferencing.
pub fn deref(&self) -> &<SPI2 as Deref>::Target
impl Send for SPI2
impl SpiExt<SPI2, u16> for SPI2
[src]
type Rec = Spi2
pub fn spi<PINS, T, CONFIG>(
self,
_pins: PINS,
config: CONFIG,
freq: T,
prec: Spi2,
clocks: &CoreClocks
) -> Spi<SPI2, Enabled, u16> where
T: Into<Hertz>,
PINS: Pins<SPI2>,
CONFIG: Into<Config>,
[src]
self,
_pins: PINS,
config: CONFIG,
freq: T,
prec: Spi2,
clocks: &CoreClocks
) -> Spi<SPI2, Enabled, u16> where
T: Into<Hertz>,
PINS: Pins<SPI2>,
CONFIG: Into<Config>,
pub fn spi_unchecked<T, CONFIG>(
self,
config: CONFIG,
freq: T,
prec: Spi2,
clocks: &CoreClocks
) -> Spi<SPI2, Enabled, u16> where
T: Into<Hertz>,
CONFIG: Into<Config>,
[src]
self,
config: CONFIG,
freq: T,
prec: Spi2,
clocks: &CoreClocks
) -> Spi<SPI2, Enabled, u16> where
T: Into<Hertz>,
CONFIG: Into<Config>,
impl SpiExt<SPI2, u32> for SPI2
[src]
type Rec = Spi2
pub fn spi<PINS, T, CONFIG>(
self,
_pins: PINS,
config: CONFIG,
freq: T,
prec: Spi2,
clocks: &CoreClocks
) -> Spi<SPI2, Enabled, u32> where
T: Into<Hertz>,
PINS: Pins<SPI2>,
CONFIG: Into<Config>,
[src]
self,
_pins: PINS,
config: CONFIG,
freq: T,
prec: Spi2,
clocks: &CoreClocks
) -> Spi<SPI2, Enabled, u32> where
T: Into<Hertz>,
PINS: Pins<SPI2>,
CONFIG: Into<Config>,
pub fn spi_unchecked<T, CONFIG>(
self,
config: CONFIG,
freq: T,
prec: Spi2,
clocks: &CoreClocks
) -> Spi<SPI2, Enabled, u32> where
T: Into<Hertz>,
CONFIG: Into<Config>,
[src]
self,
config: CONFIG,
freq: T,
prec: Spi2,
clocks: &CoreClocks
) -> Spi<SPI2, Enabled, u32> where
T: Into<Hertz>,
CONFIG: Into<Config>,
impl SpiExt<SPI2, u8> for SPI2
[src]
type Rec = Spi2
pub fn spi<PINS, T, CONFIG>(
self,
_pins: PINS,
config: CONFIG,
freq: T,
prec: Spi2,
clocks: &CoreClocks
) -> Spi<SPI2, Enabled, u8> where
T: Into<Hertz>,
PINS: Pins<SPI2>,
CONFIG: Into<Config>,
[src]
self,
_pins: PINS,
config: CONFIG,
freq: T,
prec: Spi2,
clocks: &CoreClocks
) -> Spi<SPI2, Enabled, u8> where
T: Into<Hertz>,
PINS: Pins<SPI2>,
CONFIG: Into<Config>,
pub fn spi_unchecked<T, CONFIG>(
self,
config: CONFIG,
freq: T,
prec: Spi2,
clocks: &CoreClocks
) -> Spi<SPI2, Enabled, u8> where
T: Into<Hertz>,
CONFIG: Into<Config>,
[src]
self,
config: CONFIG,
freq: T,
prec: Spi2,
clocks: &CoreClocks
) -> Spi<SPI2, Enabled, u8> where
T: Into<Hertz>,
CONFIG: Into<Config>,
impl TargetAddress<MemoryToPeripheral> for SPI2
[src]
pub fn address(&self) -> usize
[src]
type MemSize = u8
Memory size of the target address
pub const REQUEST_LINE: Option<u8>
[src]
pub const TRBUFF: bool
[src]
impl TargetAddress<PeripheralToMemory> for SPI2
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,