12 static constexpr size_t introLength = 0U;
13 static constexpr size_t endingLength = 0U;
39 static void emit(
unsigned int t,
unsigned int& index,
int& pending,
microseconds_t *repeat);
40 static void emitMsb(
unsigned int x,
unsigned int length,
unsigned int& index,
42 static void emitEnd(
unsigned int& index,
int& pending,
microseconds_t *repeat);
uint16_t microseconds_t
Type for durations in micro seconds.
uint32_t frequency_t
Type for modulation frequency in Hz.
This class models an IR signal with intro-, repeat-, and ending sequences.
A static class consisting of two functions that generate IrSignal-s from the RC5 protocol parameters.
static const IrSignal * newIrSignal(unsigned int D, unsigned int F, unsigned int T)
Generates an RC5 signal from the RC5 parameters.