![rtd DM35820HR Скачать руководство пользователя страница 57](http://html1.mh-extra.com/html/rtd/dm35820hr/dm35820hr_user-manual_1497527057.webp)
RTD Embedded Technologies, Inc.
|
www.rtd.com
57
DMx820 User’s Manual
INCENCn_CLK
This register selects the clock source for sampling the encoder inputs.
15
4
3
0
Reserved
CLOCK_SEL[3:0]
R,+0
RW,+0
Field
Description
CLOCK_SEL[3:0]
Selects the master clock. Value definitions are:
15 Inverted Strobe2
14 Inverted Strobe1
13 Strobe2
12 Strobe1
11 Prog. Clock 3
10 Prog. Clock 2
9 Prog. Clock 1
8 Prog. Clock 0
7 82C54 TC B2
6 82C54 TC B1
5 82C54 TC B0
4 82C54 TC A2
3 82C54 TC A1
2 82C54 TC A0
1 Reserved
0 25 MHz
INCENCn_MODE
This register selects the mode of operation for the Incremental Encoder.
15
8
PHASE_FLT[7:0]
RW,+0
7
6
5
4
3
2
1
0
Reserved
DIFF
FILTE
R
JOIN
IDX_E
N
HOLD
ENA
R,+0
RW,+
0
RW,+0
RW,+
0
RW,+0
RW,+
0
RW,+
0
Field
Description
PHASE_FLT[7:0]
Phase Filter: Selects if a particular state transition will cause
the encoder counter to change. For each bit:
’0’ = Transition will change counter
’1’ = Transition will not change counter.
The bit assignments for the transitions are:
Bit
Previous
State [B:A]
Current
State [B:A]
Direction
7
00
10
Down
6
10
11
Down
5
11
01
Down
4
01
00
Down
3
10
00
Up
2
11
10
Up
1
01
11
Up
0
00
01
Up