RTD Embedded Technologies, Inc.
|
www.rtd.com
44
DM34216HR
User’s Manual
BDM-610010056 Rev A
6.5
BAR2: Advanced Digital I/O
This function block is for 32 bi-directional digital I/O.
6.5.1
F
UNCTION
B
LOCK
R
EGISTER
M
AP
Table 16: Advance DIO Functional Block
Offset
0x03
0x02
0x01
0x00
H
ea
de
r FB + 0x00
FB_ID
FB + 0x04
FB_DMA_BUFFERS
FB_DMA_CHANNELS
FB_CONTROL_SIZE
FB_CANNEL_SIZE
D
igital I/O C
on
trol
FB + 0x08
STOP_TRIG
START_TRIG
CLK_SRC
MODE_STATUS
FB + 0x0C
CLK_DIV
FB + 0x10
CLK_DIV_CNTR
FB + 0x14
PRE_TRIGGER_CAPTURE (limited by FIFO size)
FB + 0x18
POST_STOP_CAPTURE
FB + 0x1C
SAMPLE_CNT
FB + 0x20
INT_ENA (Sample, Start, Stop, Threshold, Pacer Tick, etc)
FB + 0x24
INT_STAT
Reserved
FB + 0x28
CLK_BUS3
CLK_BUS2
Reserved
Reserved
FB + 0x2C
CLK_BUS7
CLK_BUS6
CLK_BUS5
CLK_BUS4
FB + 0x30
Reserved
ADV_INT_MODE
FB + 0x34
ADV_INT_MASK
FB + 0x38
ADV_INT_COMP
FB + 0x3C
ADV_INT_CAPT
FB + 0x40
MODE_CONFIG (Maskable register
–
16-bit)
FB + 0x44
PERIPH_SEL_BIT_3
PERIPH_SEL_BIT_2
PERIPH_SEL_BIT_1
PERIPH_SEL_BIT_0
FB + 0x48
PERIPH_SEL_BIT_7
PERIPH_SEL_BIT_6
PERIPH_SEL_BIT_5
PERIPH_SEL_BIT_4
FB + 0x4C
PERIPH_SEL_BIT_11
PERIPH_SEL_BIT_10
PERIPH_SEL_BIT_9
PERIPH_SEL_BIT_8
FB + 0x50
PERIPH_SEL_BIT_15
PERIPH_SEL_BIT_14
PERIPH_SEL_BIT_13
PERIPH_SEL_BIT_12
FB + 0x44
PERIPH_SEL_BIT_19
PERIPH_SEL_BIT_18
PERIPH_SEL_BIT_17
PERIPH_SEL_BIT_16
FB + 0x48
PERIPH_SEL_BIT_23
PERIPH_SEL_BIT_22
PERIPH_SEL_BIT_21
PERIPH_SEL_BIT_20
FB + 0x4C
PERIPH_SEL_BIT_27
PERIPH_SEL_BIT_26
PERIPH_SEL_BIT_25
PERIPH_SEL_BIT_24
FB + 0x50
PERIPH_SEL_BIT_31
PERIPH_SEL_BIT_30
PERIPH_SEL_BIT_29
PERIPH_SEL_BIT_28
D
igital I/O C
ha
nn
el
FB + 0x18 +
(FB_CONTROL_SIZE * 0x04) +
(FB_CHANNEL_SIZE * 0x04 * n)
CHn_FIFO_DATA_CNT
FB + 0x1C +
(FB_CONTROL_SIZE * 0x04) +
(FB_CHANNEL_SIZE * 0x04 * n)
CHn_MAX_FIFO_SIZE
FB + 0x20 +
(FB_CONTROL_SIZE * 0x04) +
(FB_CHANNEL_SIZE * 0x04 * n)
CHn_DATA (DIG_IN/DIG_OUT/DIG_DIR)
FB + 0x24 +
(FB_CONTROL_SIZE * 0x04) +
(FB_CHANNEL_SIZE * 0x04 * n)
CHn_FIFO_ACCESS
Note: n in the offset stands for channel number. Channel 0 is Digital In, Channel 1 is Digital Out, Channel 2 is Pin Direction