
R8C/3GM Group
19. Timer RC
R01UH0284EJ0100 Rev.1.00
Aug 09, 2011
19.2.6
Timer RC I/O Control Register 0 (TRCIOR0)
Notes:
1. When the BFC bit in the TRCMR register is set to 1 (buffer register of TRCGRA register), set the IOC2 bit in the
TRCIOR1 register to the same value as the IOA2 bit in the TRCIOR0 register.
2. When the BFD bit in the TRCMR register is set to 1 (buffer register of TRCGRB register), set the IOD2 bit in the
TRCIOR1 register to the same value as the IOB2 bit in the TRCIOR0 register.
3. The IOA3 bit is enabled when the IOA2 bit is set to 1 (input capture function).
The TRCIOR0 register is enabled in timer mode. It is disabled in modes PWM and PWM2.
19.2.7
Timer RC I/O Control Register 1 (TRCIOR1)
Notes:
1. When the BFC bit in the TRCMR register is set to 1 (buffer register of TRCGRA register), set the IOC2 bit in the
TRCIOR1 register to the same value as the IOA2 bit in the TRCIOR0 register.
2. When the BFD bit in the TRCMR register is set to 1 (buffer register of TRCGRB register), set the IOD2 bit in the
TRCIOR1 register to the same value as the IOB2 bit in the TRCIOR0 register.
The TRCIOR1 register is enabled in timer mode. It is disabled in modes PWM and PWM2.
Address 0124h
Bit
b7b6b5
b4b3b2
b1b0
Symbol
After Reset
100
010
00
Bit
Symbol
Bit Name
Function
R/W
b0
IOA0
TRCGRA control bit
Function varies according to the operating mode
(function).
R/W
b1
IOA1
R/W
b2
IOA2
TRCGRA mode select bit
(1)0: Output compare function
1: Input capture function
R/W
b3
IOA3
TRCGRA input capture input switch
0: fOCO128 signal
1: TRCIOA pin input
R/W
b4
IOB0
TRCGRB control bit
Function varies according to the operating mode
(function).
R/W
b5
IOB1
R/W
b6
IOB2
TRCGRB mode select bit
(2)0: Output compare function
1: Input capture function
R/W
b7
—
Nothing is assigned. If necessary, set to 0. When read, the content is 1.
—
Address 0125h
Bit
b7b6b5
b4b3b2
b1b0
Symbol
After Reset
100
010
00
Bit
Symbol
Bit Name
Function
R/W
b0
IOC0
TRCGRC control bit
Function varies according to the operating mode
(function).
R/W
b1
IOC1
R/W
b2
IOC2
TRCGRC mode select bit
(1)0: Output compare function
1: Input capture function
R/W
b3
IOC3
TRCGRC register function select bit
0: TRCIOA output register
1: General register or buffer register
R/W
b4
IOD0
TRCGRD control bit
Function varies according to the operating mode
(function).
R/W
b5
IOD1
R/W
b6
IOD2
TRCGRD mode select bit
(2)0: Output compare function
1: Input capture function
R/W
b7
IOD3
TRCGRD register function select bit
0: TRCIOB output register
1: General register or buffer register
R/W