UPD784026 Renesas Electronics Corporation., UPD784026 Datasheet - Page 319

no-image

UPD784026

Manufacturer Part Number
UPD784026
Description
16/8-bit Single-chip Microcontrollers
Manufacturer
Renesas Electronics Corporation.
Datasheet
(3) Capture/compare control register 2 (CRC2)
Remark The register names in the 8-bit operating mode are shown in this figure. In the 16-bit operating mode, the
CRC2
The CRC2 specifies the enabling condition for a timer register 2 (TM2/TM2W) clear operation by the capture/compare
register (CR21/CR21W) or the capture register (CR22/CR22W) and the timer output (TO2/TO3) mode.
CRC2 can be read or written with an 8-bit manipulation instruction. The format of the CRC2 is shown in Figure 10-
4.
RESET input clears CRC2 to 10H.
MOD1
register names TM2, CR20, CR21, and CR22 are TM2W, CR20W, CR21W, and CR22W, respectively.
7
MOD1 MOD0 CLR22 CLR21
MOD0
0
0
0
0
1
1
0
0
0
0
6
CLR22
Figure 10-4 Capture/Compare Control Register 2 (CRC2) Format
Other than the above
0
0
0
1
0
0
1
0
1
0
5
0
1
1
0
0
0
0
0
0
4
1
0
CLR21
3
1
0
1
0
0
1
0
1
0
0
CHAPTER 10 TIMER/COUNTER 2
CM21
CM21
2
0
0
0
0
0
0
1
1
1
0
CR21
Operation
Specification
1
Compare
operations
Capture
operations
0
0
0
Toggle output
Toggle output
Toggle output
Toggle output
Toggle output
Toggle output Toggle output
0FF33H
PWM output
PWM output
PWM output
Address
PPG output
Timer Output
Mode Specification
TO2
Setting prohibited
ON Reset
Toggle output
Toggle output
Toggle output
Toggle output Not cleared
Toggle output
10H
PWM output
TO3
R/W
R/W
Cleared if TM2 and
CR21 match
Cleared after TM2
contents are captured
in CR22 by INTP1
Cleared by match of
TM2 and CR21 or after
TM2 contents are
captured in CR22 by
INTP1
Cleared if TM2 and
CR21 match
Cleared after TM2
contents are captured
in CR21 by INTP2
Not cleared
Not cleared
Not cleared
Not cleared
TM2 Clear Operation
279

Related parts for UPD784026