
R8C/36T-A Group
17. Timer RC
Under development Preliminary document
Specifications in this document are tentative and subject to change.
R01UH0240EJ0010 Rev.0.10
Page 291 of 728
Aug 05, 2011
17.2.13 Timer RC Output Waveform Manipulation Register (TRCOPR)
Notes:
1. When the OPE bit is 1 (output waveform manipulation enabled), if an output waveform manipulation event is
input, bits EA to ED in the TRCOER register are set to 1 (fixed-level output depending on setting of TRCOPR
register).
2. When the OPE bit is 0 (output waveform manipulation disabled), bits EA to ED in the TRCOER register are not
affected by the setting of this bit.
3. When the OPE bit is 1 and the RESTATS bit is 0 (output waveform manipulation is stopped by software and
output is restarted), bits EA to ED in the TRCOER register can be set to 0 by software. Even if the output
waveform manipulation event is cancelled, bits EA to ED do not automatically change to 0.
4. When the OPE bit is 1 and the RESTATS bit is 1 (automatic output waveform manipulation is stopped and
automatic output is restarted), if the output waveform event is cancelled, bits EA to ED automatically change to 0.
5. When the OPE bit is 0, the output waveform of timer RC is manipulated using the setting of TRCOER register
only. When the OPE bit is 1, the output waveform of timer RC is manipulated using the setting of TRCOER
register regardless of the setting of the PTO bit in the TRCOER register. Bits EA to ED in the TRCOER register
are used as the flags for output waveform manipulation. When an output waveform manipulation event is input,
bits EA to ED are set to 1.
Do not rewrite the TRCOPR register during count operation.
Address 0014Ch (TRCOPR_0)
Bit
b7
b6
b5
b4
b3b2b1
b0
Symbol
After Reset
0
000
00
Bit
Symbol
Bit Name
Function
R/W
b0
OPSEL0
Output waveform manipulation
b1 b0
0 0: Timer RC_0 is used to manipulate an output
waveform during INT1 input.
Other than the above: Do not set.
R/W
b1
OPSEL1
R/W
b2
OPOL0
Output waveform manipulation
period output level select bits
b3 b2
0 0: When pins TRCIOA, TRCIOB, TRCIOC, and
TRCIOD are set to be pulled down externally,
timer RC output level is fixed to high
impedance during output waveform
manipulation period
0 1: When pins TRCIOA, TRCIOB, TRCIOC, and
TRCIOD are set to be pulled up externally,
timer RC output level is fixed to high
impedance during output waveform
manipulation period
1 0: Timer RC output level is fixed low during output
waveform manipulation period
1 1: Timer RC output level is fixed high during
output waveform manipulation period
R/W
b3
OPOL1
R/W
b4
RESTATS
Output restart method select bit
0: Output waveform manipulation is stopped by
software and output is restarted
(3)1: Automatic output waveform manipulation is
stopped and automatic output is restarted
(4)R/W
b5
OPE
Waveform output manipulation
0: Output waveform manipulation disabled
1: Output waveform manipulation enabled
R/W
b6
—
Nothing is assigned. The write value must be 0. The read value is 0.
—
b7
—