![Hitachi H8/3008 Hardware Manual Download Page 212](http://html.mh-extra.com/html/hitachi/h8-3008/h8-3008_hardware-manual_140473212.webp)
196
Bits 6 to 4—I/O Control B2 to B0 (IOB2 to IOB0): These bits select the GRB function.
Bit 6
IOB2
Bit 5
IOB1
Bit 4
IOB0
Function
0
0
0
GRB is an output
No output at compare match
(Initial value)
1
compare register
0 output at GRB compare match*
1
1
0
1 output at GRB compare match*
1
1
Output toggles at GRB compare match
(1 output in channel 2)*
1,
*
2
1
0
0
GRB is an input
GRB captures rising edge of input
1
compare register
GRB captures falling edge of input
1
0
GRB captures both edges of input
1
Notes: 1. After a reset, the output conforms to the TOLR setting until the first compare match.
2. Channel 2 output cannot be toggled by compare match. When this setting is made, 1
output is selected automatically.
Bit 3—Reserved: This bit cannot be modified and is always read as 1.
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 output in channel 2)*
1,
*
2
1
0
0
GRA is an input
GRA captures rising edge of input
1
compare register
GRA captures falling edge of input
1
0
GRA captures both edges of input
1
Notes: 1. After a reset, the output conforms to the TOLR setting until the first compare match.
2. Channel 2 output cannot be toggled by compare match. When this setting is made, 1
output is selected automatically.
Summary of Contents for H8/3008
Page 1: ...Hitachi 16 Bit Microcomputer H8 3008 Hardware Manual ADE 602 221 Rev 1 0 9 14 00 Hitachi Ltd ...
Page 4: ......
Page 17: ...xii ...
Page 70: ...54 ...
Page 114: ...98 ...
Page 154: ...138 ...
Page 314: ...298 ...
Page 412: ...396 ...
Page 496: ...480 ...