h8s-2161b Renesas Electronics Corporation., h8s-2161b Datasheet - Page 260

no-image

h8s-2161b

Manufacturer Part Number
h8s-2161b
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Section 8 I/O Ports
8.11.3
PAPIN indicates the port A state.
Note:
8.11.4
Note:
Rev. 3.00 Mar 21, 2006 page 206 of 788
REJ09B0300-0300
Bit
7
6
5
4
3
2
1
0
Operating
Mode
KBIOE
PA7DDR
IOSE
Pin Function
PA7/A23/KIN15/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.
* The initial value is determined according to the PA7 to PA0 pin states.
* When the KBIOE bit is set to 1 or the IICS bit in STCR is set to 1, this pin is an NMOS
Bit Name
PA7PIN
PA6PIN
PA5PIN
PA4PIN
PA3PIN
PA2PIN
PA1PIN
PA0PIN
Port A Input Data Register (PAPIN)
Pin Functions
open-drain output, and has direct bus drive capability. This pin can always be used as
the PS2CD, KIN15, or CIN15 input pin.
input pin
PA7
Modes 1, 2 (EXPE = 0), 3
0
Initial Value
Undefined *
Undefined *
Undefined *
Undefined *
Undefined *
Undefined *
Undefined *
Undefined *
0
output pin
PA7
KIN15 input pin, CIN15 input pin, PS2CD input pin *
1
R/W
R
R
R
R
R
R
R
R
output pin
PS2CD
1
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.
input pin
PA7
0
output pin
Mode 2 (EXPE = 1)
A23
0
0
1
output pin
PA7
1
output pin
PS2CD
1

Related parts for h8s-2161b