204
Bits 2 to 0—I/O Control A2 to A0 (IOA2 to IOA0): These bits select the GRA function.
Bit 2:
IOA2
Bit 1:
IOA1
Bit 0:
IOA0
Function
0
0
0
GRA is an output
No output at compare match
(Initial value)
1
compare register
0 output at GRA compare match
*
1
1
0
1 output at GRA compare match
*
1
1
Output toggles at GRA compare match
*
1
1
0
0
GRA is an input
Input capture at rising edge
1
capture register
Input capture at falling edge
1
*
2
Input capture at both edges
*
2
Notes: 1. After a reset, the output conforms to the TOA setting in TCRW until the first compare
match.
2. Don’t care
12.2.6
Timer I/O Control Register 1 (TIOR1)
Bit
7
6
5
4
3
2
1
0
—
IOD2
IOD1
IOD0
—
IOC2
IOC1
IOC0
Initial value
1
0
0
0
1
0
0
0
Read/Write
—
R/W
R/W
R/W
—
R/W
R/W
R/W
TIOR1 is an 8-bit read/write register that selects the output compare or input capture function for
GRC and GRD, and specifies the functions of the FTIOC and FTIOD pins. If the output compare
function is selected, TIOR0 also selects the type of output. If input capture is selected, TIOR0 also
selects the edges of the input capture signal.
TIOR1 is initialized to H'88 by a reset.
Bit 7—Reserved: This bit cannot be modified and is always read as 1.
Summary of Contents for H8/3660
Page 4: ......
Page 26: ...10 ...
Page 82: ...66 ...
Page 152: ...136 ...
Page 154: ...138 ...
Page 260: ...244 ...