English
Language : 

HD64F2145 Datasheet, PDF (233/829 Pages) Renesas Technology Corp – Hitachi 16-Bit Single-Chip Microcomputer
8.11.3 Port A Input Data Register (PAPIN)
PAPIN indicates the port A state.
Bit Bit Name Initial Value R/W Description
7
PA7PIN Undefined*
R Reading PAPIN always returns the pin states.
6
PA6PIN Undefined*
R
PAPIN has the same address as PADDR. If a write
is performed, the port A settings will change.
5
PA5PIN Undefined*
R
4
PA4PIN Undefined*
R
3
PA3PIN Undefined*
R
2
PA2PIN Undefined*
R
1
PA1PIN Undefined*
R
0
PA0PIN Undefined*
R
Note:* The initial value is determined according to the PA7 to PA0 pin states.
8.11.4 Pin Functions
• PA7/A23/.,148/CIN15/PS2CD
The pin function is switched as shown below according to the combination of operating mode,
the KBIOE bit in KBCRH_2 of the keyboard buffer controller, the IOSE bit in SYSCR, and
the PA7DDR bit.
Operating
Mode
Modes 1, 2 (EXPE = 0), 3
Mode 2 (EXPE = 1)
KBIOE
0
1
0
1
PA7DDR
0
1
—
0
1
—
IOSE
—
—
—
—
0
1
—
Pin Function PA7
PA7 PS2CD
PA7 A23 output PA7 output PS2CD
input pin output pin output pin input pin
pin
pin output pin
.,148 input pin, CIN15 input pin, PS2CD input pin*
Note:* When the KBIOE bit is set to 1 or the IICS bit in STCR is set to 1, this pin is an NMOS
open-drain output, and has direct bus drive capability. This pin can always be used as the
PS2CD, .,148, or CIN15 input pin.
Rev. 2.0, 08/02, page 193 of 788