SIMulation Workbench Documentation SIMulation Workbench Documentation

fdxioutils.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <fcntl.h>
#include <errno.h>
#include <unistd.h>
#include <pthread.h>
#include <sys/mman.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <sys/types.h>
#include "simrtdb.h"
#include "fdxioutils.h"
#include "dirconfig.h"
#include "ccurutils.h"
#include "rtdbutils.h"
Include dependency graph for fdxioutils.c:

Data Structures

struct  _header

Defines

#define PTR(p)   ((Header *)&pFDXOutputQueue->pool[p])

Typedefs

typedef struct _header Header

Functions

int ccurFDXIO_outputQueueMap (int init)
int ccurFDXIO_outputQPutData (unsigned char boardNum, unsigned int groupId, unsigned char *msgBuf, int msgLen, unsigned char type)
void ccurFDXIO_outputQFreeBuf (FDXOutQElement *e)
int ccurFDXIO_outputQGet (FDXOutQElement *e, unsigned char **buffer)
int ccurFDXIO_readMessages (int boardNum, int dir, IOFDXMessage **fdxMessages, int *nMessages)

Variables

Header base

Define Documentation

#define PTR (  )     ((Header *)&pFDXOutputQueue->pool[p])

Typedef Documentation

typedef struct _header Header

Function Documentation

int ccurFDXIO_outputQueueMap ( int  init  ) 
int ccurFDXIO_outputQPutData ( unsigned char  boardNum,
unsigned int  groupId,
unsigned char *  msgBuf,
int  msgLen,
unsigned char  type 
)
void ccurFDXIO_outputQFreeBuf ( FDXOutQElement *  e  ) 
int ccurFDXIO_outputQGet ( FDXOutQElement *  e,
unsigned char **  buffer 
)
int ccurFDXIO_readMessages ( int  boardNum,
int  dir,
IOFDXMessage **  fdxMessages,
int *  nMessages 
)

Variable Documentation