Struct burst_despreader_state_t¶
ClassList > burst_despreader_state_t
BurstDespreader state. More...
#include <burst_despreader_core.h>
Public Attributes¶
| Type | Name |
|---|---|
| float _Complex | acc_e |
| float _Complex | acc_l |
| float _Complex | acc_p |
| uint8_t * | acq_code |
| size_t | acq_reps |
| size_t | acq_sf |
| double | car_phase |
| double | car_w |
| double | chip_pos |
| uint8_t * | code |
| double | code_rate |
| loop_filter_state_t | lf_car |
| loop_filter_state_t | lf_code |
| double | lock_metric |
| size_t | preamble_left |
| double | seed_chip |
| double | seed_w |
| size_t | sf |
| double | snr_est |
| size_t | sps |
| size_t | stat_n |
| double | sum_im2 |
| double | sum_lock |
| double | sum_re2 |
| size_t | tsamps |
Detailed Description¶
Allocate with burst_despreader_create().
Public Attributes Documentation¶
variable acc_e¶
early correlator accumulator.
variable acc_l¶
late correlator accumulator.
variable acc_p¶
prompt correlator accumulator.
variable acq_code¶
owned acq code, NULL if payload-only.
variable acq_reps¶
preamble periods to track before payload.
variable acq_sf¶
acq code length, chips/period.
variable car_phase¶
current carrier phase, radians.
variable car_w¶
current carrier angular freq, rad/sample.
variable chip_pos¶
prompt code position within symbol, chips.
variable code¶
owned spreading code, 0/1, length sf.
variable code_rate¶
chips advanced per nominal chip (~1.0).
variable lf_car¶
carrier (Costas) loop.
variable lf_code¶
code (DLL) loop.
variable lock_metric¶
mean of |Re P|/|P| over the burst (~1 locked, ~2/pi with no carrier).
variable preamble_left¶
preamble periods still to consume.
variable seed_chip¶
create-time code phase, chips, for reset.
variable seed_w¶
create-time carrier angular freq, rad/sample.
variable sf¶
spreading factor = code length, chips/symbol.
variable snr_est¶
accumulate-then-ratio post-despread SNR: (sum Re^2 - sum Im^2)/sum Im^2, clamped >= 0.
variable sps¶
samples per chip (>= 2).
variable stat_n¶
prompts folded into the burst statistics.
variable sum_im2¶
running sum of Im(P)^2.
variable sum_lock¶
running sum of |Re P|/|P|.
variable sum_re2¶
running sum of Re(P)^2.
variable tsamps¶
sf*sps, symbol period in samples.
The documentation for this class was generated from the following file native/inc/burst_despreader/burst_despreader_core.h