28#if !defined(_SPANDSP_PRIVATE_V17TX_H_)
29#define _SPANDSP_PRIVATE_V17TX_H_
32#define V17_TX_FILTER_STEPS 9
52#if defined(SPANDSP_USE_FIXED_POINT)
void(* modem_status_func_t)(void *user_data, int status)
Definition: async.h:113
int(* get_bit_func_t)(void *user_data)
Definition: async.h:110
#define V17_TX_FILTER_STEPS
Definition: private/v17tx.h:32
Definition: private/logging.h:34
Definition: private/v17tx.h:39
void * get_bit_user_data
A user specified opaque pointer passed to the get_bit function.
Definition: private/v17tx.h:45
int32_t carrier_phase_rate
The update rate for the phase of the carrier (i.e. the DDS increment).
Definition: private/v17tx.h:94
int rrc_filter_step
Current offset into the RRC pulse shaping filter buffer.
Definition: private/v17tx.h:71
uint32_t scramble_reg
The register for the data scrambler.
Definition: private/v17tx.h:81
int convolution
The current state of the convolutional encoder.
Definition: private/v17tx.h:76
logging_state_t logging
Error and flow logging control.
Definition: private/v17tx.h:104
float rrc_filter_re[9]
The root raised cosine (RRC) pulse shaping filter buffer.
Definition: private/v17tx.h:66
int training_step
A counter used to track progress through sending the training sequence.
Definition: private/v17tx.h:89
void * status_user_data
A user specified opaque pointer passed to the status function.
Definition: private/v17tx.h:50
uint32_t carrier_phase
The current phase of the carrier (i.e. the DDS parameter).
Definition: private/v17tx.h:92
modem_status_func_t status_handler
The callback function used to report modem status changes.
Definition: private/v17tx.h:48
int diff
The current state of the differential encoder.
Definition: private/v17tx.h:74
const complexf_t * constellation
A pointer to the constellation currently in use.
Definition: private/v17tx.h:64
bool in_training
True if transmitting the training sequence. False if transmitting user data.
Definition: private/v17tx.h:85
int bit_rate
The bit rate of the modem. Valid values are 4800, 7200 and 9600.
Definition: private/v17tx.h:41
int bits_per_symbol
The current number of data bits per symbol. This does not include the redundant bit.
Definition: private/v17tx.h:100
get_bit_func_t current_get_bit
The get_bit function in use at any instant.
Definition: private/v17tx.h:102
bool short_train
True if the short training sequence is to be used.
Definition: private/v17tx.h:87
get_bit_func_t get_bit
The callback function used to get the next bit to be transmitted.
Definition: private/v17tx.h:43
int baud_phase
The current fractional phase of the baud timing.
Definition: private/v17tx.h:96
int constellation_state
The code number for the current position in the constellation.
Definition: private/v17tx.h:78
int scrambler_tap
Scrambler tap.
Definition: private/v17tx.h:83
float gain
The gain factor needed to achieve the specified output power.
Definition: private/v17tx.h:62