363
/
838
Nations Technologies Inc.
Tel
:
+86-755-86309900
:
Address: Nations Tower, #109 Baoshen Road, Hi-tech Park North.
Nanshan District, Shenzhen, 518057, P.R.China
Figure 12-28 Encoder interface mode example with IC1FP1 polarity inverted
12.3.16
Interfacing with Hall sensor
Please refer to 11.3.20
TIMx register description(x=2, 3 ,4 and 5)
For abbreviations used in registers, see section 1.1.
These peripheral registers can be operated as half word (16-bits) or one word (32-bits).
12.4.1
Register Overview
Table 12-2 Register map and reset value
Offset
Register
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
000h
TIMx_CTRL1
R
es
er
ve
d
C
L
R
S
E
L
C
4S
E
L
C
3S
E
L
C
2S
E
L
C
1S
E
L
R
es
er
ve
d
C
L
KD
[1:0]
AR
P
E
N
C
AM
S
E
L
[1:0]
DI
R
ON
E
P
M
UPR
S
UPDI
S
C
NT
E
N
Reset Value
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
004h
TIMx_CTRL2
R
es
er
ve
d
E
T
R
S
E
L
T
I1S
E
L
M
M
S
E
L
[2:0]
C
C
DSE
L
R
es
er
ve
d
Reset Value
0
0
0
0
0
0
008h
TIMx_SMCTRL
R
es
er
ve
d
E
XT
P
E
XC
E
N
E
XT
P
S
[1:0]
E
XT
F
[3:0
]
M
S
M
D
T
S
E
L
[2:0]
R
es
er
ve
d
S
M
S
E
L
E
L
[2:0
]
Reset Value
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
TI2
Counter
up
TI1
down
jitter
backward
jitter
forward