asyn
4-37
|
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <errno.h>
#include <math.h>
#include <epicsTypes.h>
#include <epicsTime.h>
#include <epicsThread.h>
#include <epicsString.h>
#include <epicsTimer.h>
#include <epicsMutex.h>
#include <epicsEvent.h>
#include <iocsh.h>
#include "testAsynPortDriver.h"
#include <epicsExport.h>
Macros | |
#define | FREQUENCY 1000 /* Frequency in Hz */ |
#define | AMPLITUDE 1.0 /* Plus and minus peaks of sin wave */ |
#define | NUM_DIVISIONS 10 /* Number of scope divisions in X and Y */ |
#define | MIN_UPDATE_TIME 0.02 /* Minimum update time, to prevent CPU saturation */ |
#define | MAX_ENUM_STRING_SIZE 20 |
Functions | |
void | simTask (void *drvPvt) |
int | testAsynPortDriverConfigure (const char *portName, int maxPoints) |
EPICS iocsh callable function to call constructor for the testAsynPortDriver class. More... | |
void | testAsynPortDriverRegister (void) |
epicsExportRegistrar (testAsynPortDriverRegister) | |
#define AMPLITUDE 1.0 /* Plus and minus peaks of sin wave */ |
#define FREQUENCY 1000 /* Frequency in Hz */ |
#define MAX_ENUM_STRING_SIZE 20 |
#define MIN_UPDATE_TIME 0.02 /* Minimum update time, to prevent CPU saturation */ |
#define NUM_DIVISIONS 10 /* Number of scope divisions in X and Y */ |
epicsExportRegistrar | ( | testAsynPortDriverRegister | ) |
void simTask | ( | void * | drvPvt | ) |
int testAsynPortDriverConfigure | ( | const char * | portName, |
int | maxPoints | ||
) |
EPICS iocsh callable function to call constructor for the testAsynPortDriver class.
[in] | portName | The name of the asyn port driver to be created. |
[in] | maxPoints | The maximum number of points in the volt and time arrays |
void testAsynPortDriverRegister | ( | void | ) |