Port A Register (Porta); Port A Mos Pull-Up Control Register (Papcr) - Hitachi H8S/2215 Series Hardware Manual

Hitachi single-chip microcomputer
Table of Contents

Advertisement

9.6.3

Port A Register (PORTA)

PORTA shows port A pin states.
Bit
Bit Name Initial Value
7 to
Undefined
4
3
PA3
*
2
PA2
*
1
PA1
*
0
PA0
*
Note:* Determined by the states of pins PA3 to PA0.
9.6.4

Port A MOS Pull-Up Control Register (PAPCR)

PAPCR controls the function of the port A input pull-up MOS. PAPCR is valid for port input and
SCI input pins.
Bit
Bit Name Initial Value
7 to
Undefined
4
3
PA3PCR* 0
2
PA2PCR 0
1
PA1PCR 0
0
PA0PCR 0
Note: * Set PA3PCR to 0 when FADSEL of USB is 1.
Rev. 3.0, 10/02, page 234 of 686
R/W
Description
Reserved
These bits are undefined and cannot be modified.
R
If a port A read is performed while PADDR bits are set to
1, the PADR values are read. If a port A read is performed
R
while PADDR bits are cleared to 0, the pin states are
R
read.
R
R/W
Description
Reserved
These bits are undefined and cannot be modified.
R/W
When a pin function is specified to an input port, setting
the corresponding bit to 1 turns on the input pull-up MOS
R/W
for that pin.
R/W
R/W

Advertisement

Table of Contents
loading

Table of Contents