Port B; Overview - Hitachi H8S/2646 Hardware Manual

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

Advertisement

9.9

Port B

9.9.1

Overview

Port B is an 8-bit I/O port. Port B also functions as LCD driver output pins (H8S/2646,
H8S/2646R, H8S/2645: SEG16 to SEG9, H8S/2648, H8S/2648R, H8S/2647: SEG32 to SEG9)
and as address bus outputs. The pin functions are determined by the operating mode.
Port B has a built-in MOS input pull-up function that can be controlled by software.
Figure 9-8 shows the port B pin configuration.
Port B pins
PB7 / A15 / SEG16
PB6 / A14 / SEG15
PB5 / A13 / SEG14
PB4 / A12 / SEG13
Port B
PB3 / A11 / SEG12
PB2 / A10 / SEG11
PB1 / A9 / SEG10
PB0 / A8 / SEG9
Notes: *1 In the H8S/2646, H8S/2646R, and H8S/2645.
*2 In the H8S/2648, H8S/2648R, and H8S/2647.
Pin functions in modes 4 to 6
*1
*2
/ SEG32
PB7
(I/O) /
*1
*2
/ SEG31
PB6
(I/O) /
*1
*2
/ SEG30
PB5
(I/O) /
*1
*2
/ SEG29
PB4
(I/O) /
*1
*2
/ SEG28
PB3
(I/O) /
*1
*2
/ SEG27
PB2
(I/O) /
*1
*2
/ SEG26
PB1
(I/O) /
*1
*2
/ SEG25
PB0
(I/O) /
Mode 7 pins
PB7
(I/O) / SEG16
PB6
(I/O) / SEG15
PB5
(I/O) / SEG14
PB4
(I/O) / SEG13
PB3
(I/O) / SEG12
PB2
(I/O) / SEG11
PB1
(I/O) / SEG10
PB0
(I/O) / SEG9
Figure 9-8 Port B Pin Functions
*1
A15
(output) / SEG16
(output) / SEG32
*1
A14
(output) / SEG15
(output) / SEG31
*1
A13
(output) / SEG14
(output) / SEG30
*1
A12
(output) / SEG13
(output) / SEG29
*1
A11
(output) / SEG12
(output) / SEG28
*1
A10
(output) / SEG11
(output) / SEG27
*1
A9
(output) / SEG10
(output) / SEG26
*1
A8
(output) / SEG9
(output) / SEG25
*1
*2
(output) / SEG32
*1
*2
(output) / SEG31
*1
*2
(output) / SEG30
*1
*2
(output) / SEG29
*1
*2
(output) / SEG28
*1
*2
(output) / SEG27
*1
*2
(output) / SEG26
*1
*2
(output) / SEG25
*2
(output)
*2
(output)
*2
(output)
*2
(output)
*2
(output)
*2
(output)
*2
(output)
*2
(output)
(output)
(output)
(output)
(output)
(output)
(output)
(output)
(output)
261

Advertisement

Table of Contents
loading

Table of Contents