Advanced-control timers (TIM1)
RM0365
547/1080
DocID025202 Rev 7
20.4.25 TIM1 register map
TIM1 registers are mapped as 16-bit addressable registers as described in the table below:
Table 117. TIM1 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
Res
Res
Res
Res
Res
Res
Res
Res
Res
Res
Res
Res
Res
Res
Res
Res
Res
Res
Res
Res
UIF
R
E
M
AP
Res
CKD
[1:0]
ARPE
CMS
[1:0]
DIR
OPM
URS
UDIS
CEN
Reset value
0
0
0
0 0
0
0
0 0
0
0
0x04
TIMx_CR2
Res
Res
Res
Res
Res
Res
Res
Res
MMS2[3:0]
Res
OI
S6
Res
OI
S5
Res
OI
S4
OI
S3N
OI
S3
OI
S2N
OI
S2
OI
S1N
OI
S1
TI1S
MMS
[2:0]
CCDS
CCUS
Res
CCPC
Reset value
0
0
0 0
0
0
0 0
0
0
0 0
0
0 0
0
0
0 0
0
0x08
TIMx_SMCR
Res
Res
Res
Res
Res
Res
Res
Res
Res
Res
Res
Res
Res
Res
Res
SM
S
[3
]
ETP
EC
E
ETP
S
[1:0]
ETF[3:0]
MS
M
TS[2:0]
OCCS
SMS[2:0]
Reset value
0
0
0 0
0
0
0 0
0
0 0
0
0
0 0
0
0
0x0C
TIMx_DIER
Re
s
Re
s
Re
s
Re
s
Re
s
Re
s
Re
s
Re
s
Re
s
Re
s
Re
s
Re
s
Re
s
Re
s
Re
s
Re
s
Re
s
TDE
COMDE
CC4DE
CC3DE
CC2DE
CC1DE
UDE
BI
E
TI
E
COMIE
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
Res
Res
Res
Res
Res
Res
Res
Res
Res
Res
Res
Res
Res
Res
CC6IF
CC5IF
Res
Res
Res
CC4OF
CC3OF
CC2OF
CC1OF
B2I
F
BI
F
TI
F
COM
IF
CC4IF
CC3IF
CC2IF
CC1IF
UIF
Reset value
0 0
0
0
0 0
0
0 0
0
0
0 0
0
0
0x14
TIMx_EGR
Re
s
Re
s
Re
s
Re
s
Re
s
Re
s
Re
s
Re
s
Re
s
Re
s
Re
s
Re
s
Re
s
Re
s
Re
s
Re
s
Re
s
Re
s
Re
s
Re
s
Re
s
Re
s
Re
s
B2
G
BG
TG
COM
CC4G
CC3G
CC2G
CC1G
UG
Reset value
0
0 0
0
0
0 0
0
0
0x18
TIMx_CCMR1
Output
Compare mode
Res
Res
Res
Res
Res
Res
Res
OC2M[
3
]
Res
Res
Res
Res
Res
Res
Res
OC1M[
3
]
OC2
C
E
OC2M
[2:0]
OC2
P
E
OC2F
E
CC2
S
[1:0]
OC1
C
E
OC1M
[2:0]
OC1
P
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
0
0
TIMx_CCMR1
Input Capture
mode
Res
Res
Res
Res
Res
Res
Res
Res
Res
Res
Res
Res
Res
Res
Res
Res
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
Res
Res
Res
Res
Res
Res
Res
OC4M[
3
]
Res
Res
Res
Res
Res
Res
Res
OC3M[
3
]
OC4
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
0
0
TIMx_CCMR2
Input Capture
mode
Res
Res
Res
Res
Res
Res
Res
Res
Res
Res
Res
Res
Res
Res
Res
Res
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
Res
Res
Res
Res
Res
Res
Res
Res
Res
Res
CC6P
CC6E
Res
Res
CC5P
CC5E
Res
Res
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
0 0
0
0
0x24
TIMx_CNT
UIFCPY
Res
Res
Res
Res
Res
Res
Res
Res
Res
Res
Res
Res
Res
Res
Res
CNT[15:0]
Reset value
0
0
0 0
0
0
0 0
0
0 0
0
0
0 0
0
0