no-OS
Loading...
Searching...
No Matches
iiod_private.h File Reference

Private header file of iiod. More...

#include "iio.h"
Include dependency graph for iiod_private.h:

Classes

struct  iiod_str
 
struct  comand_desc
 
struct  iiod_buff
 
struct  iiod_run_cmd_result
 
struct  iiod_conn_priv
 
struct  iiod_desc
 

Macros

#define IIOD_WR   0x1
 
#define IIOD_ENDL   0x2
 
#define IIOD_RD   0x4
 
#define IIOD_PARSER_MAX_BUF_SIZE   128
 
#define IIOD_STR(cmd)
 
#define IIOD_CTX(desc, conn)
 

Enumerations

enum  iiod_cmd {
  IIOD_CMD_HELP ,
  IIOD_CMD_EXIT ,
  IIOD_CMD_PRINT ,
  IIOD_CMD_VERSION ,
  IIOD_CMD_TIMEOUT ,
  IIOD_CMD_OPEN ,
  IIOD_CMD_CLOSE ,
  IIOD_CMD_READ ,
  IIOD_CMD_WRITE ,
  IIOD_CMD_READBUF ,
  IIOD_CMD_WRITEBUF ,
  IIOD_CMD_GETTRIG ,
  IIOD_CMD_SETTRIG ,
  IIOD_CMD_SET
}
 

Detailed Description

Private header file of iiod.

Author
Mihail Chindris (mihai.nosp@m.l.ch.nosp@m.indri.nosp@m.s@an.nosp@m.alog..nosp@m.com)

Copyright 2022(c) Analog Devices, Inc.

SPDX-License-Identifier: BSD-3-Clause

Macro Definition Documentation

◆ IIOD_CTX

#define IIOD_CTX ( desc,
conn )
Value:
{.instance = (desc)->app_instance,\
.conn = (conn)->conn}

◆ IIOD_ENDL

#define IIOD_ENDL   0x2

◆ IIOD_PARSER_MAX_BUF_SIZE

#define IIOD_PARSER_MAX_BUF_SIZE   128

◆ IIOD_RD

#define IIOD_RD   0x4

◆ IIOD_STR

#define IIOD_STR ( cmd)
Value:
{(cmd), sizeof(cmd) - 1}

◆ IIOD_WR

#define IIOD_WR   0x1

Enumeration Type Documentation

◆ iiod_cmd

enum iiod_cmd
Enumerator
IIOD_CMD_HELP 
IIOD_CMD_EXIT 
IIOD_CMD_PRINT 
IIOD_CMD_VERSION 
IIOD_CMD_TIMEOUT 
IIOD_CMD_OPEN 
IIOD_CMD_CLOSE 
IIOD_CMD_READ 
IIOD_CMD_WRITE 
IIOD_CMD_READBUF 
IIOD_CMD_WRITEBUF 
IIOD_CMD_GETTRIG 
IIOD_CMD_SETTRIG 
IIOD_CMD_SET