Auto-Reload Register Low (Timx_Arrl); Capture/Compare Register 1 High (Timx_Ccr1H) - ST STM8S Reference Manual

Hide thumbs Also See for STM8S:
Table of Contents

Advertisement

RM0016
18.6.17

Auto-reload register low (TIMx_ARRL)

Address offset: 00x0E or 0x10 (TIM2), 0x0C (TIM3), 0x10 (TIM5); for TIM2 address see
Section
Reset value: 0xFF
7
6
rw
rw
Bits 7:0 ARR[7:0]: Auto-reload value (LSB)
18.6.18

Capture/compare register 1 high (TIMx_CCR1H)

Address offset: 00x0F or 0x11 (TIM2), 0x0D (TIM3), 0x11 (TIM5); for TIM2 address see
Section
Reset value: 0x00
7
6
rw
rw
Bits 7:0 CCR1[15:8]: Capture/compare 1 value (MSB)
If the CC1 channel is configured as output (CC1S bits in TIMx_CCMR1 register):
The value of CCR1 is loaded permanently into the actual capture/compare 1 register if the preload
feature is not enabled (OC1PE bit in TIMx_CCMR1). Otherwise, the preload value is copied in the
active capture/compare 1 register when a UEV occurs. The active capture/compare register
contains the value which is compared to the counter register, TIMx_CNT, and signalled on the OC1
output.
If the CC1 channel is configured as input (CC1S bits in TIMx_CCMR1 register):
The value of CCR1 is the counter value transferred by the last input capture 1 event (IC1). In this
case, these bits are read only.
16-bit general purpose timers (TIM2, TIM3, TIM5)
5
4
ARR[7:0]
rw
rw
5
4
CCR1[15:8]
rw
rw
Doc ID 14587 Rev 8
3
2
rw
rw
3
2
rw
rw
1
0
rw
rw
1
0
rw
rw
237/449

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Subscribe to Our Youtube Channel

This manual is also suitable for:

Stm8a

Table of Contents

Save PDF