Compare Clear Register (Cpcr) - Fujitsu MB90460 Series Hardware Manual

F2mc-16lx 16-bit microcontroller
Table of Contents

Advertisement

CHAPTER 15 MULTI-PULSE GENERATOR
15.4.5

Compare Clear Register (CPCR)

The Compare Clear Register (CPCR) is 16-bit register. When this register is matched
with the count value of 16-bit timer, the 16-bit timer is reset to "0000
■ Compare Clear Register (CPCR)
Compare Clear Register is a 16-bit register and is used to compare the count value of the 16-bit timer. The
initial value of this register is undetermined, so that the register must be set a value before starting an
operation.
Notes:
Word access instruction to this register must be used.
When this register is matched with the count value of 16-bit timer, 16-bit timer is reset to "0000
and the compare clear interrupt flag is set. Furthermore, when the interrupt operation is enabled,
interrupt request is sent to the CPU.
If the Compare Clear Register (CPCR) is loaded a value same as the Timer Counter value at that
moment, the comparison operation will NOT be performed until next same counter value.
Compare Clear Register (Upper)
Address: 003FFB
Read/write
Initial value
Compare Clear Register (Lower)
Address: 003FFA
Read/write
Initial value
388
Figure 15.4-10 Compare Clear Register (CPCR)
15
14
13
bit
CL15
CL14
CL13
H
R/W
R/W
R/W
X
X
X
bit
7
6
CL07
CL06
CL05
H
R/W
R/W
R/W
X
X
12
11
10
CL12
CL11
CL10
R/W
R/W
R/W
X
X
X
5
4
3
2
CL04
CL03
CL02
R/W
R/W
R/W
X
X
X
".
H
9
8
CL09
CL08
CPCR
R/W
R/W
X
X
1
0
CL01
CL00
R/W
R/W
X
X
X
"
H
CPCR

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb90465 series

Table of Contents