26#if !defined(_SPANDSP_PRIVATE_V27TER_TX_H_)
27#define _SPANDSP_PRIVATE_V27TER_TX_H_
30#define V27TER_TX_FILTER_STEPS 9
50#if defined(SPANDSP_USE_FIXED_POINT)
57 int16_t rrc_filter_im[V27TER_TX_FILTER_STEPS];
65 float rrc_filter_im[V27TER_TX_FILTER_STEPS];
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
struct logging_state_s logging_state_t
Definition logging.h:72
Definition private/v27ter_tx.h:37
int bit_rate
The bit rate of the modem. Valid values are 2400 and 4800.
Definition private/v27ter_tx.h:39
int32_t carrier_phase_rate
The update rate for the phase of the carrier (i.e. the DDS increment).
Definition private/v27ter_tx.h:85
uint32_t scramble_reg
The register for the training and data scrambler.
Definition private/v27ter_tx.h:72
get_bit_func_t get_bit
The callback function used to get the next bit to be transmitted.
Definition private/v27ter_tx.h:41
void * get_bit_user_data
A user specified opaque pointer passed to the get_bit function.
Definition private/v27ter_tx.h:43
bool in_training
True if transmitting the training sequence, or shutting down transmission. False if transmitting user...
Definition private/v27ter_tx.h:78
int baud_phase
The current fractional phase of the baud timing.
Definition private/v27ter_tx.h:87
modem_status_func_t status_handler
The callback function used to report modem status changes.
Definition private/v27ter_tx.h:46
get_bit_func_t current_get_bit
The get_bit function in use at any instant.
Definition private/v27ter_tx.h:91
float gain_2400
The gain factor needed to achieve the specified output power at 2400bps.
Definition private/v27ter_tx.h:60
int scrambler_pattern_count
A counter for the number of consecutive bits of repeating pattern through the scrambler.
Definition private/v27ter_tx.h:75
int rrc_filter_step
Current offset into the RRC pulse shaping filter buffer.
Definition private/v27ter_tx.h:69
logging_state_t logging
Error and flow logging control.
Definition private/v27ter_tx.h:93
int training_step
A counter used to track progress through sending the training sequence.
Definition private/v27ter_tx.h:80
void * status_user_data
A user specified opaque pointer passed to the status function.
Definition private/v27ter_tx.h:48
int constellation_state
The code number for the current position in the constellation.
Definition private/v27ter_tx.h:89
uint32_t carrier_phase
The current phase of the carrier (i.e. the DDS parameter).
Definition private/v27ter_tx.h:83
float rrc_filter_re[9]
The root raised cosine (RRC) pulse shaping filter buffer.
Definition private/v27ter_tx.h:64
float gain_4800
The gain factor needed to achieve the specified output power at 4800bps.
Definition private/v27ter_tx.h:62