[−][src]Struct nrf52840_platform::i2c::I2cMapping
Trait Implementations
impl<SDA: Clone, SCL: Clone> Clone for I2cMapping<SDA, SCL>
[src]
fn clone(&self) -> I2cMapping<SDA, SCL>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<SDA: Copy, SCL: Copy> Copy for I2cMapping<SDA, SCL>
[src]
impl<SDA: Debug, SCL: Debug> Debug for I2cMapping<SDA, SCL>
[src]
impl I2cBusMapping<Pin<P0_26<Input<Floating>>>, Pin<P0_27<Input<Floating>>>> for I2cMapping<Pin<P0_26<Input<Floating>>>, Pin<P0_27<Input<Floating>>>>
[src]
type Error = Error
The common error type for I²C operations. Read more
type Bus = I2c
The I²C bus that will be produced once initialization based off of this mapping succeeds.
fn poll_initialize(
self: Pin<&mut Self>,
cx: &mut Context,
sda: &mut Pin<P0_26<Input<Floating>>>,
scl: &mut Pin<P0_27<Input<Floating>>>
) -> Poll<Result<Self::Bus, Self::Error>> where
Self: Sized,
[src]
self: Pin<&mut Self>,
cx: &mut Context,
sda: &mut Pin<P0_26<Input<Floating>>>,
scl: &mut Pin<P0_27<Input<Floating>>>
) -> Poll<Result<Self::Bus, Self::Error>> where
Self: Sized,
Auto Trait Implementations
impl<SDA, SCL> Send for I2cMapping<SDA, SCL> where
SCL: Send,
SDA: Send,
SCL: Send,
SDA: Send,
impl<SDA, SCL> Sync for I2cMapping<SDA, SCL> where
SCL: Sync,
SDA: Sync,
SCL: Sync,
SDA: Sync,
impl<SDA, SCL> Unpin for I2cMapping<SDA, SCL> where
SCL: Unpin,
SDA: Unpin,
SCL: Unpin,
SDA: Unpin,
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,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<A, SDA, SCL> I2cBusMappingExt<SDA, SCL> for A where
A: I2cBusMapping<SDA, SCL>,
SCL: Unpin,
SDA: Unpin,
[src]
A: I2cBusMapping<SDA, SCL>,
SCL: Unpin,
SDA: Unpin,
fn initialize(self, sda: SDA, scl: SCL) -> Initialize<Self, SDA, SCL> where
Self: Unpin,
[src]
Self: Unpin,
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.
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>,