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 #208 background imageLoading...
Page #208 background image
16-bit advanced control timer (TIM1) RM0016
208/449 Doc ID 14587 Rev 8
17.7.24 Capture/compare register 2 high (TIM1_CCR2H)
Address offset: 0x17
Reset value: 0x00
17.7.25 Capture/compare register 2 low (TIM1_CCR2L)
Address offset: 0x18
Reset value: 0x00
76543210
CCR2[15:8]
rw rw rw rw rw rw rw rw
Bits 7:0 CCR2[15:8]: Capture/compare 2 value (MSB)
If the CC2 channel is configured as output (CC2S bits in TIM1_CCMR2 register):
The value of CCR2 is loaded permanently into the actual capture/compare 2 register if the preload
feature is not enabled (OC2PE bit in TIM1_CCMR2). Otherwise, the preload value is copied in the
active capture/compare 2 register when a UEV occurs.The active capture/compare register contains
the value which is compared to the counter register, TIM1_CNT, and signalled on the OC2 output.
If the CC2 channel is configured as input (CC2S bits in TIM1_CCMR2 register):
The value of CCR2 is the counter value transferred by the last input capture 2 event (IC2). In this
case, these bits are read only.
76543210
CCR2[7:0]
rw rw rw rw rw rw rw rw
Bits 7:0 CCR2[7:0]: Capture/compare value (LSB)

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