Status Register (Timx_Sr) - ST STM32F102 Series Reference Manual

Hide thumbs Also See for STM32F102 Series:
Table of Contents

Advertisement

General-purpose timer (TIMx)
Bit 2 CC2IE: Capture/Compare 2 interrupt enable.
0: CC2 interrupt disabled.
1: CC2 interrupt enabled.
Bit 1 CC1IE: Capture/Compare 1 interrupt enable.
0: CC1 interrupt disabled.
1: CC1 interrupt enabled.
Bit 0 UIE: Update interrupt enable.
0: Update interrupt disabled.
1: Update interrupt enabled.
13.4.5

Status register (TIMx_SR)

Address offset: 0x10
Reset value: 0x0000
15
14
13
CC4
Reserved
rc_w0
Bit 15:13
Reserved, always read as 0.
Bit 12 CC4OF: Capture/Compare 4 Overcapture Flag.
refer to CC1OF description
Bit 11 CC3OF: Capture/Compare 3 Overcapture Flag.
refer to CC1OF description
Bit 10 CC2OF: Capture/Compare 2 Overcapture Flag.
refer to CC1OF description
Bit 9 CC1OF: Capture/Compare 1 Overcapture Flag.
This flag is set by hardware only when the corresponding channel is configured in input capture
mode. It is cleared by software by writing it to '0'.
0: No overcapture has been detected.
1: The counter value has been captured in TIMx_CCR1 register while CC1IF flag was already set
Bits 8:7
Reserved, always read as 0.
Bit 6 TIF: Trigger interrupt Flag.
This flag is set by hardware on trigger event (active edge detected on TRGI input when the slave
mode controller is enabled in all modes but gated mode, both edges in case gated mode is selected).
It is cleared by software.
0: No trigger event occurred.
1: Trigger interrupt pending.
Bit 5
Reserved, always read as 0
Bit 4 CC4IF: Capture/Compare 4 interrupt Flag.
refer to CC1IF description
Bit 3 CC3IF: Capture/Compare 3 interrupt Flag.
refer to CC1IF description
316/690
12
11
10
9
CC3
CC2
CC1
OF
OF
OF
OF
rc_w0
rc_w0
rc_w0
8
7
6
5
TIF
Reserved
Res
rc_w0
4
3
2
CC4IF
CC3IF
CC2IF
CC1IF
rc_w0
rc_w0
rc_w0
rc_w0
RM0008
1
0
UIF
rc_w0

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F102 Series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Stm32f101 seriesStm32f103 series

Table of Contents