Struct tlc5940::TlcController[][src]

pub struct TlcController<Pin> { /* fields omitted */ }

Implementations

impl<Pin, Error> TlcController<Pin> where
    Pin: GpioOut<Error = Error>, 
[src]

pub fn new(
    sin: Pin,
    sclk: Pin,
    blank: Pin,
    xlat: Pin,
    gsclk: Pin,
    len: usize
) -> Result<Self, Error>
[src]

pub fn set_channel(&mut self, channel: usize, color: u16)[src]

pub fn set_all(&mut self, value: u16)[src]

pub fn clear(&mut self)[src]

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

Auto Trait Implementations

impl<Pin> RefUnwindSafe for TlcController<Pin> where
    Pin: RefUnwindSafe
[src]

impl<Pin> Send for TlcController<Pin> where
    Pin: Send
[src]

impl<Pin> Sync for TlcController<Pin> where
    Pin: Sync
[src]

impl<Pin> Unpin for TlcController<Pin> where
    Pin: Unpin
[src]

impl<Pin> UnwindSafe for TlcController<Pin> where
    Pin: UnwindSafe
[src]

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.