Datasheet

Section 14 Timer RD
Rev. 1.50 Sep. 18, 2007 Page 291 of 584
REJ09B0240-0150
TRDIORC
TRDIORC selects whether GRC or GRD is used as an output compare register or an input
capture register. When an output compare register is selected, the output setting is selected.
When an input capture register is selected, an input edge of an input capture signal is selected.
TRDIORC also selects the function of the FTIOA to FTIOD pins.
Bit Bit Name
Initial
Value R/W Description
7 IOD3 1 R/W I/O Control D3
Specifies GRD to be used as GR for the FTIOB or
FTIOD pin.
0: GRD is used as GR for the FTIOB pin
1: GRD is used as GR for the FTIOD pin
6 IOD2 0 R/W I/O Control D2
Selects the GRD function.
0: GRD functions as an output compare register
1: GRD functions as an input capture register
5
4
IOD1
IOD0
0
0
R/W
R/W
I/O Control D1 and D0
When IOD3 = 0,
00: No output at compare match
01: 0 output to the FTIOB pin at GRD compare match
10: 1 output to the FTIOB pin at GRD compare match
11: Output toggles to the FTIOB pin at GRD compare
match
When IOD3 = 1 and IOD2 = 0,
00: No output at compare match
01: 0 output to the FTIOD pin at GRD compare match
10: 1 output to the FTIOD pin at GRD compare match
11: Output toggles to the FTIOD pin at GRD compare
match
When IOD3 = 1 and IOD2 = 1,
00: Input capture to GRD at rising edge at the FTIOD
pin
01: Input capture to GRD at falling edge at the FTIOD
pin
1X: Input capture to GRD at rising and falling edges at
the FTIOD pin