7#define MATCH_TIMING(x, v, delta) (((x) < ((v) + (delta))) && ((x) > ((v) - (delta))))
15typedef InfraredStatus (
20 bool manchester_start_from_space;
21 uint8_t databit_len[4];
22 InfraredCommonDecode decode;
23 InfraredCommonDecodeRepeat decode_repeat;
24 InfraredCommonInterpret interpret;
25 InfraredCommonEncode encode;
26 InfraredCommonEncode encode_repeat;
30 InfraredCommonDecoderStateWaitPreamble,
31 InfraredCommonDecoderStateDecode,
32 InfraredCommonDecoderStateProcessRepeat,
33} InfraredCommonStateDecoder;
36 InfraredCommonEncoderStateSilence,
37 InfraredCommonEncoderStatePreamble,
38 InfraredCommonEncoderStateEncode,
39 InfraredCommonEncoderStateEncodeRepeat,
40} InfraredCommonStateEncoder;
47 InfraredCommonStateDecoder state;
57 InfraredCommonStateEncoder state;
59 uint8_t bits_to_encode;
62 uint32_t timings_encoded;
82InfraredStatus infrared_common_encode_manchester(
Definition infrared_common_i.h:42
Definition infrared_common_i.h:55
Definition infrared_common_i.h:18
Definition infrared_i.h:6