EasyManua.ls Logo

ST ST32M103 Series - Counter (TIM1_CNT); Prescaler (TIM1_PSC); Auto-Reload Register (TIM1_ARR)

ST ST32M103 Series
519 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
Loading...
Advanced control timer (TIM1) UM0306
212/519
12.5.10 Counter (TIM1_CNT)
Address offset: 24h
Reset value: 0000h
12.5.11 Prescaler (TIM1_PSC)
Address offset: 28h
Reset value: 0000h
12.5.12 Auto-reload register (TIM1_ARR)
Address offset: 2Ch
Reset value: 0000h
1514131211109876543210
CNT[15:0]
rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw
Bits 15:0 CNT[15:0]: Counter Value.
1514131211109876543210
PSC[15:0]
rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw
Bits 15:0
PSC[15:0]: Prescaler Value.
The counter clock frequency (CK_CNT) is equal to f
CK_PSC
/ (PSC[15:0] + 1).
PSC contains the value to be loaded in the active prescaler register at each update
event (including when the counter is cleared through UG bit of TIM1_EGR register or
through trigger controller when configured in “reset mode”).
1514131211109876543210
ARR[15:0]
rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw rw
Bits 15:0
ARR[15:0]: Prescaler Value.
ARR is the value to be loaded in the actual auto-reload register.
Refer to the Section 12.4.1: Time base unit on page 153 for more details about ARR
update and behavior.
The counter is blocked while the auto-reload value is null.
www.BDTIC.com/ST

Table of Contents

Related product manuals