spandsp 0.0.6
async_tx_state_s Struct Reference

#include <async.h>

Public Attributes

int data_bits
 The number of data bits per character.
int parity
 The type of parity.
int stop_bits
 The number of stop bits per character.
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.
unsigned int byte_in_progress
 A current, partially transmitted, character.
int bitpos
 The current bit position within a partially transmitted character.
int parity_bit
 Parity bit.

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.

Member Data Documentation

◆ bitpos

int async_tx_state_s::bitpos

The current bit position within a partially transmitted character.

Referenced by async_tx_init().

◆ byte_in_progress

unsigned int async_tx_state_s::byte_in_progress

A current, partially transmitted, character.

Referenced by async_tx_init().

◆ data_bits

int async_tx_state_s::data_bits

The number of data bits per character.

Referenced by async_tx_init().

◆ get_byte

get_byte_func_t async_tx_state_s::get_byte

A pointer to the callback routine used to get characters to be transmitted.

Referenced by async_tx_init().

◆ parity

int async_tx_state_s::parity

The type of parity.

Referenced by async_tx_init().

◆ parity_bit

int async_tx_state_s::parity_bit

Parity bit.

Referenced by async_tx_init().

◆ stop_bits

int async_tx_state_s::stop_bits

The number of stop bits per character.

Referenced by async_tx_init().

◆ user_data

void* async_tx_state_s::user_data

An opaque pointer passed when calling get_byte.

Referenced by async_tx_init().


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