VSF Documented
Data Fields
vsf_stream_adapter_t Class Reference

#include <vsf_simple_stream.h>

Data Fields

vsf_stream_tstream_tx
 
vsf_stream_tstream_rx
 
uint32_t threshold_tx
 
uint32_t threshold_rx
 
uint_fast32_t(* on_data )(vsf_stream_adapter_t *adapter, uint_fast32_t tx_data_size, uint_fast32_t rx_free_size)
 

Detailed Description

vsf steam adapter class, used to connect 2 streams

Note
stream terminal connection: stream_tx.rx <==> stream_rx.tx data flow: stream_tx ==> adapter ==> stream_rx IMPORTANT: tx of stream_tx and rx of stream_rx can not be pre-empted by each other

Field Documentation

◆ stream_tx

vsf_stream_t* vsf_stream_adapter_t::stream_tx

◆ stream_rx

vsf_stream_t* vsf_stream_adapter_t::stream_rx

◆ threshold_tx

uint32_t vsf_stream_adapter_t::threshold_tx

◆ threshold_rx

uint32_t vsf_stream_adapter_t::threshold_rx

◆ on_data

uint_fast32_t(* vsf_stream_adapter_t::on_data) (vsf_stream_adapter_t *adapter, uint_fast32_t tx_data_size, uint_fast32_t rx_free_size)