Struct lcd1602_rs::LCD1602[][src]

pub struct LCD1602<EN, RS, D4, D5, D6, D7, Timer> { /* fields omitted */ }

Implementations

impl<EN, RS, D4, D5, D6, D7, Timer, E> LCD1602<EN, RS, D4, D5, D6, D7, Timer> where
    EN: OutputPin<Error = E>,
    RS: OutputPin<Error = E>,
    D4: OutputPin<Error = E>,
    D5: OutputPin<Error = E>,
    D6: OutputPin<Error = E>,
    D7: OutputPin<Error = E>,
    Timer: CountDown<Time = Duration>, 
[src]

pub fn new(
    en: EN,
    rs: RS,
    d4: D4,
    d5: D5,
    d6: D6,
    d7: D7,
    timer: Timer
) -> Result<LCD1602<EN, RS, D4, D5, D6, D7, Timer>, Error<E>>
[src]

pub fn set_bus_width(&mut self, bus_width: BusWidth) -> Result<(), Error<E>>[src]

pub fn set_entry_mode(
    &mut self,
    text_direction: Direction,
    screen_edge_tracking: bool
) -> Result<(), Error<E>>
[src]

pub fn clear(&mut self) -> Result<(), Error<E>>[src]

pub fn home(&mut self) -> Result<(), Error<E>>[src]

pub fn print(&mut self, s: &str) -> Result<(), Error<E>>[src]

pub fn delay(&mut self, interval_us: u64) -> Result<(), Error<E>>[src]

Auto Trait Implementations

impl<EN, RS, D4, D5, D6, D7, Timer> Send for LCD1602<EN, RS, D4, D5, D6, D7, Timer> where
    D4: Send,
    D5: Send,
    D6: Send,
    D7: Send,
    EN: Send,
    RS: Send,
    Timer: Send

impl<EN, RS, D4, D5, D6, D7, Timer> Sync for LCD1602<EN, RS, D4, D5, D6, D7, Timer> where
    D4: Sync,
    D5: Sync,
    D6: Sync,
    D7: Sync,
    EN: Sync,
    RS: Sync,
    Timer: Sync

impl<EN, RS, D4, D5, D6, D7, Timer> Unpin for LCD1602<EN, RS, D4, D5, D6, D7, Timer> where
    D4: Unpin,
    D5: Unpin,
    D6: Unpin,
    D7: Unpin,
    EN: Unpin,
    RS: Unpin,
    Timer: Unpin

Blanket Implementations

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

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

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

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

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

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

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

pub fn from(t: T) -> T[src]

Performs the conversion.

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

pub fn into(self) -> U[src]

Performs the conversion.

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.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

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.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.