no-OS
Classes | Macros | Enumerations
iio_types.h File Reference

Header file for iio_types. More...

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

Go to the source code of this file.

Classes

struct  iio_ch_info
 Structure holding channel attributess. More...
 
struct  iio_context_attribute
 Structure holding the context attribute members. More...
 
struct  iio_attribute
 Structure holding pointers to show and store functions. More...
 
struct  scan_type
 
struct  iio_channel
 Struct describing the scan type. More...
 
struct  iio_cyclic_buffer_info
 
struct  iio_buffer
 
struct  iio_device_data
 
struct  iio_trigger
 
struct  iio_device
 Structure holding channels and attributes of a device. More...
 

Macros

#define END_ATTRIBUTES_ARRAY   {.name = NULL}
 

Enumerations

enum  iio_val {
  IIO_VAL_INT = 1,
  IIO_VAL_INT_PLUS_MICRO,
  IIO_VAL_INT_PLUS_NANO,
  IIO_VAL_INT_PLUS_MICRO_DB,
  IIO_VAL_INT_MULTIPLE,
  IIO_VAL_FRACTIONAL = 10,
  IIO_VAL_FRACTIONAL_LOG2,
  IIO_VAL_CHAR
}
 
enum  iio_chan_type {
  IIO_VOLTAGE,
  IIO_CURRENT,
  IIO_ALTVOLTAGE,
  IIO_ANGL_VEL,
  IIO_TEMP,
  IIO_CAPACITANCE,
  IIO_ACCEL,
  IIO_RESISTANCE
}
 
enum  iio_modifier {
  IIO_NO_MOD,
  IIO_MOD_X,
  IIO_MOD_Y,
  IIO_MOD_Z,
  IIO_MOD_TEMP_AMBIENT
}
 
enum  iio_attribute_shared {
  IIO_SEPARATE,
  IIO_SHARED_BY_TYPE,
  IIO_SHARED_BY_DIR,
  IIO_SHARED_BY_ALL
}
 
enum  iio_buffer_direction {
  IIO_DIRECTION_INPUT,
  IIO_DIRECTION_OUTPUT
}
 

Detailed Description

Header file for iio_types.

Author
Cristian Pop (crist.nosp@m.ian..nosp@m.pop@a.nosp@m.nalo.nosp@m.g.com)

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.

Macro Definition Documentation

◆ END_ATTRIBUTES_ARRAY

#define END_ATTRIBUTES_ARRAY   {.name = NULL}

Enumeration Type Documentation

◆ iio_attribute_shared

Enumerator
IIO_SEPARATE 
IIO_SHARED_BY_TYPE 
IIO_SHARED_BY_DIR 
IIO_SHARED_BY_ALL 

◆ iio_buffer_direction

Enumerator
IIO_DIRECTION_INPUT 
IIO_DIRECTION_OUTPUT 

◆ iio_chan_type

Enumerator
IIO_VOLTAGE 
IIO_CURRENT 
IIO_ALTVOLTAGE 
IIO_ANGL_VEL 
IIO_TEMP 
IIO_CAPACITANCE 
IIO_ACCEL 
IIO_RESISTANCE 

◆ iio_modifier

Enumerator
IIO_NO_MOD 
IIO_MOD_X 
IIO_MOD_Y 
IIO_MOD_Z 
IIO_MOD_TEMP_AMBIENT 

◆ iio_val

enum iio_val
Enumerator
IIO_VAL_INT 
IIO_VAL_INT_PLUS_MICRO 
IIO_VAL_INT_PLUS_NANO 
IIO_VAL_INT_PLUS_MICRO_DB 
IIO_VAL_INT_MULTIPLE 
IIO_VAL_FRACTIONAL 
IIO_VAL_FRACTIONAL_LOG2 
IIO_VAL_CHAR