
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 285 of 728
Aug 05, 2011
17.2.7
Timer RC I/O Control Register 0 (TRCIOR0)
Notes:
1. In buffer operation, registers TRCGRA and TRCGRC, and registers TRCGRB and TRCGRD are paired. The
same values must be set in the IOA2 bit and the IOC2 bit in the TRCIOR1 register, and in the IOB2 bit and the
IOD2 bit in the TRCIOR1 register, respectively.
2. When the input capture function is used, do not rewrite the TRCIOR0 register while the timer is counting.
The setting of the TRCIOR0 register is invalid in PWM mode and PWM2 mode.
Address 00146h (TRCIOR0_0)
Bit
b7b6
b5b4b3
b2b1b0
Symbol
After Reset
1
000
1000
Bit
Symbol
Bit Name
Function
R/W
b0
IOA0
TRCGRA control A0 bit
[IOA2 = 0 (output compare register)]
b1 b0
0 0: Pin output by compare match A is disabled
0 1: Low output from TRCIOA pin at compare match A
1 0: High output from TRCIOA pin at compare match A
1 1: Toggle output from TRCIOA pin at compare match A
[IOA2 = 1 (input capture register)]
b1 b0
0 0: Rising edge of TRCIOA pin
0 1: Falling edge of TRCIOA pin
Other than the above: Both edges of TRCIOA pin
R/W
b1
IOA1
TRCGRA control A1 bit
R/W
b2
IOA2
0: Output compare function
1: Input capture function
R/W
b3
IOA3
TRCGRA input-capture input
switch bit
0: Input capture of fOCO128
1: Input capture of TRCIOA pin input
R/W
b4
IOB0
TRCGRB control B0 bit
[IOB2 = 0 (output compare register)]
b5 b4
0 0: Pin output by compare match B is disabled
0 1: Low output from TRCIOB pin at compare match B
1 0: High output from TRCIOB pin at compare match B
1 1: Toggle output from TRCIOB pin at compare match B
[IOB2 = 1 (input capture register)]
b5 b4
0 0: Rising edge of TRCIOB pin
0 1: Falling edge of TRCIOB pin
Other than the above: Both edges of TRCIOB pin
R/W
b5
IOB1
TRCGRB control B1 bit
R/W
b6
IOB2
0: Output compare function
1: Input capture function
R/W
b7
—
Nothing is assigned. The write value must be 1. The read value is 1.
—