rcbench
Servo and ESC test bench: panel, IOmcu and shared C
Loading...
Searching...
No Matches
hitec_pre_dec_t Struct Reference

Decoder state for one receive. More...

#include <hitec_pre.h>

Data Fields

uint32_t window
uint32_t at
uint32_t waited
uint32_t start [HITEC_RX_MAX]
uint8_t value [HITEC_RX_MAX]
uint16_t framing
uint8_t n
uint8_t max_rx
uint8_t phase
uint8_t end

Detailed Description

Decoder state for one receive.

Field Documentation

◆ at

uint32_t hitec_pre_dec_t::at

the next sample to look at

◆ end

uint8_t hitec_pre_dec_t::end

◆ framing

uint16_t hitec_pre_dec_t::framing

bit k: byte k's stop bit read high

◆ max_rx

uint8_t hitec_pre_dec_t::max_rx

bytes at which the decoder ends

◆ n

uint8_t hitec_pre_dec_t::n

bytes decoded so far

◆ phase

uint8_t hitec_pre_dec_t::phase

◆ start

uint32_t hitec_pre_dec_t::start[HITEC_RX_MAX]

each byte's first high sample

◆ value

uint8_t hitec_pre_dec_t::value[HITEC_RX_MAX]

decoded byte values

◆ waited

uint32_t hitec_pre_dec_t::waited

waiting samples so far

◆ window

uint32_t hitec_pre_dec_t::window

waiting samples the window allows


The documentation for this struct was generated from the following file: