26#if !defined(_SPANDSP_PRIVATE_ASYNC_H_)
27#define _SPANDSP_PRIVATE_ASYNC_H_
void(* span_put_byte_func_t)(void *user_data, int byte)
Definition async.h:115
int(* span_get_byte_func_t)(void *user_data)
Definition async.h:119
Definition private/async.h:63
int16_t data_bits
The number of data bits per character.
Definition private/async.h:65
int parity_errors
Definition private/async.h:83
int framing_errors
Definition private/async.h:85
uint16_t frame_in_progress
A current, partially complete, character.
Definition private/async.h:78
bool use_v14
True if V.14 rate adaption processing should be performed.
Definition private/async.h:71
span_put_byte_func_t put_byte
A pointer to the callback routine used to handle received characters.
Definition private/async.h:73
int16_t parity
The type of parity.
Definition private/async.h:67
int16_t bitpos
The current bit position within a partially complete character.
Definition private/async.h:80
int16_t total_data_bits
Total number of bits per frame, including any parity bit.
Definition private/async.h:69
void * user_data
An opaque pointer passed when calling put_byte.
Definition private/async.h:75
Definition private/async.h:35
int16_t total_data_bits
Total number of bits per frame, including any parity bit.
Definition private/async.h:41
void * user_data
An opaque pointer passed when calling get_byte.
Definition private/async.h:47
uint16_t frame_in_progress
A current, partially transmitted, character with its optional parity bit attached.
Definition private/async.h:52
int16_t total_bits
Total number of bits per frame, including any parity bit and the stop bits.
Definition private/async.h:43
int16_t data_bits
The number of data bits per character.
Definition private/async.h:37
int presend_bits
The minimum number of stop bits to send before character transmission begins.
Definition private/async.h:49
int16_t parity
The type of parity.
Definition private/async.h:39
span_get_byte_func_t get_byte
A pointer to the callback routine used to get characters to be transmitted.
Definition private/async.h:45
int16_t bitpos
The current bit position within a partially transmitted character.
Definition private/async.h:54