precision-converters-firmware
pl_gui_events.h
Go to the documentation of this file.
1 /*************************************************************************/
13 #ifndef _PL_GUI_EVENTS_
14 #define _PL_GUI_EVENTS_
15 
16 /******************************************************************************/
17 /***************************** Include Files **********************************/
18 /******************************************************************************/
19 
20 #include <stdint.h>
21 #include "pl_gui_iio_wrapper.h"
22 
23 /******************************************************************************/
24 /********************** Macros and Constants Definition ***********************/
25 /******************************************************************************/
26 
27 /******************************************************************************/
28 /************************ Public Declarations *********************************/
29 /******************************************************************************/
30 
31 void pl_gui_lvgl_tick_update(uint32_t tick_time);
32 void pl_gui_event_handle(uint32_t tick_time);
33 int32_t pl_gui_event_read(uint8_t *buf, uint32_t len);
34 int32_t pl_gui_event_write(uint8_t *buf, uint32_t len);
35 void pl_gui_store_chn_info(struct scan_type *ch_info, uint32_t chn_indx);
36 
37 #endif // _PL_GUI_EVENTS_
void pl_gui_store_chn_info(struct scan_type *ch_info, uint32_t chn_indx)
Store the channel info.
Definition: pl_gui_views.c:540
void pl_gui_event_handle(uint32_t tick_time)
Handle lvgl GUI events.
Definition: pl_gui_events.c:208
int32_t pl_gui_event_write(uint8_t *buf, uint32_t len)
Form the response for previous pocket lab GUI event (an IIO) command string.
Definition: pl_gui_events.c:163
void pl_gui_lvgl_tick_update(uint32_t tick_time)
Update lvgl tick timer.
Definition: pl_gui_events.c:66
int32_t pl_gui_event_read(uint8_t *buf, uint32_t len)
Read the pocket lab GUI event and form (an IIO) command string.
Definition: pl_gui_events.c:77
Pocket lab GUI IIO wrapper interfaces.