precision-converters-firmware
|
Pocket lab GUI event handling. More...
#include <stdbool.h>
#include <stdio.h>
#include <string.h>
#include "pl_gui_events.h"
#include "pl_gui_views.h"
#include "no_os_delay.h"
Enumerations | |
enum | pl_gui_capture_state { PL_GUI_PREPARE_CAPTURE , PL_GUI_START_CAPTURE , PL_GUI_END_CAPTURE } |
Functions | |
void | pl_gui_lvgl_tick_update (uint32_t tick_time) |
Update lvgl tick timer. 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_event_handle (uint32_t tick_time) |
Handle lvgl GUI events. More... | |
Pocket lab GUI event handling.
Copyright (c) 2023 Analog Devices, Inc.
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.
enum pl_gui_capture_state |
void pl_gui_event_handle | ( | uint32_t | tick_time | ) |
Handle lvgl GUI events.
tick_time[in] | - tick time in msec |
int32_t pl_gui_event_read | ( | uint8_t * | buf, |
uint32_t | len | ||
) |
Read the pocket lab GUI event and form (an IIO) command string.
buf[in] | - I/O buffer |
len[in] | - Number of bytes to read |
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.
buf[in] | - I/O buffer |
len[in] | - Number of bytes to write |
void pl_gui_lvgl_tick_update | ( | uint32_t | tick_time | ) |
Update lvgl tick timer.
tick_time[in] | - tick time in msec |