245
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/3060
Page 10: ......
Page 16: ......
Page 114: ...66 ...
Page 132: ...84 ...
Page 144: ...96 ...
Page 170: ...122 ...
Page 212: ...164 ...
Page 268: ...220 ...
Page 332: ...284 ...
Page 396: ...348 ...
Page 494: ...446 ...
Page 698: ...650 ...
Page 748: ...700 H8 3064F ZTAT B mask version Ports 1 2 5 LED 600 Ω Figure 22 8 Sample LED Circuit ...
Page 777: ...729 H8 3062F ZTAT B mask version Ports 1 2 5 LED 600 Ω Figure 22 14 Sample LED Circuit ...
Page 810: ...762 ...
Page 994: ...946 ...