EasyManuals Logo

ST STM8S Reference Manual

ST STM8S
449 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #193 background imageLoading...
Page #193 background image
RM0016 16-bit advanced control timer (TIM1)
Doc ID 14587 Rev 8 193/449
17.7.7 Status register 2 (TIM1_SR2)
Address offset: 0x06
Reset value: 0x00
Bit 0 UIF: Update interrupt flag
This bit is set by hardware on an update event. It is cleared by software.
0: No update has occurred
1: Update interrupt pending. This bit is set by hardware when the registers are updated:
– At overflow or underflow if UDIS = 0 in the TIM1_CR1 register
– When CNT is re-initialized by software using the UG bit in TIM1_EGR register, if URS = 0
and UDIS = 0 in the TIM1_CR1 register.
– When CNT is re-initialized by a trigger event (refer to the TIM1_SMCR register description),
if URS = 0 and UDIS = 0 in the TIM1_CR1 register.
76543210
Reserved
CC4OF CC3OF CC2OF CC1OF
Reserved
rc_w0 rc_w0 rc_w0 rc_w0
Bits 7:5 Reserved, must be kept cleared
Bit 4 CC4OF: Capture/compare 4 overcapture flag
Refer to CC1OF description
Bit 3 CC3OF: Capture/compare 3 overcapture flag
Refer to CC1OF description
Bit 2 CC2OF: Capture/compare 2 overcapture flag
Refer to CC1OF description
Bit 1 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 TIM1_CCR1 register while CC1IF flag was already set
Bit 0 Reserved, must be kept cleared.

Table of Contents

Other manuals for ST STM8S

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM8S and is the answer not in the manual?

ST STM8S Specifications

General IconGeneral
BrandST
ModelSTM8S
CategoryMicrocontrollers
LanguageEnglish

Related product manuals