![rtd DM35820HR Скачать руководство пользователя страница 36](http://html1.mh-extra.com/html/rtd/dm35820hr/dm35820hr_user-manual_1497527036.webp)
RTD Embedded Technologies, Inc.
|
www.rtd.com
36
DMx820 User’s Manual
Table 9: DMx820HR Memory Map
Offset
(Hex)
Register Name
Register Function
0x02C6
INCENC1_MODE
b [15:8] Phase Filter
– Writing a ‘1’ to a specific bit masks out a
phase transition.
b[7:6]
Reserved
b[5]
Differential Mode ‘1’ = Pseudo differential mode, ‘0’ = Single
ended mode
b[4] Input Filter
– ‘1’ = Enable Input Filter, ‘0’ = Disable Input Filter
b [3] Join
– ‘1’ = Operate as single 32-bit Encoder, ‘0’ = Operate as
two 16-bit Encoders.
b [2]
‘0’ = External Index is disabled, ‘1’ = External Index is
enabled.
b [1] Hold Register
– ‘1’ = Hold values register, ‘0’ = Allow value
register to change.
b[0] Count Enable
– ‘1’ = Encoder is enabled, ‘0’ = Encoder is
cleared.
0x02C8
INCENC1_VALUEA
b[15:0] Value for Encoder A
0x02CA
INCENC1_VALUEB
b[15:0] Value for Encoder B
Pulse Width Modulator 0
0x0300
PWM0_ID
b[15:0] ID Register = 0x0003
0x0302
PWM0_MODE
b[0]
‘1’ = Enable PWM, ‘0’ = Disable PWM
0x0304
PWM0_CLK
b[7:4]
Period Clock Source
15-0
= Clock_Bus [15-0]
b[3:0]
Width Clock Source
15-0
= Clock_Bus [15-0]
0x0306
Reserved
0x0308
PWM0_PERIOD
b[15:0] Period of PWM Cycle is:
)
1
_
(
_
_
PERIOD
PWMx
Frequency
Clock
Width
0x030A-
0x030E
Reserved
0x0310
PWM0_WIDTHA
b[15:0] Width of output A pulse in Period Clock cycles
0x0312
Reserved
0x0314
PWM0_WIDTHB
b[15:0] Width of output B pulse in Period Clock cycles
0x0316
Reserved
0x0318
PWM0_WIDTHC
b[15:0] Width of output C pulse in Period Clock cycles
0x031A
Reserved
0x031C
PWM0_WIDTHD
b[15:0] Width of output D pulse in Period Clock cycles
0x031E
Reserved
Pulse Width Modulator 1
0x0340
PWM1_ID
b[15:0] ID Register = 0x0003
0x0342
PWM1_MODE
b[0]
‘1’ = Enable PWM, ‘0’ = Disable PWM
0x0344
PWM1_CLK
b[7:4]
Period Clock Source
15-0
= Clock_Bus [15-0]
b[3:0]
Width Clock Source
15-0
= Clock_Bus [15-0]
0x0346
Reserved
0x0348
PWM1_PERIOD
b[15:0] Period of PWM Cycle is:
)
1
_
(
_
_
PERIOD
PWMx
Frequency
Clock
Width
0x034A-
0x034E
Reserved
0x0350
PWM1_WIDTHA
b[15:0] Width of output A pulse in Period Clock cycles