279
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
Modes 4 to 6
Mode 7
Bus width setting
16-bit mode
8-bit mode
—
PEDDR
—
0
1
0
1
Pin function
D7 to D0 I/O
PE7 to PE0
input
PE7 to PE0
output
PE7 to PE0
input
PE7 to PE0
output
Table 9-26 (2)
Port E Pin Functions (H8S/2648, H8S/2648R, H8S/2647)
Setting of SEG3 to
SEG0
Port
SEG
output
Operating mode
Modes 4 to 6
Mode 7
—
Bus width setting
16-bit mode
8-bit mode
—
—
PEDDR
—
0
1
0
1
—
Pin function
D7 to D0 I/O PE7 to PE0
input
PE7 to PE0
output
PE7 to PE0
input
PE7 to PE0
output
SEG1 to
SEG8
output
9.12.4MOS 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.
Summary of Contents for H8S/2645
Page 4: ......
Page 16: ......
Page 58: ...26 ...
Page 110: ...78 ...
Page 120: ...88 ...
Page 132: ...100 ...
Page 160: ...128 ...
Page 172: ...140 ...
Page 418: ...386 ...
Page 444: ...412 ...
Page 530: ...498 ...
Page 562: ...530 ...
Page 642: ...610 ...
Page 662: ...630 ...
Page 688: ...656 ...
Page 756: ...724 ...
Page 784: ...752 ...
Page 812: ...780 ...
Page 837: ...805 A 2 Instruction Codes Table A 2 shows the instruction codes ...
Page 1152: ...1120 ...