Struct port_expander::dev::pcf8574::Pcf8574a [−][src]
pub struct Pcf8574a<M>(_);
PCF8574A
“Remote 8-bit I/O expander for I2C-bus with interrupt”
Implementations
impl<I2C> Pcf8574a<NullMutex<Driver<I2C>>> where
I2C: I2cBus,
[src]
I2C: I2cBus,
impl<I2C, M> Pcf8574a<M> where
I2C: I2cBus,
M: BusMutex<Bus = Driver<I2C>>,
[src]
I2C: I2cBus,
M: BusMutex<Bus = Driver<I2C>>,
pub fn with_mutex(i2c: I2C, a0: bool, a1: bool, a2: bool) -> Self
[src]
pub fn split<'a>(&'a mut self) -> Parts<'a, I2C, M>
[src]
Auto Trait Implementations
impl<M> Send for Pcf8574a<M> where
M: Send,
M: Send,
impl<M> Sync for Pcf8574a<M> where
M: Sync,
M: Sync,
impl<M> Unpin for Pcf8574a<M> where
M: Unpin,
M: 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,
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>,