Skip to content

Struct SYN_IR_Decoder

ClassList > SYN_IR_Decoder

Non-blocking IR Decoder Handle.

  • #include <syn_ir.h>

Public Attributes

Type Name
SYN_IR_Protocol active_proto
uint8_t bit_idx
uint64_t bits
uint8_t expected_bits
bool have_last
SYN_IR_Frame last_frame
uint16_t last_mark_us
uint16_t last_space_us
bool manchester_phase
SYN_IR_FsmState state

Public Attributes Documentation

variable active_proto

SYN_IR_Protocol SYN_IR_Decoder::active_proto;

Protocol currently being decoded


variable bit_idx

uint8_t SYN_IR_Decoder::bit_idx;

Number of bits accumulated


variable bits

uint64_t SYN_IR_Decoder::bits;

Bit shift register


variable expected_bits

uint8_t SYN_IR_Decoder::expected_bits;

Total expected bits for active protocol


variable have_last

bool SYN_IR_Decoder::have_last;

True if a frame has been decoded


variable last_frame

SYN_IR_Frame SYN_IR_Decoder::last_frame;

Last successfully decoded frame


variable last_mark_us

uint16_t SYN_IR_Decoder::last_mark_us;

Last mark pulse duration


variable last_space_us

uint16_t SYN_IR_Decoder::last_space_us;

Last space pulse duration


variable manchester_phase

bool SYN_IR_Decoder::manchester_phase;

Manchester phase tracking


variable state

SYN_IR_FsmState SYN_IR_Decoder::state;

Current FSM state



The documentation for this class was generated from the following file src/syntropic/proto/syn_ir.h