18#ifndef __VSF_PBUF_QUEUE_H__
19#define __VSF_PBUF_QUEUE_H__
24#if VSF_USE_STREAM == ENABLED
26#include "../interface.h"
28#include "../pbuf/vsf_pbuf.h"
34#define __PLOOC_CLASS_USE_STRICT_TEMPLATE__
36#if defined(__VSF_PBUF_QUEUE_CLASS_IMPLEMENT)
37# define __PLOOC_CLASS_IMPLEMENT__
38# undef __VSF_PBUF_QUEUE_CLASS_IMPLEMENT
39#elif defined(__VSF_PBUF_QUEUE_CLASS_INHERIT__)
40# define __PLOOC_CLASS_INHERIT__
41# undef __VSF_PBUF_QUEUE_CLASS_INHERIT__
64#if !defined(VSF_PBUF_QUEUE_CFG_ATOM_ACCESS)
85 #if !defined(VSF_PBUF_QUEUE_CFG_ATOM_ACCESS)
93end_def_class(vsf_stream_fifo_t)
#define VSF_CAL_SECTION(__SEC)
Definition __compiler.h:181
vsf_err_t
Definition __type.h:42
i_stream_pbuf_tx_t TX
Definition interface.h:99
struct vsf_stream_tx_t vsf_stream_tx_t
Definition interface.h:34
vsf_pbuf_t * pblock
Definition interface.h:90
unsigned int uint32_t
Definition lvgl.h:43
Definition vsf_arch_abstraction.h:54
Definition vsf_list.h:896
Definition interface.h:55
Definition interface.h:44
Definition interface.h:108
Definition interface.h:60
vsf_err_t vsf_stream_fifo_init(vsf_stream_fifo_t *obj_ptr, vsf_stream_fifo_cfg_t *cfg_ptr)
Definition vsf_pbuf_queue.c:109
vsf_stream_fifo_cfg_t
Definition vsf_pbuf_queue.h:67
vsf_err_t vsf_pbuf_queue_data_available_event_register(vsf_stream_fifo_t *obj_ptr, vsf_stream_dat_rdy_evt_t tEventHandling)
Definition vsf_pbuf_queue.c:243
vsf_pbuf_t * vsf_pbuf_queue_peek(vsf_stream_fifo_t *obj_ptr)
Definition vsf_pbuf_queue.c:189
vsf_err_t vsf_pbuf_queue_data_drain_event_register(vsf_stream_fifo_t *obj_ptr, vsf_stream_dat_drn_evt_t tEventHandling)
Definition vsf_pbuf_queue.c:252
declare_class(vsf_stream_fifo_t) typedef struct vsf_stream_fifo_cfg_t
Definition vsf_pbuf_queue.h:54
vsf_stream_fifo_cfg_t * cfg_ptr
Definition vsf_pbuf_queue.h:100
def_class(vsf_stream_fifo_t, which(vsf_stream_tx_t TX;vsf_stream_rx_t RX;), private:vsf_slist_queue_t union { vsf_stream_fifo_cfg_t cfg;struct { vsf_stream_dat_rdy_evt_t tDataReadyEventHandling;vsf_stream_dat_drn_evt_t tDataDrainEventHandling;vsf_stream_status_t Status;#if !defined(VSF_PBUF_QUEUE_CFG_ATOM_ACCESS) vsf_protect_region_t *pregion;#endif };};) end_def_class(vsf_stream_fifo_t) extern vsf_err_t vsf_stream_fifo_init(vsf_stream_fifo_t *obj_ptr
vsf_pbuf_t * vsf_pbuf_queue_dequeue(vsf_stream_fifo_t *obj_ptr)
Definition vsf_pbuf_queue.c:203
vsf_err_t vsf_pbuf_queue_enqueue(vsf_stream_fifo_t *obj_ptr, vsf_pbuf_t *pblock)
Definition vsf_pbuf_queue.c:137
which(union { inherit(vsf_msgt_container_t) vsf_tgui_control_t };vsf_tgui_v_container_t) implement_ex(struct
Definition vsf_tgui_control.h:562