|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
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 |
Decoder state for one receive.
| uint32_t hitec_pre_dec_t::at |
the next sample to look at
| uint8_t hitec_pre_dec_t::end |
| uint16_t hitec_pre_dec_t::framing |
bit k: byte k's stop bit read high
| uint8_t hitec_pre_dec_t::max_rx |
bytes at which the decoder ends
| uint8_t hitec_pre_dec_t::n |
bytes decoded so far
| uint8_t hitec_pre_dec_t::phase |
| uint32_t hitec_pre_dec_t::start[HITEC_RX_MAX] |
each byte's first high sample
| uint8_t hitec_pre_dec_t::value[HITEC_RX_MAX] |
decoded byte values
| uint32_t hitec_pre_dec_t::waited |
waiting samples so far
| uint32_t hitec_pre_dec_t::window |
waiting samples the window allows