26#if !defined(_SPANDSP_PRIVATE_ASYNC_H_)
27#define _SPANDSP_PRIVATE_ASYNC_H_
int(* get_byte_func_t)(void *user_data)
Definition async.h:104
void(* put_byte_func_t)(void *user_data, int byte)
Definition async.h:101
Definition private/async.h:65
int parity
The type of parity.
Definition private/async.h:69
int parity_errors
Definition private/async.h:87
int framing_errors
Definition private/async.h:89
int data_bits
The number of data bits per character.
Definition private/async.h:67
int bitpos
The current bit position within a partially complete character.
Definition private/async.h:82
bool use_v14
True if V.14 rate adaption processing should be performed.
Definition private/async.h:73
int32_t byte_in_progress
A current, partially complete, character.
Definition private/async.h:80
int stop_bits
The number of stop bits per character.
Definition private/async.h:71
int parity_bit
Parity bit.
Definition private/async.h:84
put_byte_func_t put_byte
A pointer to the callback routine used to handle received characters.
Definition private/async.h:75
void * user_data
An opaque pointer passed when calling put_byte.
Definition private/async.h:77
Definition private/async.h:35
int parity
The type of parity.
Definition private/async.h:39
void * user_data
An opaque pointer passed when calling get_byte.
Definition private/async.h:47
int stop_bits
The number of stop bits per character.
Definition private/async.h:41
int presend_bits
The minimum number of stop bits to send before character transmission begins.
Definition private/async.h:49
int data_bits
The number of data bits per character.
Definition private/async.h:37
int bitpos
The current bit position within a partially transmitted character.
Definition private/async.h:54
int total_bits
Total number of bits per character, including the parity and stop bits.
Definition private/async.h:43
get_byte_func_t get_byte
A pointer to the callback routine used to get characters to be transmitted.
Definition private/async.h:45
int32_t byte_in_progress
A current, partially transmitted, character.
Definition private/async.h:52
int parity_bit
Parity bit.
Definition private/async.h:56