nidas v1.2.3
Classes | Macros | Typedefs | Functions | Variables
twod.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <fcntl.h>
#include <unistd.h>
#include <arpa/inet.h>
#include "../usbtwod.h"

Classes

struct  P2d_rec
 

Macros

#define P2D_DATA   4096 /* PMS 2D image buffer array size */
 

Typedefs

typedef struct P2d_rec P2d_rec
 

Functions

int sendTAS (float tas)
 
int main ()
 

Variables

int fd
 

Macro Definition Documentation

◆ P2D_DATA

#define P2D_DATA   4096 /* PMS 2D image buffer array size */

Typedef Documentation

◆ P2d_rec

typedef struct P2d_rec P2d_rec

Function Documentation

◆ main()

int main ( )

References buffer, fclose(), fd, printf(), and sendTAS().

◆ sendTAS()

int sendTAS ( float tas)

References fd, P2d_rec::tas, and USB2D_SET_TAS.

Referenced by main().

Variable Documentation

◆ fd

int fd