#include "lsfDefines.h"
#include "slamac.h"
Include dependency graph for tacDefines.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Defines | |
#define | tacVERSION "$Revision: 1.38 $" |
#define | tacVERSION_DATE "APR2003" |
#define | tacMODULE_ID "tac" |
#define | tacMODULE_NAME tacMODULE_ID |
#define | tacMODULE_TITLE "Tools for Advanced Control" |
#define | tacLOG_ID 101 |
#define | tacSYNCHRO_NO_SYNC_CONTEXT "NO_SYNC" |
#define | tacSYNCHRO_AUX_CLK_CONTEXT "AUX_CLK" |
#define | tacSYNCHRO_SEMAPHORE_CONTEXT "TASK" |
#define | tacSYNCHRO_INT_CONTEXT "INT" |
#define | tacIO_BASE_ADDR 0xfbff0000 |
#define | tacMAX_NAME_SIZE 48 |
#define | tacMAX_DATA_NUMBER 10 |
#define | tacMAX_PARAM_NUMBER 10 |
#define | tacMAX_PARAM_SIZE tacMAX_PARAM_NUMBER*sizeof(double) |
#define | tacMAX_BLOCK_NUMBER 256 |
#define | tacMAX_LINK_NUMBER 256 |
#define | tacMAX_BLOCK_TYPE_NUMBER 80 |
#define | tacPI DPI |
#define | tacINT_VME_BUS 0 |
#define | tacINT_PCI_BUS 1 |
#define | tacINT_MASK 0xff |
#define | tacRTC_ERR(errNumber, string) |
#define | tacRTC_ERR_ADD(tacError) |
#define | tacRtcDefineInterrupt(synchro, busType, intLevel, intVector) |
#define | tacRtcIsPCIInterrupt(synchro) (synchro.interrupt.level > tacINT_MASK) |
#define | tacRtcIsVMEInterrupt(synchro) (synchro.interrupt.level <= tacINT_MASK) |
#define | tacRtcGetInterruptLevel(synchro) (synchro.interrupt.level & tacINT_MASK) |
#define | tacRtcDefineSemaphore(synchro, semaphore, taskLevel) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Value: { \ error->errNum = errNumber; \ strcpy(error->location, __FILE_LINE__); \ sprintf(error->param, "%.40s",string); \ } \ |
|
Value: { \ errAdd(error,tacMODULE_ID,tacError.errNum,tacError.location,"",tacError.param); \ } \ |
|
Value: { \ synchro.type = tacSYNCHRO_INTERRUPT; \ synchro.interrupt.level = (busType * (tacINT_MASK + 1)) + intLevel; \ synchro.interrupt.vector = intVector; \ } |
|
|
|
|
|
|
|
Value: { \ synchro.type = tacSYNCHRO_SEMAPHORE; \ synchro.task.semId = semaphore; \ synchro.task.priority = taskLevel; \ } |