[][src]Struct pygamer::pins::Neopixel

pub struct Neopixel {
    pub neopixel: Pa15<Input<Floating>>,
}

Neopixel pins

Fields

neopixel: Pa15<Input<Floating>>

Implementations

impl Neopixel[src]

pub fn init<T: CountDown + Periodic>(
    self,
    timer: T,
    port: &mut Port
) -> Ws2812<T, OldOutputPin<Pa15<Output<PushPull>>>>
[src]

Convenience for setting up the onboard neopixels using the provided Timer preconfigured to 3mhz.

Auto Trait Implementations

impl Send for Neopixel

impl Sync for Neopixel

impl Unpin for Neopixel

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> Same<T> for T

type Output = T

Should always be Self

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.