[−][src]Struct alt_stm32f30x_hal::device::SPI1
Serial peripheral interface/Inter-IC sound
Methods
impl SPI1
[src]
pub fn ptr() -> *const RegisterBlock
[src]
Returns a pointer to the register block
Trait Implementations
impl Deref for SPI1
[src]
type Target = RegisterBlock
The resulting type after dereferencing.
fn deref(&self) -> &RegisterBlock
[src]
impl Send for SPI1
[src]
impl<PT: PullType, PM: PinMode> SpiExt<SPI1, PA5<PT, PM>, PA6<PT, PM>, PA7<PT, PM>, PA5<PT, AltFn<AF5, PushPull, HighSpeed>>, PA6<PT, AltFn<AF5, PushPull, HighSpeed>>, PA7<PT, AltFn<AF5, PushPull, HighSpeed>>> for SPI1
[src]
fn spi<F>(
self,
pins: (PA5<PT, PM>, PA6<PT, PM>, PA7<PT, PM>),
mode: Mode,
freq: F,
clocks: Clocks
) -> Spi<SPI1, (PA5<PT, AltFn<AF5, PushPull, HighSpeed>>, PA6<PT, AltFn<AF5, PushPull, HighSpeed>>, PA7<PT, AltFn<AF5, PushPull, HighSpeed>>)> where
F: Into<Hertz<u32>>,
[src]
self,
pins: (PA5<PT, PM>, PA6<PT, PM>, PA7<PT, PM>),
mode: Mode,
freq: F,
clocks: Clocks
) -> Spi<SPI1, (PA5<PT, AltFn<AF5, PushPull, HighSpeed>>, PA6<PT, AltFn<AF5, PushPull, HighSpeed>>, PA7<PT, AltFn<AF5, PushPull, HighSpeed>>)> where
F: Into<Hertz<u32>>,
impl<PT: PullType, PM: PinMode> SpiExt<SPI1, PA5<PT, PM>, PA6<PT, PM>, PB5<PT, PM>, PA5<PT, AltFn<AF5, PushPull, HighSpeed>>, PA6<PT, AltFn<AF5, PushPull, HighSpeed>>, PB5<PT, AltFn<AF5, PushPull, HighSpeed>>> for SPI1
[src]
fn spi<F>(
self,
pins: (PA5<PT, PM>, PA6<PT, PM>, PB5<PT, PM>),
mode: Mode,
freq: F,
clocks: Clocks
) -> Spi<SPI1, (PA5<PT, AltFn<AF5, PushPull, HighSpeed>>, PA6<PT, AltFn<AF5, PushPull, HighSpeed>>, PB5<PT, AltFn<AF5, PushPull, HighSpeed>>)> where
F: Into<Hertz<u32>>,
[src]
self,
pins: (PA5<PT, PM>, PA6<PT, PM>, PB5<PT, PM>),
mode: Mode,
freq: F,
clocks: Clocks
) -> Spi<SPI1, (PA5<PT, AltFn<AF5, PushPull, HighSpeed>>, PA6<PT, AltFn<AF5, PushPull, HighSpeed>>, PB5<PT, AltFn<AF5, PushPull, HighSpeed>>)> where
F: Into<Hertz<u32>>,
impl<PT: PullType, PM: PinMode> SpiExt<SPI1, PA5<PT, PM>, PB4<PT, PM>, PA7<PT, PM>, PA5<PT, AltFn<AF5, PushPull, HighSpeed>>, PB4<PT, AltFn<AF5, PushPull, HighSpeed>>, PA7<PT, AltFn<AF5, PushPull, HighSpeed>>> for SPI1
[src]
fn spi<F>(
self,
pins: (PA5<PT, PM>, PB4<PT, PM>, PA7<PT, PM>),
mode: Mode,
freq: F,
clocks: Clocks
) -> Spi<SPI1, (PA5<PT, AltFn<AF5, PushPull, HighSpeed>>, PB4<PT, AltFn<AF5, PushPull, HighSpeed>>, PA7<PT, AltFn<AF5, PushPull, HighSpeed>>)> where
F: Into<Hertz<u32>>,
[src]
self,
pins: (PA5<PT, PM>, PB4<PT, PM>, PA7<PT, PM>),
mode: Mode,
freq: F,
clocks: Clocks
) -> Spi<SPI1, (PA5<PT, AltFn<AF5, PushPull, HighSpeed>>, PB4<PT, AltFn<AF5, PushPull, HighSpeed>>, PA7<PT, AltFn<AF5, PushPull, HighSpeed>>)> where
F: Into<Hertz<u32>>,
impl<PT: PullType, PM: PinMode> SpiExt<SPI1, PA5<PT, PM>, PB4<PT, PM>, PB5<PT, PM>, PA5<PT, AltFn<AF5, PushPull, HighSpeed>>, PB4<PT, AltFn<AF5, PushPull, HighSpeed>>, PB5<PT, AltFn<AF5, PushPull, HighSpeed>>> for SPI1
[src]
fn spi<F>(
self,
pins: (PA5<PT, PM>, PB4<PT, PM>, PB5<PT, PM>),
mode: Mode,
freq: F,
clocks: Clocks
) -> Spi<SPI1, (PA5<PT, AltFn<AF5, PushPull, HighSpeed>>, PB4<PT, AltFn<AF5, PushPull, HighSpeed>>, PB5<PT, AltFn<AF5, PushPull, HighSpeed>>)> where
F: Into<Hertz<u32>>,
[src]
self,
pins: (PA5<PT, PM>, PB4<PT, PM>, PB5<PT, PM>),
mode: Mode,
freq: F,
clocks: Clocks
) -> Spi<SPI1, (PA5<PT, AltFn<AF5, PushPull, HighSpeed>>, PB4<PT, AltFn<AF5, PushPull, HighSpeed>>, PB5<PT, AltFn<AF5, PushPull, HighSpeed>>)> where
F: Into<Hertz<u32>>,
impl<PT: PullType, PM: PinMode> SpiExt<SPI1, PB3<PT, PM>, PA6<PT, PM>, PA7<PT, PM>, PB3<PT, AltFn<AF5, PushPull, HighSpeed>>, PA6<PT, AltFn<AF5, PushPull, HighSpeed>>, PA7<PT, AltFn<AF5, PushPull, HighSpeed>>> for SPI1
[src]
fn spi<F>(
self,
pins: (PB3<PT, PM>, PA6<PT, PM>, PA7<PT, PM>),
mode: Mode,
freq: F,
clocks: Clocks
) -> Spi<SPI1, (PB3<PT, AltFn<AF5, PushPull, HighSpeed>>, PA6<PT, AltFn<AF5, PushPull, HighSpeed>>, PA7<PT, AltFn<AF5, PushPull, HighSpeed>>)> where
F: Into<Hertz<u32>>,
[src]
self,
pins: (PB3<PT, PM>, PA6<PT, PM>, PA7<PT, PM>),
mode: Mode,
freq: F,
clocks: Clocks
) -> Spi<SPI1, (PB3<PT, AltFn<AF5, PushPull, HighSpeed>>, PA6<PT, AltFn<AF5, PushPull, HighSpeed>>, PA7<PT, AltFn<AF5, PushPull, HighSpeed>>)> where
F: Into<Hertz<u32>>,
impl<PT: PullType, PM: PinMode> SpiExt<SPI1, PB3<PT, PM>, PA6<PT, PM>, PB5<PT, PM>, PB3<PT, AltFn<AF5, PushPull, HighSpeed>>, PA6<PT, AltFn<AF5, PushPull, HighSpeed>>, PB5<PT, AltFn<AF5, PushPull, HighSpeed>>> for SPI1
[src]
fn spi<F>(
self,
pins: (PB3<PT, PM>, PA6<PT, PM>, PB5<PT, PM>),
mode: Mode,
freq: F,
clocks: Clocks
) -> Spi<SPI1, (PB3<PT, AltFn<AF5, PushPull, HighSpeed>>, PA6<PT, AltFn<AF5, PushPull, HighSpeed>>, PB5<PT, AltFn<AF5, PushPull, HighSpeed>>)> where
F: Into<Hertz<u32>>,
[src]
self,
pins: (PB3<PT, PM>, PA6<PT, PM>, PB5<PT, PM>),
mode: Mode,
freq: F,
clocks: Clocks
) -> Spi<SPI1, (PB3<PT, AltFn<AF5, PushPull, HighSpeed>>, PA6<PT, AltFn<AF5, PushPull, HighSpeed>>, PB5<PT, AltFn<AF5, PushPull, HighSpeed>>)> where
F: Into<Hertz<u32>>,
impl<PT: PullType, PM: PinMode> SpiExt<SPI1, PB3<PT, PM>, PB4<PT, PM>, PA7<PT, PM>, PB3<PT, AltFn<AF5, PushPull, HighSpeed>>, PB4<PT, AltFn<AF5, PushPull, HighSpeed>>, PA7<PT, AltFn<AF5, PushPull, HighSpeed>>> for SPI1
[src]
fn spi<F>(
self,
pins: (PB3<PT, PM>, PB4<PT, PM>, PA7<PT, PM>),
mode: Mode,
freq: F,
clocks: Clocks
) -> Spi<SPI1, (PB3<PT, AltFn<AF5, PushPull, HighSpeed>>, PB4<PT, AltFn<AF5, PushPull, HighSpeed>>, PA7<PT, AltFn<AF5, PushPull, HighSpeed>>)> where
F: Into<Hertz<u32>>,
[src]
self,
pins: (PB3<PT, PM>, PB4<PT, PM>, PA7<PT, PM>),
mode: Mode,
freq: F,
clocks: Clocks
) -> Spi<SPI1, (PB3<PT, AltFn<AF5, PushPull, HighSpeed>>, PB4<PT, AltFn<AF5, PushPull, HighSpeed>>, PA7<PT, AltFn<AF5, PushPull, HighSpeed>>)> where
F: Into<Hertz<u32>>,
impl<PT: PullType, PM: PinMode> SpiExt<SPI1, PB3<PT, PM>, PB4<PT, PM>, PB5<PT, PM>, PB3<PT, AltFn<AF5, PushPull, HighSpeed>>, PB4<PT, AltFn<AF5, PushPull, HighSpeed>>, PB5<PT, AltFn<AF5, PushPull, HighSpeed>>> for SPI1
[src]
Auto Trait Implementations
Blanket Implementations
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.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self