Timer Counter Register - Cntr; Timer Prescaler Register - Pscr - Holtek HT32F52220 User Manual

32-bit microcontroller with arm cortex-m0+ core
Table of Contents

Advertisement

32-Bit Arm
®
Cortex
®
-M0+ MCU
HT32F52220/HT32F52230
Timer Counter Register – CNTR
This register stores the timer counter value.
Offset:
0x080
Reset value: 0x0000_0000
31
Type/Reset
23
Type/Reset
15
Type/Reset
RW
0 RW
7
Type/Reset
RW
0 RW
Bits
Field
[15:0]
CNTV
Timer Prescaler Register – PSCR
This register specifies the timer prescaler value to generate the counter clock.
Offset:
0x084
Reset value: 0x0000_0000
31
Type/Reset
23
Type/Reset
15
Type/Reset
RW
0 RW
7
Type/Reset
RW
0 RW
Bits
Field
[15:0]
PSCV
Rev. 1.10
30
29
28
22
21
20
14
13
12
0 RW
0 RW
6
5
4
0 RW
0 RW
Descriptions
Counter Value.
30
29
28
22
21
20
14
13
12
0 RW
0 RW
6
5
4
0 RW
0 RW
Descriptions
Prescaler Value
These bits are used to specify the prescaler value to generate the counter clock
frequency f
.
CK_CNT
f
CK_PSC
, where the f
f
=
CK_CNT
PSCV[15:0] + 1
266 of 366
27
26
Reserved
19
18
Reserved
11
10
CNTV
0 RW
0 RW
0 RW
3
2
CNTV
0 RW
0 RW
0 RW
27
26
Reserved
19
18
Reserved
11
10
PSCV
0 RW
0 RW
0 RW
3
2
PSCV
0 RW
0 RW
0 RW
is the prescaler clock source.
CK_PSC
25
24
17
16
9
8
0 RW
0
1
0
0 RW
0
25
24
17
16
9
8
0 RW
0
1
0
0 RW
0
November 09, 2018

Advertisement

Table of Contents
loading
Need help?

Need help?

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

This manual is also suitable for:

Ht32f52230

Table of Contents