TwiceAsNice  2019-02-18
Macros | Functions
main.h File Reference
#include "hpdi32.h"
#include "hpdi32_dsl.h"
#include "hpdi32_utils.h"
#include "gsc_utils.h"
Include dependency graph for main.h:
This graph shows which files directly or indirectly include this file:

Macros

#define VERSION   "1.0"
 
#define ARRAY_ELEMENTS(a)   (sizeof((a))/sizeof((a)[0]))
 
#define SCAN_ALMOST_EMPTY_SIZE   0x1
 
#define SCAN_ALMOST_FULL_SIZE   0x2
 
#define SCAN_WRITE_SIZE   0x4
 

Functions

int tx_rate (int fd, __s32 io_mode, int seconds, int scan)
 

Macro Definition Documentation

◆ ARRAY_ELEMENTS

#define ARRAY_ELEMENTS (   a)    (sizeof((a))/sizeof((a)[0]))

◆ SCAN_ALMOST_EMPTY_SIZE

#define SCAN_ALMOST_EMPTY_SIZE   0x1

◆ SCAN_ALMOST_FULL_SIZE

#define SCAN_ALMOST_FULL_SIZE   0x2

◆ SCAN_WRITE_SIZE

#define SCAN_WRITE_SIZE   0x4

◆ VERSION

#define VERSION   "1.0"

Function Documentation

◆ tx_rate()

int tx_rate ( int  fd,
__s32  io_mode,
int  seconds,
int  scan 
)