Cascoda SDK
Cascoda SDK for building software to run with CA-821x transceivers
ca821x_exchange_base Struct Reference

Base structure for exchange private data collections. More...

#include <posix/ca821x-posix/include/ca821x-posix/ca821x-types.h>

Collaboration diagram for ca821x_exchange_base:

Public Attributes

enum ca821x_exchange_type exchange_type
 Which exchange is connected to this device. More...
 
ca821x_errorhandler error_callback
 Exchange error callback. More...
 
exchange_user_callback user_callback
 User unhandled command callback. More...
 
exchange_write write_func
 Exchange write callback. More...
 
exchange_write_isready write_isready_func
 Exchange write isready callback. More...
 
exchange_signal_read signal_func
 Exchange write signalling callback. More...
 
exchange_read read_func
 Exchange read callback. More...
 
exchange_flush_unread flush_func
 Exchange flush callback. More...
 
pthread_t io_thread
 Thread for io handling. More...
 
int io_thread_runflag
 flag to shutdown io thread More...
 
pthread_mutex_t flag_mutex
 mutex for generic flag handling More...
 
pthread_cond_t sync_cond
 condition variable for synchronous exchanges More...
 
pthread_mutex_t sync_mutex
 mutex for synchronous exchanges More...
 
struct buffer_queue in_buffer_queue out_buffer_queue
 queues More...
 
struct EVBME_callbacks evbme_callbacks
 EVBME Callback struct. More...
 
int flash_fd
 File descriptor for persistent storage file. More...
 
uint32_t base_address
 Base address of persistent storage. More...
 
uint32_t used_size
 Size of used persistent storage. More...
 

Detailed Description

Base structure for exchange private data collections.

Member Data Documentation

◆ base_address

uint32_t ca821x_exchange_base::base_address

Base address of persistent storage.

◆ error_callback

ca821x_errorhandler ca821x_exchange_base::error_callback

Exchange error callback.

◆ evbme_callbacks

struct EVBME_callbacks ca821x_exchange_base::evbme_callbacks

EVBME Callback struct.

◆ exchange_type

enum ca821x_exchange_type ca821x_exchange_base::exchange_type

Which exchange is connected to this device.

◆ flag_mutex

pthread_mutex_t ca821x_exchange_base::flag_mutex

mutex for generic flag handling

◆ flash_fd

int ca821x_exchange_base::flash_fd

File descriptor for persistent storage file.

◆ flush_func

exchange_flush_unread ca821x_exchange_base::flush_func

Exchange flush callback.

◆ io_thread

pthread_t ca821x_exchange_base::io_thread

Thread for io handling.

◆ io_thread_runflag

int ca821x_exchange_base::io_thread_runflag

flag to shutdown io thread

◆ out_buffer_queue

struct buffer_queue in_buffer_queue ca821x_exchange_base::out_buffer_queue

queues

◆ read_func

exchange_read ca821x_exchange_base::read_func

Exchange read callback.

◆ signal_func

exchange_signal_read ca821x_exchange_base::signal_func

Exchange write signalling callback.

◆ sync_cond

pthread_cond_t ca821x_exchange_base::sync_cond

condition variable for synchronous exchanges

◆ sync_mutex

pthread_mutex_t ca821x_exchange_base::sync_mutex

mutex for synchronous exchanges

◆ used_size

uint32_t ca821x_exchange_base::used_size

Size of used persistent storage.

◆ user_callback

exchange_user_callback ca821x_exchange_base::user_callback

User unhandled command callback.

◆ write_func

exchange_write ca821x_exchange_base::write_func

Exchange write callback.

◆ write_isready_func

exchange_write_isready ca821x_exchange_base::write_isready_func

Exchange write isready callback.


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