MCPcopy Create free account
hub / github.com/Arduino-IRremote/Arduino-IRremote / resume

Method resume

src/IRReceive.hpp:494–499  ·  view source on GitHub ↗

* Restart the ISR (Interrupt Service Routine) state machine, to enable receiving of the next IR frame. * Internal counting of gap timing is independent of StateForISR and therefore independent of call time of resume(). */

Source from the content-addressed store, hash-verified

492 * Internal counting of gap timing is independent of StateForISR and therefore independent of call time of resume().
493 */
494void IRrecv::resume() {
495 // This check allows to call resume at arbitrary places or more than once
496 if (irparams.StateForISR == IR_REC_STATE_STOP) {
497 irparams.StateForISR = IR_REC_STATE_IDLE;
498 }
499}
500
501/**
502 * Is internally called by decode before calling decoders.

Callers 3

timerConfigForReceiveFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected