spandsp  3.0.0
async_tx_state_s Struct Reference

#include <async.h>

Public Attributes

int16_t data_bits
 The number of data bits per character.
 
int16_t parity
 The type of parity.
 
int16_t total_data_bits
 Total number of bits per frame, including any parity bit.
 
int16_t total_bits
 Total number of bits per frame, including any parity bit and the stop bits.
 
span_get_byte_func_t get_byte
 A pointer to the callback routine used to get characters to be transmitted.
 
void * user_data
 An opaque pointer passed when calling get_byte.
 
int presend_bits
 The minimum number of stop bits to send before character transmission begins.
 
uint16_t frame_in_progress
 A current, partially transmitted, character with its optional parity bit attached.
 
int16_t bitpos
 The current bit position within a partially transmitted character.
 

Detailed Description

Asynchronous data transmit descriptor. This defines the state of a single working instance of a byte to asynchronous serial converter, for use in FSK modems.


The documentation for this struct was generated from the following file: