43#if defined(NO_OS_LWIP_NETWORKING)
44#include "lwip_socket.h"
47#define IIO_APP_DEVICE(_name, _dev, _dev_descriptor, _read_buff, _write_buff, _default_trigger_id) {\
50 .dev_descriptor = _dev_descriptor,\
51 .read_buff = _read_buff,\
52 .write_buff = _write_buff,\
53 .default_trigger_id = _default_trigger_id\
47#define IIO_APP_DEVICE(_name, _dev, _dev_descriptor, _read_buff, _write_buff, _default_trigger_id) {\ …
56#define IIO_APP_TRIGGER(_name, _trig, _trig_descriptor) {\
59 .descriptor = _trig_descriptor,\
56#define IIO_APP_TRIGGER(_name, _trig, _trig_descriptor) {\ …
92#ifdef NO_OS_LWIP_NETWORKING
93 struct lwip_network_desc *lwip_desc;
123#ifdef NO_OS_LWIP_NETWORKING
124 struct lwip_network_param lwip_param;
int iio_app_remove(struct iio_app_desc *app)
int iio_app_run(struct iio_app_desc *app)
int iio_app_init(struct iio_app_desc **app, struct iio_app_init_param app_init_param)
Header file of Delay functions.
Header file of IRQ interface.
Header file of UART interface.
IIO application descriptor.
Definition iio_app.h:80
struct no_os_uart_desc * uart_desc
Definition iio_app.h:82
void * arg
Definition iio_app.h:90
void * irq_desc
Definition iio_app.h:84
struct iio_desc * iio_desc
Definition iio_app.h:86
int(* post_step_callback)(void *arg)
Definition iio_app.h:88
struct iio_device * dev_descriptor
Definition iio_app.h:70
char * name
Definition iio_app.h:68
void * dev
Definition iio_app.h:69
char * default_trigger_id
Definition iio_app.h:73
struct iio_data_buffer * write_buff
Definition iio_app.h:72
struct iio_data_buffer * read_buff
Definition iio_app.h:71
IIO application descriptor initialization parameters.
Definition iio_app.h:101
uint32_t nb_ctx_attr
Definition iio_app.h:105
int(* post_step_callback)(void *arg)
Definition iio_app.h:119
int32_t nb_trigs
Definition iio_app.h:113
struct iio_trigger_init * trigs
Definition iio_app.h:111
struct no_os_uart_init_param uart_init_params
Definition iio_app.h:115
void * irq_desc
Definition iio_app.h:117
uint32_t nb_devices
Definition iio_app.h:109
struct iio_app_device * devices
Definition iio_app.h:107
void * arg
Definition iio_app.h:121
struct iio_ctx_attr * ctx_attrs
Definition iio_app.h:103
Structure holding the context attribute members.
Definition iio.h:78
void * buff
Definition iio_app.h:64
uint32_t size
Definition iio_app.h:63
Structure holding channels and attributes of a device.
Definition iio_types.h:238
Stucture holding the UART descriptor.
Definition no_os_uart.h:122
Structure holding the parameters for UART initialization.
Definition no_os_uart.h:98