pub struct Sk68xx<'a, P: Pin, const T0H: usize> { /* private fields */ }Expand description
The single-wire, tri-color (RGB) LED.
The pulses need to be calibrated based on the clock speed of the chip.
T0H: Number of nops needed for about 0.28 us. This is then scaled forT0L,T1H, andT1L.
Implementations§
Auto Trait Implementations§
impl<'a, P, const T0H: usize> !Freeze for Sk68xx<'a, P, T0H>
impl<'a, P, const T0H: usize> !RefUnwindSafe for Sk68xx<'a, P, T0H>
impl<'a, P, const T0H: usize> Send for Sk68xx<'a, P, T0H>where
P: Sync,
impl<'a, P, const T0H: usize> !Sync for Sk68xx<'a, P, T0H>
impl<'a, P, const T0H: usize> Unpin for Sk68xx<'a, P, T0H>
impl<'a, P, const T0H: usize> UnwindSafe for Sk68xx<'a, P, T0H>where
P: RefUnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more