async_rx_state_t Struct Reference

#include <async.h>

List of all members.

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.
int use_v14
 TRUE if V.14 rate adaption processing should be performed.
put_byte_func_t put_byte
 A pointer to the callback routine used to handle received characters.
void * user_data
 An opaque pointer passed when calling put_byte.
int byte_in_progress
 A current, partially complete, character.
int bitpos
 The current bit position within a partially complete character.
int parity_bit
 Parity bit.
int parity_errors
int framing_errors


Detailed Description

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

Member Data Documentation

A count of the number of parity errors seen.

Referenced by async_rx_init(), and async_rx_put_bit().

A count of the number of character framing errors seen.

Referenced by async_rx_init(), and async_rx_put_bit().


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