C API definition for LOWLATENCY2.
More...
Go to the source code of this file.
Detailed Description
C API definition for LOWLATENCY2.
Definition in file ll2-api.h.
Define Documentation
#define LLC_SYNC2V_IDLE_PAT 0x2f2fc0de |
#define LLC_SYNC2V_IN_BDR LLCV2_STATUS_BDR |
[ 7] 0xdeadbeef
Definition at line 92 of file ll2-api.h.
#define LLC_SYNC2V_IN_DI32 (LLCV2_STATUS_BDR+2) |
[ 9] DI32 values
Definition at line 96 of file ll2-api.h.
#define LLC_SYNC2V_IN_DIO6 LLCV2_STATUS_DIO |
[ 4] DIO6 value
Definition at line 86 of file ll2-api.h.
#define LLC_SYNC2V_IN_DO64 (LLCV2_STATUS_BDR+8) |
[15] Last DO64 outval
Definition at line 108 of file ll2-api.h.
#define LLC_SYNC2V_IN_FIFSTA (LLCV2_STATUS_BDR+7) |
[14] FIFSTAT fifo status register
Definition at line 106 of file ll2-api.h.
#define LLC_SYNC2V_IN_ITER (LLCV2_STATUS_BDR+1) |
[ 8] Iteration
Definition at line 94 of file ll2-api.h.
#define LLC_SYNC2V_IN_LAST (LLCV2_STATUS_MBOX0+15) |
#define LLC_SYNC2V_IN_LASTE (LLCV2_STATUS_BDR+3) |
[10] ITER last error
Definition at line 98 of file ll2-api.h.
#define LLC_SYNC2V_IN_MBOX0 LLCV2_STATUS_MBOX0 |
status offsets
[ 0] contents of MAIL BOX 0
Definition at line 78 of file ll2-api.h.
#define LLC_SYNC2V_IN_MBOX1 LLCV2_STATUS_MBOX1 |
[ 1] contents of MAIL BOX 1
Definition at line 80 of file ll2-api.h.
#define LLC_SYNC2V_IN_MBOX2 LLCV2_STATUS_MBOX2 |
[ 2] contents of MAIL BOX 2
Definition at line 82 of file ll2-api.h.
#define LLC_SYNC2V_IN_MBOX3 LLCV2_STATUS_MBOX3 |
[ 3] contents of MAIL BOX 3
Definition at line 84 of file ll2-api.h.
#define LLC_SYNC2V_IN_SCOUNT (LLCV2_STATUS_BDR+6) |
#define LLC_SYNC2V_IN_TINST LLCV2_STATUS_TINST |
[ 5] Garbage for SYNC2V
Definition at line 88 of file ll2-api.h.
#define LLC_SYNC2V_IN_TLAT32 (LLCV2_STATUS_BDR+4) |
[11] SW TLATCH 31:0 [OPT] lags one cycle
Definition at line 100 of file ll2-api.h.
#define LLC_SYNC2V_IN_TLATCH LLCV2_STATUS_TLATCH |
[ 6] HW TLATCH 11:0
Definition at line 90 of file ll2-api.h.
#define LLC_SYNC2V_IN_VERID (LLCV2_STATUS_BDR+5) |
Enumeration Type Documentation
Function Documentation
STATUS_OK RtArm |
( |
const short * |
ao_values, |
|
|
const unsigned * |
do_values |
|
) |
| |
STATUS_OK RtIO |
( |
const short * |
ao_values, |
|
|
const unsigned * |
do_values, |
|
|
short * |
ai_values, |
|
|
unsigned * |
di_values, |
|
|
unsigned * |
status_values |
|
) |
| |
set next outputs, wait for and return next sample
- Parameters:
-
ao_values | next ao_values |
do_values | next do_values |
ai_values | latest ai sample |
di_values | latest di sample |
status_values | latest status values |
Definition at line 91 of file ll2-api.cpp.
References DynamicSystem::instance(), and RETOK.
Referenced by main().
STATUS_OK RtSetup |
( |
const char * |
config_file, |
|
|
int |
argc, |
|
|
const char * |
argv[] |
|
) |
| |