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

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.9.2
P8DR stores output data for the port 8 pins (P86 to P80).
8.9.3
Note:
Rev. 3.00 Mar 21, 2006 page 196 of 788
REJ09B0300-0300
Bit
7
6
5
4
3
2
1
0
ICE
CKE1
C/A
CKE0
P86DDR
Pin Function
P86/IRQ5/ SCK1/SCL1
The pin function is switched as shown below according to the combination of the CKE1 and
CKE0 bits in SCR of SCI_1, the C/A bit in SMR of SCI_1, the ICE bit in ICCR of IIC_1, and
the P86DDR bit.
* When the IRQ5E bit in IER is set to 1, this pin is used as the IRQ5 input pin. When this
Bit Name
P86DR
P85DR
P84DR
P83DR
P82DR
P81DR
P80DR
Port 8 Data Register (P8DR)
Pin Functions
pin is used as the SCL1 I/O pin, bits CKE1 and CKE0 in SCR of SCI_1 and bit C/A in
SMR of SCI_1 must all be cleared to 0. When the P86 output pin and SCK1 output pin
are set, the output type is NMOS push-pull output. SCL1 is an NMOS-only output, and
has direct bus drive capability.
input pin
P86
Initial Value
1
0
0
0
0
0
0
0
0
0
output pin
P86
0
1
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
0
output pin
SCK1
Description
Reserved
The initial value must not be changed.
If a port 8 read is performed while P8DDR bits are
set to 1, the P8DR values are read directly,
regardless of the actual pin states. If a port 8 read
is performed while P8DDR bits are cleared to 0,
the pin states are read.
IRQ5 input pin *
0
1
output pin
SCK1
1
input pin
SCK1
1
I/O pin
SCL1
1
0
0
0

Related parts for h8s-2161b