Compare Clear Buffer Register (Cpclrb) And Compare Clear Register (Cpclr) - Fujitsu MB90460 Series Hardware Manual

F2mc-16lx 16-bit microcontroller
Table of Contents

Advertisement

14.4.1
Compare Clear Buffer Register (CPCLRB) and Compare
Clear Register (CPCLR)
Compare clear buffer register (CPCLRB) is a 16-bit buffer register of compare clear
register (CPCLR). Both CPCLRB and CPCLR registers are located in the same address.
■ Compare Clear Buffer Register (CPCLRB)
Compare Clear Buffer Register (Upper)
Address: 00005B
Read/write
Initial value
Compare Clear Buffer Register (Lower)
Address: 00005A
Read/write
Initial value
Compare Clear Buffer Register is the buffer register for Compare Clear Register. When buffer function is
disabled (TCCSL:BFE=0) or when free-run timer is stopped, value in Compare clear buffer register is
transferred to Compare clear register immediately. When buffer function is enabled, value is transferred
when the count value of 16-bit free-run timer is detected as zero.
Word access to this register is recommended.
■ Compare Clear Register (CPCLR)
Compare Clear Register (Upper)
Address: 00005B
Read/write
Initial value
Compare Clear Register (Lower)
Address: 00005A
Read/write
Initial value
The Compare Clear Register is used to compare with the count value of the 16-bit free-run timer. In up-
count mode, when this register is matched with the count value of 16-bit free-run timer, timer will be reset
to "0000
run timer, the timer changes from up-count to down-count and changes from down-count to up-count at
zero detect.
Word access to this register is recommended.
Figure 14.4-5 Compare Clear Buffer Register (CPCLRB)
bit
15
14
CL14
CL15
H
W
W
1
1
7
6
bit
CL07
CL06
H
W
W
1
1
Figure 14.4-6 Compare Clear Register (CPCLR)
bit
15
14
CL14
CL15
H
R
R
1
1
7
6
bit
CL07
CL06
H
R
R
1
1
". In up-down count mode, when this register is matched with the count value of the 16-bit free-
H
CHAPTER 14 MULTI-FUNCTIONAL TIMER
13
12
11
CL13
CL12
CL11
CL10
W
W
W
1
1
1
5
4
3
CL05
CL04
CL03
W
W
W
1
1
1
13
12
11
CL13
CL12
CL11
R
R
R
1
1
1
5
4
3
CL05
CL04
CL03
R
R
R
1
1
1
10
9
8
CL09
CL08
W
W
W
1
1
1
2
1
0
CL02
CL01
CL00
W
W
W
1
1
1
10
9
8
CL10
CL09
CL08
R
R
R
1
1
1
2
1
0
CL02
CL01
CL00
R
R
R
1
1
1
CPCLRB
CPCLRB
CPCLR
CPCLR
293

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb90465 series

Table of Contents