[−][src]Struct alt_stm32f30x_hal::device::I2C2
I2C2
Methods
impl I2C2
[src]
pub fn ptr() -> *const RegisterBlock
[src]
Returns a pointer to the register block
Trait Implementations
impl Send for I2C2
[src]
impl Deref for I2C2
[src]
type Target = RegisterBlock
The resulting type after dereferencing.
fn deref(&self) -> &RegisterBlock
[src]
impl<PT: PullType, PM: PinMode> I2cExt<I2C2, PA9<PT, PM>, PA10<PT, PM>, PA9<PT, AltFn<AF4, PushPull, HighSpeed>>, PA10<PT, AltFn<AF4, PushPull, HighSpeed>>> for I2C2
[src]
fn i2c<F>(
self,
pins: (PA9<PT, PM>, PA10<PT, PM>),
freq: F,
clocks: Clocks
) -> I2c<I2C2, (PA9<PT, AltFn<AF4, PushPull, HighSpeed>>, PA10<PT, AltFn<AF4, PushPull, HighSpeed>>)> where
F: Into<Hertz<u32>>,
[src]
self,
pins: (PA9<PT, PM>, PA10<PT, PM>),
freq: F,
clocks: Clocks
) -> I2c<I2C2, (PA9<PT, AltFn<AF4, PushPull, HighSpeed>>, PA10<PT, AltFn<AF4, PushPull, HighSpeed>>)> where
F: Into<Hertz<u32>>,
impl<PT: PullType, PM: PinMode> I2cExt<I2C2, PA9<PT, PM>, PF0<PT, PM>, PA9<PT, AltFn<AF4, PushPull, HighSpeed>>, PF0<PT, AltFn<AF4, PushPull, HighSpeed>>> for I2C2
[src]
fn i2c<F>(
self,
pins: (PA9<PT, PM>, PF0<PT, PM>),
freq: F,
clocks: Clocks
) -> I2c<I2C2, (PA9<PT, AltFn<AF4, PushPull, HighSpeed>>, PF0<PT, AltFn<AF4, PushPull, HighSpeed>>)> where
F: Into<Hertz<u32>>,
[src]
self,
pins: (PA9<PT, PM>, PF0<PT, PM>),
freq: F,
clocks: Clocks
) -> I2c<I2C2, (PA9<PT, AltFn<AF4, PushPull, HighSpeed>>, PF0<PT, AltFn<AF4, PushPull, HighSpeed>>)> where
F: Into<Hertz<u32>>,
impl<PT: PullType, PM: PinMode> I2cExt<I2C2, PF1<PT, PM>, PA10<PT, PM>, PF1<PT, AltFn<AF4, PushPull, HighSpeed>>, PA10<PT, AltFn<AF4, PushPull, HighSpeed>>> for I2C2
[src]
fn i2c<F>(
self,
pins: (PF1<PT, PM>, PA10<PT, PM>),
freq: F,
clocks: Clocks
) -> I2c<I2C2, (PF1<PT, AltFn<AF4, PushPull, HighSpeed>>, PA10<PT, AltFn<AF4, PushPull, HighSpeed>>)> where
F: Into<Hertz<u32>>,
[src]
self,
pins: (PF1<PT, PM>, PA10<PT, PM>),
freq: F,
clocks: Clocks
) -> I2c<I2C2, (PF1<PT, AltFn<AF4, PushPull, HighSpeed>>, PA10<PT, AltFn<AF4, PushPull, HighSpeed>>)> where
F: Into<Hertz<u32>>,
impl<PT: PullType, PM: PinMode> I2cExt<I2C2, PF1<PT, PM>, PF0<PT, PM>, PF1<PT, AltFn<AF4, PushPull, HighSpeed>>, PF0<PT, AltFn<AF4, PushPull, HighSpeed>>> for I2C2
[src]
fn i2c<F>(
self,
pins: (PF1<PT, PM>, PF0<PT, PM>),
freq: F,
clocks: Clocks
) -> I2c<I2C2, (PF1<PT, AltFn<AF4, PushPull, HighSpeed>>, PF0<PT, AltFn<AF4, PushPull, HighSpeed>>)> where
F: Into<Hertz<u32>>,
[src]
self,
pins: (PF1<PT, PM>, PF0<PT, PM>),
freq: F,
clocks: Clocks
) -> I2c<I2C2, (PF1<PT, AltFn<AF4, PushPull, HighSpeed>>, PF0<PT, AltFn<AF4, PushPull, HighSpeed>>)> where
F: Into<Hertz<u32>>,
impl<PT: PullType, PM: PinMode> I2cExt<I2C2, PF6<PT, PM>, PA10<PT, PM>, PF6<PT, AltFn<AF4, PushPull, HighSpeed>>, PA10<PT, AltFn<AF4, PushPull, HighSpeed>>> for I2C2
[src]
fn i2c<F>(
self,
pins: (PF6<PT, PM>, PA10<PT, PM>),
freq: F,
clocks: Clocks
) -> I2c<I2C2, (PF6<PT, AltFn<AF4, PushPull, HighSpeed>>, PA10<PT, AltFn<AF4, PushPull, HighSpeed>>)> where
F: Into<Hertz<u32>>,
[src]
self,
pins: (PF6<PT, PM>, PA10<PT, PM>),
freq: F,
clocks: Clocks
) -> I2c<I2C2, (PF6<PT, AltFn<AF4, PushPull, HighSpeed>>, PA10<PT, AltFn<AF4, PushPull, HighSpeed>>)> where
F: Into<Hertz<u32>>,
impl<PT: PullType, PM: PinMode> I2cExt<I2C2, PF6<PT, PM>, PF0<PT, PM>, PF6<PT, AltFn<AF4, PushPull, HighSpeed>>, PF0<PT, AltFn<AF4, PushPull, HighSpeed>>> for I2C2
[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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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