Real-Time API Revision2025.1-3
Loading...
Searching...
No Matches
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

Macros

#define PTR(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

Macro Definition Documentation

◆ PTR

#define PTR ( p)
Value:
((Header *)&pFDXOutputQueue->pool[p])
struct _header Header

Typedef Documentation

◆ Header

typedef struct _header Header

Function Documentation

◆ ccurFDXIO_outputQueueMap()

int ccurFDXIO_outputQueueMap ( int init)

◆ ccurFDXIO_outputQPutData()

int ccurFDXIO_outputQPutData ( unsigned char boardNum,
unsigned int groupId,
unsigned char * msgBuf,
int msgLen,
unsigned char type )

◆ ccurFDXIO_outputQFreeBuf()

void ccurFDXIO_outputQFreeBuf ( FDXOutQElement * e)

◆ ccurFDXIO_outputQGet()

int ccurFDXIO_outputQGet ( FDXOutQElement * e,
unsigned char ** buffer )

◆ ccurFDXIO_readMessages()

int ccurFDXIO_readMessages ( int boardNum,
int dir,
IOFDXMessage ** fdxMessages,
int * nMessages )

Variable Documentation

◆ base

Header base