Struct stm32g0xx_hal::stm32::I2C2 [−][src]
Inter-integrated circuit
Implementations
impl I2C2
[src]
pub const fn ptr() -> *const RegisterBlock
[src]
Returns a pointer to the register block
Trait Implementations
impl Deref for I2C2
[src]
type Target = RegisterBlock
The resulting type after dereferencing.
pub fn deref(&self) -> &<I2C2 as Deref>::Target
[src]
impl I2cExt<I2C2> for I2C2
[src]
fn i2c<SDA, SCL>(
self,
sda: SDA,
scl: SCL,
config: Config,
rcc: &mut Rcc
) -> I2c<I2C2, SDA, SCL> where
SDA: SDAPin<I2C2>,
SCL: SCLPin<I2C2>,
[src]
self,
sda: SDA,
scl: SCL,
config: Config,
rcc: &mut Rcc
) -> I2c<I2C2, SDA, SCL> where
SDA: SDAPin<I2C2>,
SCL: SCLPin<I2C2>,
impl SCLPin<I2C2> for PA11<Output<OpenDrain>>
[src]
impl SCLPin<I2C2> for PB10<Output<OpenDrain>>
[src]
impl SCLPin<I2C2> for PB13<Output<OpenDrain>>
[src]
impl SDAPin<I2C2> for PA12<Output<OpenDrain>>
[src]
impl SDAPin<I2C2> for PB11<Output<OpenDrain>>
[src]
impl SDAPin<I2C2> for PB14<Output<OpenDrain>>
[src]
impl Send for I2C2
[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, 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>,