Datasheet
Section 10 I/O Ports
Page 318 of 982 REJ09B0465-0300 Rev. 3.00
Sep 17, 2010
H8S/20103, H8S/20203, H8S/20223, H8S/20115, H8S/20215, H8S/20235 Group
• H8S/20203 and H8S/20215 Groups
10.8.5 Port Mode Register A (PMRA)
b7
PMRA7
0
b6
PMRA6
0
b5
PMRA5
0
b4
PMRA4
0
b3
⎯
0
b2
PMRA2
0
b1
⎯
0
b0
⎯
0
H'FF0009
Bit:
Address:
Value after reset:
Bit Symbol Bit Name Description R/W
7 PMRA7 Port A7 mode R/W
6 PMRA6 Port A6 mode R/W
5 PMRA5 Port A5 mode R/W
4 PMRA4 Port A4 mode
0: General I/O port
1: The function selected by the peripheral function
mapping controller (PMC).
PMRA is a register that selects the function of the
port A multiplexed pins: general I/O function or the
function selected by the PMC.
R/W
3 ⎯ Reserved This bit is read as 0. The write value should be 0. ⎯
2 PMRA2 Port B0 analog
input select
0: General I/O port
1: AN0 input pin
R/W
1, 0 ⎯ Reserved These bits are read as 0. The write value should be
0.
⎯
• PMRA7 bit to PMRA4 bit (port A7 to A4 mode)
These bits select the function of the multiplexed pins PA7 to PA4: general I/O function or the
function selected by the PMC.
• PMRA2 bit (port A2 mode)
This bit selects general I/O function or the analog input function for PB0.