Pin Functions; Mos Input Pull-Up Function - Hitachi H8S/2646 Hardware Manual

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

Advertisement

9.12.3

Pin Functions

The port E pin functions are listed in tables 9-26 (1) and 9-26 (2).
Table 9-26 (1)
Port E Pin Functions (H8S/2646, H8S/2646R, H8S/2645)
Operating mode
Bus width setting
PEDDR
Pin function
Table 9-26 (2)
Port E Pin Functions (H8S/2648, H8S/2648R, H8S/2647)
Setting of SEG3 to
SEG0
Operating mode
Bus width setting
PEDDR
Pin function
D7 to D0 I/O PE7 to PE0
9.12.4

MOS Input Pull-Up Function

Port E has a built-in MOS input pull-up function that can be controlled by software. This MOS
input pull-up function can be used in modes 4 to 6 when 8-bit bus mode is selected, or in mode 7,
and can be specified as on or off on an individual bit basis.
In modes 4 to 6 with 8-bit-bus mode selected, or in mode 7, if a pin is in the input state in
accordance with the settings in LPCR and PEDDR, setting the corresponding PEPCR bit to 1 turns
on the MOS input pull-up for that pin.
The MOS input pull-up function is in the off state after a reset, and in hardware standby mode.
The prior state is retained in software standby mode.
Table 9-27 summarizes the MOS input pull-up states.
Modes 4 to 6
16-bit mode
D7 to D0 I/O
PE7 to PE0
input
Modes 4 to 6
16-bit mode
8-bit mode
0
input
8-bit mode
0
1
PE7 to PE0
output
Port
1
PE7 to PE0
PE7 to PE0
output
input
Mode 7
0
PE7 to PE0
PE7 to PE0
input
Mode 7
0
1
PE7 to PE0
output
1
output
SEG
output
SEG1 to
SEG8
output
279

Advertisement

Table of Contents
loading

Table of Contents