Port 2 Input Pull-Up Mos; Port 3; Port 3 Data Direction Register (P3Ddr); Table 7.3 Input Pull-Up Mos States (Port 2) - Renesas H8S/2111B Hardware Manual

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

Advertisement

7.2.5

Port 2 Input Pull-Up MOS

Port 2 has an on-chip input pull-up MOS function that can be controlled by software. This input
pull-up MOS function can be specified as on or off on a bit-by-bit basis.
Table 7.3 summarizes the input pull-up MOS states.
Table 7.3
Input Pull-Up MOS States (Port 2)
Hardware
Reset
Standby Mode
Off
Off
[Legend]
Off:
Input pull-up MOS is always off.
On/Off: On when the pin is in the input state, P2DDR = 0, and P2PCR = 1; otherwise off.
7.3

Port 3

Port 3 is an 8-bit I/O port. Port 3 pins also function as LPC input/output pins. Port 3 has the
following registers.

• Port 3 data direction register (P3DDR)

• Port 3 data register (P3DR)
• Port 3 pull-up MOS control register (P3PCR)
7.3.1
Port 3 Data Direction Register (P3DDR)
P3DDR specifies input or output for the pins of port 3 on a bit-by-bit basis.
Bit
Bit Name
7
P37DDR
6
P36DDR
5
P35DDR
4
P34DDR
3
P33DDR
2
P32DDR
1
P31DDR
0
P30DDR
Rev. 1.00, 05/04, page 104 of 544
Initial
Value
R/W
0
W
0
W
0
W
0
W
0
W
0
W
0
W
0
W
Software
Standby Mode
On/Off
Description
The corresponding port 3 pins are output ports when
P3DDR bits are set to 1, and input ports when P3DDR
bits are cleared to 0.
In Other
Operations
On/Off

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hd64f2111b

Table of Contents