v27ter_rx_state_t Struct Reference

#include <v27ter_rx.h>

List of all members.

Public Attributes

int bit_rate
 The bit rate of the modem. Valid values are 2400 and 4800.
put_bit_func_t put_bit
 The callback function used to put each bit received.
void * put_bit_user_data
 A user specified opaque pointer passed to the put_bit routine.
modem_rx_status_func_t status_handler
 The callback function used to report modem status changes.
void * status_user_data
 A user specified opaque pointer passed to the status function.
qam_report_handler_t qam_report
 A callback function which may be enabled to report every symbol's constellation position.
void * qam_user_data
 A user specified opaque pointer passed to the qam_report callback routine.
float rrc_filter [V27TER_RX_FILTER_STEPS]
 The route raised cosine (RRC) pulse shaping filter buffer.
int rrc_filter_step
 Current offset into the RRC pulse shaping filter buffer.
unsigned int scramble_reg
 The register for the training and data scrambler.
int scrambler_pattern_count
 A counter for the number of consecutive bits of repeating pattern through the scrambler.
int training_bc
 The current step in the table of BC constellation positions.
int old_train
 TRUE if the previous trained values are to be reused.
int training_stage
 The section of the training data we are currently in.
int training_count
 A count of how far through the current training step we are.
float training_error
 A measure of how much mismatch there is between the real constellation, and the decoded symbol positions.
int16_t last_sample
 The value of the last signal sample, using the a simple HPF for signal power estimation.
int signal_present
 >0 if a signal above the minimum is present. It may or may not be a V.27ter signal.
int carrier_drop_pending
 Whether or not a carrier drop was detected and the signal delivery is pending.
int low_samples
 A count of the current consecutive samples below the carrier off threshold.
int16_t high_sample
 A highest magnitude sample seen.
int constellation_state
 The position of the current symbol in the constellation, used for differential decoding.
uint32_t carrier_phase
 The current phase of the carrier (i.e. the DDS parameter).
int32_t carrier_phase_rate
 The update rate for the phase of the carrier (i.e. the DDS increment).
int32_t carrier_phase_rate_save
 The carrier update rate saved for reuse when using short training.
float carrier_track_p
 The proportional part of the carrier tracking filter.
float carrier_track_i
 The integral part of the carrier tracking filter.
power_meter_t power
 A power meter, to measure the HPF'ed signal power in the channel.
int32_t carrier_on_power
 The power meter level at which carrier on is declared.
int32_t carrier_off_power
 The power meter level at which carrier off is declared.
int eq_step
 Current read offset into the equalizer buffer.
int eq_put_step
 Current write offset into the equalizer buffer.
int eq_skip
 Symbol counter to the next equalizer update.
int baud_half
 The current half of the baud.
float agc_scaling
 The scaling factor accessed by the AGC algorithm.
float agc_scaling_save
 The previous value of agc_scaling, needed to reuse old training.
float eq_delta
 The current delta factor for updating the equalizer coefficients.
complexf_t eq_coeff [V27TER_EQUALIZER_PRE_LEN+1+V27TER_EQUALIZER_POST_LEN]
 The adaptive equalizer coefficients.
complexf_t eq_coeff_save [V27TER_EQUALIZER_PRE_LEN+1+V27TER_EQUALIZER_POST_LEN]
 A saved set of adaptive equalizer coefficients for use after restarts.
complexf_t eq_buf [V27TER_EQUALIZER_PRE_LEN+1+V27TER_EQUALIZER_POST_LEN]
 The equalizer signal buffer.
int gardner_integrate
 Integration variable for damping the Gardner algorithm tests.
int gardner_step
 Current step size of Gardner algorithm integration.
int total_baud_timing_correction
 The total symbol timing correction since the carrier came up. This is only for performance analysis purposes.
int32_t start_angles [2]
 Starting phase angles for the coarse carrier aquisition step.
int32_t angles [16]
 History list of phase angles for the coarse carrier aquisition step.
logging_state_t logging
 Error and flow logging control.


Detailed Description

V.27ter modem receive side descriptor. This defines the working state for a single instance of a V.27ter modem receiver.
The documentation for this struct was generated from the following file:

Generated on Tue Oct 7 20:25:53 2008 for spandsp by  doxygen 1.5.6