[−][src]Trait infrared::ReceiverSM
Receiver state machine
Associated Types
Loading content...Required methods
pub fn create() -> Self
[src]
Create a new ReceiverSM
pub fn event(&mut self, edge: bool, dt: u32) -> Self::InternalState
[src]
Add event to the state machine
edge
: true = positive edge, false = negative edgedt
: Time in micro seconds since last transition
pub fn command(&self) -> Option<Self::Cmd>
[src]
Get the command Returns the data if State == Done, otherwise None
pub fn reset(&mut self)
[src]
Reset the state machine