Struct despreader_state_t¶
ClassList > despreader_state_t
Despreader state. More...
#include <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 | tsamps |
Detailed Description¶
Allocate with 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¶
EMA of |Re P|/|P|, ~1 when phase-locked.
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¶
EMA SNR estimate from the prompt symbols.
variable sps¶
samples per chip (>= 2).
variable tsamps¶
sf*sps, symbol period in samples.
The documentation for this class was generated from the following file native/inc/despreader/despreader_core.h