Port A Input Data Register (Papin); Pin Functions - Renesas H8S/2111B Hardware Manual

Bit single-chip microcomputer h8s family / h8s/2100 series
Table of Contents

Advertisement

7.10.3

Port A Input Data Register (PAPIN)

PAPIN indicates the port A state.
Bit
Bit Name
7
PA7PIN
6
PA6PIN
5
PA5PIN
4
PA4PIN
3
PA3PIN
2
PA2PIN
1
PA1PIN
0
PA0PIN
Note:
*
The initial value is determined according to the PA7 to PA0 pin states.
7.10.4

Pin Functions

• PA7/KIN15/PS2CD
The pin function is switched as shown below according to the combination of the KBIOE bit in
KBCRH_2 of the keyboard buffer controller, and the PA7DDR bit.
KBIOE
PA7DDR
Pin Function
PA7 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 or KIN15 input pin.
• PA6/KIN14/PS2CC
The pin function is switched as shown below according to the combination of the KBIOE bit in
KBCRH_2 of the keyboard buffer controller, and the PA6DDR bit.
KBIOE
PA6DDR
Pin Function
PA6 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 PS2CC or KIN14 input pin.
Rev. 1.00, 05/04, page 126 of 544
Initial Value R/W
Undefined*
R
Undefined*
R
Undefined*
R
Undefined*
R
Undefined*
R
Undefined*
R
Undefined*
R
Undefined*
R
0
0
PA7 output pin
KIN15 input pin, PS2CD input pin*
0
0
PA6 output pin
KIN14 input pin, PS2CC input pin*
Description
Reading PAPIN always returns the pin states. PAPIN
has the same address as PADDR. If a write is
performed, the port A settings will change.
1
1
1
PS2CD output pin
1
PS2CC output pin

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hd64f2111b

Table of Contents