Hitachi H8S/2646 Hardware Manual page 344

Hitachi 16-bit single-chip microcomputer h8s/2646 series
Table of Contents

Advertisement

Bits 7 to 4— I/O Control B3 to B0 (IOB3 to IOB0)
I/O Control D3 to D0 (IOD3 to IOD0):
Bits IOB3 to IOB0 specify the function of TGRB.
Bits IOD3 to IOD0 specify the function of TGRD.
Bit 7
Bit 6
Channel
IOB3
IOB2
0
0
0
1
1
0
1
Note:
*1 When bits TPSC2 to TPSC0 in TCR1 are set to B'000 and ø/1 is used as the TCNT1
count clock, this setting is invalid and input capture is not generated.
312
Bit 5
Bit 4
IOB1
IOB0 Description
0
0
TGR0B is Output disabled
output
1
compare
0
1
register
1
0
0
1
1
0
1
0
0
TGR0B is
input
1
capture
*
1
register
*
*
Initial output is 0
0 output at compare match
output
1 output at compare match
Toggle output at compare
match
Output disabled
Initial output is 1
0 output at compare match
output
1 output at compare match
Toggle output at compare
match
Capture input
Input capture at rising edge
source is
Input capture at falling edge
TIOCB0 pin
Input capture at both edges
Capture input
Input capture at TCNT1
source is channel
count- up/count-down
1/count clock
(Initial value)
* 1
*: Don't care

Advertisement

Table of Contents
loading

Table of Contents