[][src]Struct infrared::hal::PeriodicReceiver5

pub struct PeriodicReceiver5<RECV1, RECV2, RECV3, RECV4, RECV5, PIN> { /* fields omitted */ }

Receiver for five protocols

Implementations

impl<PIN, PINERR, RECV1, CMD1, RECV2, CMD2, RECV3, CMD3, RECV4, CMD4, RECV5, CMD5> PeriodicReceiver5<RECV1, RECV2, RECV3, RECV4, RECV5, PIN> where
    PIN: InputPin<Error = PINERR>,
    RECV1: ReceiverSM<Cmd = CMD1>,
    RECV2: ReceiverSM<Cmd = CMD2>,
    RECV3: ReceiverSM<Cmd = CMD3>,
    RECV4: ReceiverSM<Cmd = CMD4>,
    RECV5: ReceiverSM<Cmd = CMD5>,
    CMD1: Command,
    CMD2: Command,
    CMD3: Command,
    CMD4: Command,
    CMD5: Command
[src]

pub fn new(pin: PIN, samplerate: u32) -> Self[src]

pub fn destroy(self) -> PIN[src]

pub fn poll(
    &mut self
) -> Result<(Option<CMD1>, Option<CMD2>, Option<CMD3>, Option<CMD4>, Option<CMD5>), PINERR>
[src]

Auto Trait Implementations

impl<RECV1, RECV2, RECV3, RECV4, RECV5, PIN> Send for PeriodicReceiver5<RECV1, RECV2, RECV3, RECV4, RECV5, PIN> where
    PIN: Send,
    RECV1: Send,
    RECV2: Send,
    RECV3: Send,
    RECV4: Send,
    RECV5: Send
[src]

impl<RECV1, RECV2, RECV3, RECV4, RECV5, PIN> Sync for PeriodicReceiver5<RECV1, RECV2, RECV3, RECV4, RECV5, PIN> where
    PIN: Sync,
    RECV1: Sync,
    RECV2: Sync,
    RECV3: Sync,
    RECV4: Sync,
    RECV5: Sync
[src]

impl<RECV1, RECV2, RECV3, RECV4, RECV5, PIN> Unpin for PeriodicReceiver5<RECV1, RECV2, RECV3, RECV4, RECV5, PIN> where
    PIN: Unpin,
    RECV1: Unpin,
    RECV2: Unpin,
    RECV3: Unpin,
    RECV4: Unpin,
    RECV5: Unpin
[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.