spandsp 3.0.0
async_rx_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.
bool use_v14
 True if V.14 rate adaption processing should be performed.
span_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.
uint16_t frame_in_progress
 A current, partially complete, character.
int16_t bitpos
 The current bit position within a partially complete character.
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

◆ framing_errors

int async_rx_state_s::framing_errors

A count of the number of character framing errors seen.

Referenced by async_rx_init(), and async_rx_put_bit().

◆ parity_errors

int async_rx_state_s::parity_errors

A count of the number of parity errors seen.

Referenced by async_rx_init(), and async_rx_put_bit().


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