Struct port_expander::dev::pca9536::Pca9536[][src]

pub struct Pca9536<M>(_);

PCA9536 “4-bit I2C-bus and SMBus I/O port”

Implementations

impl<I2C> Pca9536<NullMutex<Driver<I2C>>> where
    I2C: I2cBus
[src]

pub fn new(i2c: I2C) -> Self[src]

impl<I2C, M> Pca9536<M> where
    I2C: I2cBus,
    M: BusMutex<Bus = Driver<I2C>>, 
[src]

pub fn with_mutex(i2c: I2C) -> Self[src]

pub fn split<'a>(&'a mut self) -> Parts<'a, I2C, M>[src]

Auto Trait Implementations

impl<M> Send for Pca9536<M> where
    M: Send

impl<M> Sync for Pca9536<M> where
    M: Sync

impl<M> Unpin for Pca9536<M> where
    M: Unpin

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.