Hitachi SH7032 Hardware Manual page 280

Superh risc engine
Table of Contents

Advertisement

• Bits 6–4 (I/O Control B2–B0 (IOB2–IOB0)): IOB2–IOB0 selects the GRB function.
Bit 6:
Bit 5:
Bit 4:
IOB2
IOB1
IOB0
0
0
0
1
1
0
1
1
0
0
1
1
0
1
Notes: *1 After reset, the value output is 0 until the first compare match occurs.
*2 Channel 2 has no compare-match driven toggle output function. If it is set for toggle, 1
is automatically selected as the output.
• Bit 3 (Reserved): Bit 3 always is read as 1. The write value should always be 1.
• Bits 2–0 (I/O Control A2–A0 (IOA2–IOA0)): IOA2–IOA0 select the GRB function.
Bit 2:
Bit 1:
Bit 0:
IOA2
IOA1
IOA0
0
0
0
1
1
0
1
1
0
0
1
1
0
1
Notes: *1 After reset, the value output is 0 until the first compare match occurs.
*2 Channel 2 has no compare-match driven toggle output function. If it is set for toggle, 1
is automatically selected as the output.
GRB
Function
GRB is an
Compare match with pin output disabled (Initial value)
output
0 output at GRB compare match *
compare
1 output at GRB compare match *
register
Output toggles at GRB compare match (1 output for
channel 2 only) *
GRB is an
GRB captures rising edge of input
input capture
GRB captures falling edge of input
register
GRB captures both edges of input
GRA
Function
GRA is an
Compare match with pin output disabled (Initial value)
output
0 output at GRA compare match *
compare
1 output at GRA compare match *
register
Output toggles at GRA compare match (1 output for
channel 2 only) *
GRA is an
GRA captures rising edge of input
input capture
GRA captures falling edge of input
register
GRA captures both edges of input
1
1
1
2
*
1
1
1
2
*
245

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents