Datasheet

Section 10 I/O Ports
Page 622 of 1384 R01UH0310EJ0500 Rev. 5.00
Sep 25, 2012
H8S/2426, H8S/2426R, H8S/2424 Group
PA0/A16
The pin function is switched as shown below according to the combination of the operating
mode, bit EXPE, bit A16E in PFCR1, and bit PA0DDR.
Operating mode 1, 2 4 3, 7
EXPE 0 1
A16E 0 1 0 1
PA0DDR 0 1 0 1 0 1 0 1 0 1
Pin function A16
output
PA0
input
PA0
output
PA0
input
A16
output
PA0
input
PA0
output
PA0
input
PA0
output
PA0
input
A16
output
10.9.7 Port A Input Pull-Up MOS States
Port A has a built-in input pull-up MOS function that can be controlled by software. This input
pull-up MOS function can be used by pins PA7 to PA5 in modes 1 and 2, and by all pins in modes
3, 4, and 7. The input pull-up MOS can be specified as on or off on a bit-by-bit basis.
Table 10.3 summarizes the input pull-up MOS states. The input pull-up MOS should not be turned
on when the SCI is used.
Table 10.3 Input Pull-Up MOS States for Port A
Mode Reset
Hardware
Standby Mode
Software
Standby Mode
In Other
Operations
3, 4 or 7 PA7 to PA0 Off Off On/Off On/Off
1 or 2 PA7 to PA5 On/Off On/Off
PA4 to PA0 Off Off
[Legend]
Off: Input pull-up MOS is always off.
On/Off: Input pull-up MOS is on when in input port register state and PAPCR = 1; otherwise off.