7 uint32_t min_split_time;
9 uint16_t preamble_mark;
10 uint16_t preamble_space;
15 uint32_t preamble_tolerance;
16 uint32_t bit_tolerance;
21 uint8_t address_length;
22 uint8_t command_length;
30typedef void* (*InfraredAlloc)(void);
31typedef void (*InfraredFree)(
void*);
33typedef void (*InfraredDecoderReset)(
void*);
34typedef InfraredMessage* (*InfraredDecode)(
void* ctx,
bool level, uint32_t duration);
37typedef void (*InfraredEncoderReset)(
void* encoder,
const InfraredMessage* message);
38typedef InfraredStatus (*InfraredEncode)(
void* encoder, uint32_t* out,
bool* polarity);
40static inline uint8_t reverse(uint8_t value) {
41 uint8_t reverse_value = 0;
42 for(
int i = 0; i < 8; ++i) {
43 reverse_value |= (value & (0x01 << i)) ? 1 << (7 - i) : 0;
Definition infrared_i.h:19
Definition infrared_i.h:6