no-OS
|
Header file of iio_app. More...
#include "iio.h"
#include "no_os_irq.h"
#include "no_os_uart.h"
#include "no_os_error.h"
#include "no_os_delay.h"
Go to the source code of this file.
Classes | |
struct | iio_data_buffer |
struct | iio_app_device |
struct | iio_app_desc |
IIO application descriptor. More... | |
struct | iio_app_init_param |
IIO application descriptor initialization parameters. More... | |
Macros | |
#define | IIO_APP_DEVICE(_name, _dev, _dev_descriptor, _read_buff, _write_buff) |
#define | IIO_APP_TRIGGER(_name, _trig, _trig_descriptor) |
Functions | |
int | iio_app_init (struct iio_app_desc **app, struct iio_app_init_param app_init_param) |
int | iio_app_run (struct iio_app_desc *app) |
int | iio_app_remove (struct iio_app_desc *app) |
Header file of iio_app.
Copyright 2013(c) Analog Devices, Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
THIS SOFTWARE IS PROVIDED BY ANALOG DEVICES "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ANALOG DEVICES BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, INTELLECTUAL PROPERTY RIGHTS, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define IIO_APP_DEVICE | ( | _name, | |
_dev, | |||
_dev_descriptor, | |||
_read_buff, | |||
_write_buff | |||
) |
#define IIO_APP_TRIGGER | ( | _name, | |
_trig, | |||
_trig_descriptor | |||
) |
int iio_app_init | ( | struct iio_app_desc ** | app, |
struct iio_app_init_param | app_init_param | ||
) |
Register devices for an IIO application
int iio_app_remove | ( | struct iio_app_desc * | app | ) |
Remove resources allocated by the IIO application
int iio_app_run | ( | struct iio_app_desc * | app | ) |
Start an IIO application