Advanced-control timers (TIM1&TIM8)
RM0090
580/1731
DocID018909 Rev 11
17.4.21 TIM1&TIM8 register map
TIM1&TIM8 registers are mapped as 16-bit addressable registers as described in the table
below:
Table 95. TIM1&TIM8 register map and reset values
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
0x00
TIMx_CR1
Reserved
CKD
[1:0]
ARPE
CMS
[1:0]
DIR
OP
M
URS
UDIS
CEN
Reset value
0
0
0
0
0
0
0
0
0
0
0x04
TIMx_CR2
Reserved
OI
S4
OI
S3N
OI
S3
OI
S2N
OI
S2
OI
S1N
OI
S1
TI
1S
MMS[2:0
]
CCDS
CCUS
Reserved
CCPC
Reset value
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0x08
TIMx_SMCR
Reserved
ETP
ECE
ETP
S
[1:0]
ETF[3:0]
MSM
TS[2:0]
Re
se
rved
SMS[2:0]
Reset value
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0x0C
TIMx_DIER
Reserved
TDE
COMDE
CC4DE
CC3DE
CC2DE
CC1DE
UD
E
BI
E
TIE
CO
M
IE
CC4IE
CC3IE
CC2IE
CC1IE
UIE
Reset value
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0x10
TIMx_SR
Reserved
CC4OF
CC3OF
CC2OF
CC1OF
Reserved
BI
F
TI
F
COMIF
CC4IF
CC3IF
CC2IF
CC1IF
UIF
Reset value
0
0
0
0
0
0
0
0
0
0
0
0
0x14
TIMx_EGR
Reserved
BG
TG
COMG
CC4G
CC3G
CC2G
CC1G
UG
Reset value
0
0
0
0
0
0
0
0
0x18
TIMx_CCMR1
Output
Compare mode
Reserved
OC2
C
E
OC2M
[2:0]
OC
2P
E
OC2F
E
CC2
S
[1:0]
OC1
C
E
OC1M
[2:0]
OC
1P
E
OC1F
E
CC1
S
[1:0]
Reset value
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
TIMx_CCMR1
Input Capture
mode
Reserved
IC2F[3:0]
IC2
PSC
[1:0]
CC2
S
[1:0]
IC1F[3:0]
IC1
PSC
[1:0]
CC1
S
[1:0]
Reset value
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0x1C
TIMx_CCMR2
Output
Compare mode
Reserved
O24
C
E
OC4M
[2:0]
OC
4P
E
OC4F
E
CC4
S
[1:0]
OC3
C
E
OC3M
[2:0]
OC
3P
E
OC3F
E
CC3
S
[1:0]
Reset value
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
TIMx_CCMR2
Input Capture
mode
Reserved
IC4F[3:0]
IC4
PSC
[1:0]
CC4
S
[1:0]
IC3F[3:0]
IC3
PSC
[1:0]
CC3
S
[1:0]
Reset value
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0x20
TIMx_CCER
Reserved
CC4P
CC4E
CC3NP
CC3NE
CC3P
CC3E
CC2NP
CC2NE
CC2P
CC2E
CC1NP
CC1NE
CC1P
CC1E
Reset value
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0x24
TIMx_CNT
Reserved
CNT[15:0]
Reset value
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0x28
TIMx_PSC
Reserved
PSC[15:0]
Reset value
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0