Digital Inputs and Outputs
Digin_FIFO_Enable
ADwin
92
ADwin-Gold II
, Manual February 2013
Digin_FIFO_En-
able
Digin_FIFO_Enable
determines, which input channels the edge detection
unit will monitor.
Syntax
#Include
ADwinGoldII.inc / GoldIITiCo.inc
Digin_FIFO_Enable
(
channels
)
Parameters
Notes
Only input channels can be monitored. The channels are programmed
as inputs or outputs with
DigProg
.
The edge detection unit checks each 10ns, if an edge has occurred at
the selected input channels or if a level has been changed. If an edge
has occurred, a pair of values is copied into an internal FIFO array:
•
Value 1 contains the level status of all channels as bit pattern.
•
Value 2 contains a time stamp, which is the current value of a
100MHz timer.
The FIFO array may contain 511 value pairs (level status and time
stamp) in maximum. If and as long as the FIFO array is filled completely,
any additional value pair cannot be saved and will thus be lost.
See also
,
,
Valid for
Gold II
T11 TiCo
channels
Bit pattern which determines the input channels to
be monitored.
LONG
Bit no.
31
30
…
2
1
0
Input
31
30
…
2
1
0