CHAPTER 6 16-BIT TIMER/EVENT COUNTER P (TMP)
User’s Manual U16896EJ2V0UD
145
(7) TMP0 capture/compare register 0 (TP0CCR0)
The TP0CCR0 register can be used as a capture register or a compare register depending on the mode.
This register can be used as a capture register or a compare register only in the free-running timer mode,
depending on the setting of the TP0OPT0.TP0CCS0 bit. In the pulse width measurement mode, the TP0CCR0
register can be used only as a capture register. In any other mode, this register can be used only as a
compare register.
The TP0CCR0 register can be read or written during operation.
This register can be read or written in 16-bit units.
Reset sets this register to 0000H.
Caution Accessing the TP0CCR0 register is prohibited in the following statuses. For details, refer to
3.4.8 (1) (b) Access to special on-chip peripheral I/O register.
•
When the CPU operates on the subclock and the main clock oscillation is stopped
•
When the CPU operates on the internal oscillation clock
TP0CCR0
12
10
8
6
4
2
After reset: 0000H R/W Address: FFFFF5A6H
14
0
13
11
9
7
5
3
15
1
<R>