Struct tlc5940::TlcController [−][src]
Implementations
impl<Pin, Error> TlcController<Pin> where
Pin: GpioOut<Error = Error>,
[src]
Pin: GpioOut<Error = Error>,
pub fn new(
sin: Pin,
sclk: Pin,
blank: Pin,
xlat: Pin,
gsclk: Pin,
len: usize
) -> Result<Self, Error>
[src]
sin: Pin,
sclk: Pin,
blank: Pin,
xlat: Pin,
gsclk: Pin,
len: usize
) -> Result<Self, Error>
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]
Pin: RefUnwindSafe,
impl<Pin> Send for TlcController<Pin> where
Pin: Send,
[src]
Pin: Send,
impl<Pin> Sync for TlcController<Pin> where
Pin: Sync,
[src]
Pin: Sync,
impl<Pin> Unpin for TlcController<Pin> where
Pin: Unpin,
[src]
Pin: Unpin,
impl<Pin> UnwindSafe for TlcController<Pin> where
Pin: UnwindSafe,
[src]
Pin: UnwindSafe,
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>,