Pin Function; Table 8.6 Port 2 Pin Functions - Renesas H8/3847R Series Hardware Manual

8-bit single-chip microcomputer super low power
Table of Contents

Advertisement

Bit n: NMOS open-drain output select (NMODn)
These bits select NMOS open-drain output when pin P2
Bit n
NMODn
Description
0
CMOS output
1
NMOS open-drain output
8.3.3

Pin Function

Table 8.6 shows the port 2 pin functions.
Table 8.6
Port 2 Pin Functions
Pin
Pin Functions and Selection Method
P2
to P2
The pin function depends on the corresponding bit in PCR2.
7
3
P2
/SO
The pin function depends on bit SO1 in PMR2 and bit PCR2
2
1
P2
/SI
The pin function depends on bit SI1 in PMR2 and bit PCR2
1
1
P2
/SCK
The pin function depends on bit SCK1 in PMR2 and bit PCR2
0
1
PCR2
n
Pin function
SO1
PCR2
2
Pin function
P2
SI1
PCR2
1
Pin function
P2
SCK1
PCR2
0
Pin function
P2
is used as an output pin.
n
0
P2
input pin
n
0
0
1
input pin
P2
output pin
2
2
0
0
1
input pin
P2
output pin
1
1
0
0
1
input pin
P2
output pin
0
0
Rev. 6.00 Aug 04, 2006 page 217 of 680
Section 8 I/O Ports
(initial value)
(n = 7 to 0)
(n = 7 to 3)
1
P2
output pin
n
in PCR2.
2
1
*
SO
output pin
1
in PCR2.
1
1
*
SI
input pin
1
in PCR2.
0
1
*
SCK
I/O pin
1
*: Don't care
REJ09B0145-0600

Advertisement

Table of Contents
loading

Table of Contents