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