165
Chapter 7 Timer/Counter Units
7
(3) Capture/compare control register 2 (CRC2)
The CRC2 register is used to specify the condition for enabling the clear operation of 8-bit timer 2 (TM2) with
the CR21 compare register or CR22 capture register, and also specify a timer output (TO2, TO3) mode.
The CRC2 register allows only write operation using an 8-bit manipulation instruction. Fig. 7-69 shows the
format of the CRC2 register.
When the RESET signal is applied, the CRC2 register is cleared to 10H.
Fig. 7-69 Format of Capture/Compare Control Register 2 (CRC2)
7
6
5
4
3
2
1
0
MOD1
0
1
CLR21
0
0
CRC2
Toggle output Toggle output
Toggle output
Toggle output
Toggle output
Timer output mode
Clearing TM2
PWM output
PPG output
Does not clear
Clears when the TM2 register coincides
with the CR21 register
Clears when the TM2 register coincides
with the CR21 register or after contents
of TM2 is caped to the CR22 register
TO2
TO3
MOD1 MOD0 CLR22 CLR21
Clears after contents of TM2 is captured
to the CR22 register
Toggle output
Toggle output Toggle output
PWM output
Toggle output
PWM output
Toggle output Does not clear
Does not clear
Clears when the TM2 register coincides
with the CR21 register
MOD0 CLR22
0
0
0
0
0
0
0
1
0
0
1
0
0
0
1
1
0
1
0
0
1
0
0
0
1
1
0
1
Caution Combinations other than those indicated above are prohibited.
Summary of Contents for PD78212
Page 11: ......
Page 53: ...24 ...
Page 61: ...32 µPD78214 Sub Series 9 VSS Ground 10 NC non connection Not connected inside the chip ...
Page 65: ...36 ...
Page 83: ...54 ...
Page 135: ...106 ...
Page 271: ...242 ...
Page 405: ...376 ...
Page 417: ...388 ...
Page 423: ...394 ...
Page 449: ...420 ...
Page 457: ...428 ...
Page 471: ...442 ...
Page 487: ...458 ...