no-OS
Loading...
Searching...
No Matches
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:

Classes

struct  iio_ch_info
 Structure holding channel attributess. 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 ,
  IIO_MAGN ,
  IIO_INCLI ,
  IIO_VELOCITY ,
  IIO_ANGL ,
  IIO_ROT ,
  IIO_COUNT ,
  IIO_DELTA_ANGL ,
  IIO_DELTA_VELOCITY ,
  IIO_WEIGHT ,
  IIO_POWER
}
 
enum  iio_modifier {
  IIO_NO_MOD ,
  IIO_MOD_X ,
  IIO_MOD_Y ,
  IIO_MOD_Z ,
  IIO_MOD_TEMP_AMBIENT ,
  IIO_MOD_PITCH ,
  IIO_MOD_YAW ,
  IIO_MOD_ROLL
}
 
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.

SPDX-License-Identifier: BSD-3-Clause

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

enum iio_chan_type
Enumerator
IIO_VOLTAGE 
IIO_CURRENT 
IIO_ALTVOLTAGE 
IIO_ANGL_VEL 
IIO_TEMP 
IIO_CAPACITANCE 
IIO_ACCEL 
IIO_RESISTANCE 
IIO_MAGN 
IIO_INCLI 
IIO_VELOCITY 
IIO_ANGL 
IIO_ROT 
IIO_COUNT 
IIO_DELTA_ANGL 
IIO_DELTA_VELOCITY 
IIO_WEIGHT 
IIO_POWER 

◆ iio_modifier

enum iio_modifier
Enumerator
IIO_NO_MOD 
IIO_MOD_X 
IIO_MOD_Y 
IIO_MOD_Z 
IIO_MOD_TEMP_AMBIENT 
IIO_MOD_PITCH 
IIO_MOD_YAW 
IIO_MOD_ROLL 

◆ 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