RTD Embedded Technologies, Inc.
| www.rtd.com
42
DM35418HR/DM35218HR
User’s Manual
BDM-610010041 Rev F
6.4.8
PRE_TRIGGER_CAPTURE
(R
EAD
/W
RITE
)
Number of samples to collect before the Start Trigger. The length is limited by the FIFO size – writing a value larger than the FIFO size will
have indeterminate results.
6.4.9
POST_STOP_CAPTURE
(R
EAD
/W
RITE
)
Number of samples to collect after the Stop Trigger.
6.4.10
SAMPLE_CNT
(R
EAD
O
NLY
)
Total number of samples collected. This does not increment in while in the “Waiting For Start Trigger” state. It also continues counting after a
Re-Arm.
6.4.11
INT_ENA
(M
ASKABLE
R
EAD
/W
RITE
)
Each bit corresponds to an interrupt source. A value of ‘1’ enables the source, and a value of ‘0’ disables it. See below for a description of the
sources.
6.4.12
INT_STAT
(R
EAD
/C
LEAR
)
Each bit corresponds to an interrupt source. Reading a value of ‘1’ indicates that an event has occurred. Reading a value of ‘0’ indicates that the
event has not occurred. Writing a ‘1’ will clear that bit.
B0: Sample – A sample has been taken.
B1: Channel Threshold – One of the channels has exceeded the High or Low threshold. Check the CH_THRESH_STAT registers.
B2: Pre-Start Buffer Filled
B3: Start Trigger
B4: Stop Trigger
B5: Post-Stop Buffer Filled
B6: Sampling has completed and the FIFO is empty (all data transferred to host)
B7: Pacer – The pacer clock has ticked.
6.4.13
CLK_SRC_GBL
N
NOTE: If a CLK_SRC_GBL is unassigned in all function blocks, it defaults to
System Clock/Immediate.
Selects the source to drive onto Clock Bus signal N.
B[7:0]:
o
0x00: Disables Clock Source
o
0x80: Sample – A sample has been taken.
o
0x81: Channel Threshold – One of the channels has exceeded the High or Low threshold. Check the CH_THRESH_STAT
registers.
o
0x82: Pre-Start Buffer Filled
o
0x83: Start Trigger
o
0x84: Stop Trigger
o
0x85: Post-Stop Buffer Filled
o
0x86: Sampling has completed and the FIFO is empty (all data transferred to host)
o
0x87: Pacer – The pacer clock has ticked.
6.4.14
AD_CONFIG
(M
ASKABLE
R
EAD
/W
RITE
)
Not used.