|
HD6437020 Datasheet, PDF (252/507 Pages) Hitachi Semiconductor – SuperH™ RISC engine | |||
|
◁ |
⢠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 GRB Function
0
0
0
GRB is an
Compare match with pin output disabled (initial value)
1
output compare 0 output at GRB compare match*1
register
1
0
1 output at GRB compare match*1
1
Output toggles at GRB compare match (1 output for
channel 2 only)*1,*2
1
0
0
GRB is an
GRB captures rising edge of input
1
input capture GRB captures falling edge of input
register
1
0
GRB captures both edges of input
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 reads 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 GRA Function
0
0
0
GRA is an
Compare match with pin output disabled (initial value)
1
output compare 0 output at GRA compare match*1
register
1
0
1 output at GRA compare match*1
1
Output toggles at GRA compare match (1 output for
channel 2 only)*1,*2
1
0
0
GRA is an
GRA captures rising edge of input
1
input capture GRA captures falling edge of input
register
1
0
GRA captures both edges of input
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.
238 HITACHI
|
▷ |