CHAPTER 9 TIMER/COUNTER FUNCTION (REAL-TIME PULSE UNIT)
311
User’s Manual U14492EJ3V0UD
(4) Capture/compare control registers 0, 1 (CCR0, CCR1)
The CCRn register specifies the operation mode of the capture/compare registers (CC1n0, CC1n1).
CCRn can be read/written in 8-bit or 1-bit units.
Caution
Overwriting the CCRn register during TM1n operation (TM1CEn bit = 1) is prohibited.
7
0
CCR0
6
0
5
0
4
0
3
0
2
0
1
CMS1
0
CMS0
Address
FFFFF5EAH
Initial value
00H
7
0
CCR1
6
0
5
0
4
0
3
0
2
0
1
CMS1
0
CMS0
Address
FFFFF60AH
Initial value
00H
Bit Position
Bit Name
Function
1
CMS1
Specifies operation mode of CC1n1.
0: Capture register
1: Compare register
0
CMS0
Specifies operation mode of CC1n0.
0: Capture register
1: Compare register
Remark
n = 0, 1