precision-converters-firmware
Functions
pl_gui_events.h File Reference

Pocket lab GUI event handling headers. More...

#include <stdint.h>
#include "pl_gui_iio_wrapper.h"
Include dependency graph for pl_gui_events.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void pl_gui_lvgl_tick_update (uint32_t tick_time)
 Update lvgl tick timer. More...
 
void pl_gui_event_handle (uint32_t tick_time)
 Handle lvgl GUI events. More...
 
int32_t pl_gui_event_read (uint8_t *buf, uint32_t len)
 Read the pocket lab GUI event and form (an IIO) command string. More...
 
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. More...
 
void pl_gui_store_chn_info (struct scan_type *ch_info, uint32_t chn_indx)
 Store the channel info. More...
 

Detailed Description

Pocket lab GUI event handling headers.

Copyright (c) 2023 Analog Devices, Inc. All rights reserved.

This software is proprietary to Analog Devices, Inc. and its licensors. By using this software you agree to the terms of the associated Analog Devices Software License Agreement.

Function Documentation

◆ pl_gui_event_handle()

void pl_gui_event_handle ( uint32_t  tick_time)

Handle lvgl GUI events.

Parameters
tick_time[in]- tick time in msec
Returns
None

◆ pl_gui_event_read()

int32_t pl_gui_event_read ( uint8_t *  buf,
uint32_t  len 
)

Read the pocket lab GUI event and form (an IIO) command string.

Parameters
buf[in]- I/O buffer
len[in]- Number of bytes to read
Returns
Number of bytes read

◆ pl_gui_event_write()

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.

Parameters
buf[in]- I/O buffer
len[in]- Number of bytes to write
Returns
Number of bytes written

◆ pl_gui_lvgl_tick_update()

void pl_gui_lvgl_tick_update ( uint32_t  tick_time)

Update lvgl tick timer.

Parameters
tick_time[in]- tick time in msec
Returns
None

◆ pl_gui_store_chn_info()

void pl_gui_store_chn_info ( struct scan_type *  ch_info,
uint32_t  chn_indx 
)

Store the channel info.

Parameters
ch_info[in]- Channel information
chn_indx[in]- Channel index
Returns
None