Hitachi H8/3008 Hardware Manual page 212

16-bit microcomputer
Table of Contents

Advertisement

Bits 6 to 4—I/O Control B2 to B0 (IOB2 to IOB0): These bits select the GRB function.
Bit 6
Bit 5
IOB2
IOB1
0
0
1
1
0
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
Bit 1
IOA2
IOA1
0
0
1
1
0
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.
196
Bit 4
IOB0
Function
0
GRB is an output
compare register
1
0
1
0
GRB is an input
compare register
1
0
1
Bit 0
IOA0
Function
0
GRA is an output
compare register
1
0
1
0
GRA is an input
compare register
1
0
1
No output at compare match
0 output at GRB compare match*
1 output at GRB compare match*
Output toggles at GRB compare match
(1 output in channel 2)*
GRB captures rising edge of input
GRB captures falling edge of input
GRB captures both edges of input
No output at compare match
0 output at GRA compare match*
1 output at GRA compare match*
Output toggles at GRA compare match
(1 output in channel 2)*
GRA captures rising edge of input
GRA captures falling edge of input
GRA captures both edges of input
(Initial value)
1
1
1,
2
*
(Initial value)
1
1
1,
2
*

Advertisement

Table of Contents
loading

Table of Contents