Hitachi H8/3692 ユーザーズマニュアル

ページ / 397
Rev. 1.0, 07/01, page 160 of 372
12.3.6
Timer I/O Control Register 1(TIOR1)
TIOR1 selects the functions of GRC and GRD, and specifies the functions of the FTIOC and
FTIOD pins.
Bit
Bit Name Initial Value
R/W
Description
7
1
Reserved
This bit is always read as 1 and cannot be modified.
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 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 IOD2=1,
00: Input capture at rising edge at the FTIOD pin
01: Input capture at falling edge at the FTIOD pin
1X: Input capture at rising edge and falling edge at the
FTIOD pin
3
1
Reserved
This bit is always read as 1 and cannot be modified.
2
IOC2
0
R/W
I/O Control C2
Selects the GRC function.
0: GRC functions as an output compare register
1: GRC functions as an input capture register
1
0
IOC1
IOC0
0
0
R/W
R/W
I/O Control C1 and C0
When IOC2=0,
00: No output at compare match
01: 0 output to the FTIOC pin at GRC compare match
10: 1 output to the FTIOC pin at GRC compare match
11: Output toggles to the FTIOC pin at GRC compare
match
When IOC2=1,
00: Input capture to GRC at rising edge of the FTIOC pin
01: Input capture to GRC at falling edge of the FTIOC pin
1X: Input capture to GRC at rising edge and falling edge of
the FTIOC pin
Legend  X: Don't care.