![]() |
![]() |
#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 "afdxutils.h"
#include "dirconfig.h"
#include "ccurutils.h"
#include "rtdbutils.h"
#include "simerrors.h"
Functions | |
void * | ccurAFDX_outGetNextMessageAddress () |
void * | ccurAFDX_aitOutGetNextMessageAddress () |
int | ccurAFDX_outputQueueMap (int init) |
int | ccurAFDX_aitOutputQueueMap (int init) |
int | ccurAFDX_outputQPutData (unsigned char boardNum, unsigned short vlId, const char *msgName, int msgLen) |
int | ccurAFDX_aitOutputQPutData (unsigned char boardNum, unsigned short vlId, const char *msgName, int msgLen) |
int | ccurAFDX_outputQPutCommand (unsigned char boardNum, unsigned char operation, unsigned short vlId, const char *msgName, int parm) |
int | ccurAFDX_aitOutputQPutCommand (unsigned char boardNum, unsigned char operation, unsigned short vlId, const char *msgName, int parm) |
int | ccurAFDX_outputQGet (AFDXOutQElement *e, unsigned char **buffer) |
int | ccurAFDX_aitOutputQGet (AFDXOutQElement *e, unsigned char **buffer) |
int | ccurAFDX_readSpeed (int boardId, int boardNum, int *speed) |
int | ccurAFDX_readVirtualLinks (int boardId, int boardNum, int vlType, IOAFDXVirtualLink **afdxVLinks, int *nVLinks) |
int | ccurAFDX_readMessages (int boardId, int boardNum, int vlId, int vlType, IOAFDXMessage **afdxMessages, int *nMessages) |
void* ccurAFDX_outGetNextMessageAddress | ( | ) |
Return the address of the next available AFDX message buffer in the output queue.
The caller must fill the buffer with the AFDX data and then call ccurFADX_outputQPut to place the element in the queue.
void* ccurAFDX_aitOutGetNextMessageAddress | ( | ) |
int ccurAFDX_outputQueueMap | ( | int | init | ) |
int ccurAFDX_aitOutputQueueMap | ( | int | init | ) |
int ccurAFDX_outputQPutData | ( | unsigned char | boardNum, | |
unsigned short | vlId, | |||
const char * | msgName, | |||
int | msgLen | |||
) |
int ccurAFDX_aitOutputQPutData | ( | unsigned char | boardNum, | |
unsigned short | vlId, | |||
const char * | msgName, | |||
int | msgLen | |||
) |
int ccurAFDX_outputQPutCommand | ( | unsigned char | boardNum, | |
unsigned char | operation, | |||
unsigned short | vlId, | |||
const char * | msgName, | |||
int | parm | |||
) |
int ccurAFDX_aitOutputQPutCommand | ( | unsigned char | boardNum, | |
unsigned char | operation, | |||
unsigned short | vlId, | |||
const char * | msgName, | |||
int | parm | |||
) |
int ccurAFDX_outputQGet | ( | AFDXOutQElement * | e, | |
unsigned char ** | buffer | |||
) |
int ccurAFDX_aitOutputQGet | ( | AFDXOutQElement * | e, | |
unsigned char ** | buffer | |||
) |
int ccurAFDX_readSpeed | ( | int | boardId, | |
int | boardNum, | |||
int * | speed | |||
) |
int ccurAFDX_readVirtualLinks | ( | int | boardId, | |
int | boardNum, | |||
int | vlType, | |||
IOAFDXVirtualLink ** | afdxVLinks, | |||
int * | nVLinks | |||
) |
int ccurAFDX_readMessages | ( | int | boardId, | |
int | boardNum, | |||
int | vlId, | |||
int | vlType, | |||
IOAFDXMessage ** | afdxMessages, | |||
int * | nMessages | |||
) |