RTD Embedded Technologies, Inc.
|
www.rtd.com
71
DM34216HR
User’s Manual
BDM-610010056 Rev A
6.8.10
INT_STAT
(R
EAD
/C
LEAR
)
Each bit cor
responds to an interrupt source. Reading a value of ‘1’ indicates that an event has occurred. Reading a value of ‘0’ indica
tes that
the event has not occurred. Writing a ‘1’ will clear that bit.
B0: Count
–
The count has changed.
B1: Interval Counter
–
Interval count has been reached
B2: Reserved
B3: Start Trigger
B4: Stop Trigger
B5: Reserved
B6: Reserved
B7: Reserved
6.8.11
CLK_BUS
N
Selects a source to drive onto Clock Bus N. That clock bus can then be used by a different function block as a clock source or trigger.
A function block can drive multiple different Clock Buses. However, a Clock Bus N should not be driven by more than one function block at the
same time or the clock signal will be undefined.
B[7:0]:
o
0x00: Disabled (Default)
o
0x80: Count
–
The count has changed.
o
0x81: Interval Counter
–
Interval count has been reached.
o
0x82: Reserved
o
0x83: Start Trigger
o
0x84: Stop Trigger
o
0x85: Reserved
o
0x86: Reserved
o
0x87: Reserved
6.8.12
MODE_CONFIG
(MASKABLE
READ/WRITE)
This register provides configuration for Programmable Clock function block.
B[1]: Interval Count Reset: When enabled this causes the Count register to reset to 0 every interval clock pulse.
o
’0’ = Interval Count Reset is disabled
o
’1’ = Interval Count Reset is enabled
B[0]: Interval Counter Enable: Used to enable/disable the interval counter.
o
’0’ = Interval Counter is disabled
o
’1’ = Interval Counter is enabled
6.8.13
CH
N
_FIFO_DATA_CNT
(R
EAD
)
This register shows the current sample count that is available in the interval counter FIFO.
6.8.14
CH
N
_MAX_FIFO_SIZE
(R
EAD
)
This register shows the max number of samples that the interval counter FIFO can hold.
6.8.15
INTERVAL_CLK_DIV
(R
EAD
/W
RITE
)
Divider for the interval clock. Interval Clock Frequency = (System Clock) / (1 + INTERVAL_CLK_DIV). When the interval counter is enabled,
every interval clock pulse will update the LAST_INTERVAL_COUNT and generate an interval counter interrupt.
6.8.16
LAST_INTERVAL_COUNT
(R
EAD
-O
NLY
)
The last count value taken from the COUNT register. This is the same value that is written to the DMA FIFO.