22#if VSF_HAL_USE_DEBUG_STREAM == ENABLED
24#if VSF_USE_SIMPLE_STREAM == ENABLED
25# define __VSF_SIMPLE_STREAM_CLASS_INHERIT__
34#if VSF_USE_SIMPLE_STREAM == ENABLED
35static void __vsf_debug_stream_tx_init(
vsf_stream_t *stream);
44#if VSF_USE_SIMPLE_STREAM == ENABLED
46 .
init = __vsf_debug_stream_tx_init,
47 .write = __vsf_debug_stream_tx_write,
48 .get_data_length = __vsf_debug_stream_tx_stream_get_data_length,
49 .get_avail_length = __vsf_debug_stream_tx_stream_get_avail_length,
55#if VSF_USE_SIMPLE_STREAM == ENABLED
57 .
op = &__vsf_debug_stream_tx_op,
59#elif VSF_USE_STREAM == ENABLED
64#if VSF_USE_SIMPLE_STREAM == ENABLED
65static void __vsf_debug_stream_tx_init(
vsf_stream_t *stream)
67 __VSF_DEBUG_STREAM_TX_INIT();
73 __VSF_DEBUG_STREAM_TX_WRITE_BLOCKED(buf,
size);
87#elif VSF_USE_STREAM == ENABLED
vsf_stream_t VSF_DEBUG_STREAM_TX
Definition NuConsole_stream.c:83
Definition vsf_simple_stream.h:176
void(* init)(vsf_stream_t *stream)
Definition vsf_simple_stream.h:221
Definition vsf_simple_stream.h:254
vsf_stream_op_t const * op
Definition vsf_simple_stream.h:262
void vsf_stream_connect_rx(vsf_stream_t *stream)
Definition vsf_simple_stream.c:170
unsigned char uint8_t
Definition lvgl.h:40
unsigned int uint_fast32_t
Definition stdint.h:27
uint32_t size
Definition vsf_memfs.h:50