[][src]Struct tm1637::TM1637

pub struct TM1637<'a, CLK, DIO, D> { /* fields omitted */ }

Methods

impl<'a, CLK, DIO, D, E> TM1637<'a, CLK, DIO, D> where
    CLK: OutputPin<Error = E>,
    DIO: InputPin<Error = E> + OutputPin<Error = E>,
    D: DelayUs<u16>, 
[src]

pub fn new(clk: &'a mut CLK, dio: &'a mut DIO, delay: &'a mut D) -> Self[src]

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

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

pub fn print_raw(&mut self, address: u8, bytes: &[u8]) -> Result<(), Error<E>>[src]

pub fn print_hex(&mut self, address: u8, digits: &[u8]) -> Result<(), Error<E>>[src]

pub fn print_raw_iter<Iter: Iterator<Item = u8>>(
    &mut self,
    address: u8,
    bytes: Iter
) -> Result<(), Error<E>>
[src]

pub fn set_brightness(&mut self, level: u8) -> Result<(), Error<E>>[src]

Auto Trait Implementations

impl<'a, CLK, DIO, D> Send for TM1637<'a, CLK, DIO, D> where
    CLK: Send,
    D: Send,
    DIO: Send

impl<'a, CLK, DIO, D> Sync for TM1637<'a, CLK, DIO, D> where
    CLK: Sync,
    D: Sync,
    DIO: Sync

impl<'a, CLK, DIO, D> Unpin for TM1637<'a, CLK, DIO, D>

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.