10.3 Pin Functions - Renesas H8S/2633 Series Hardware Manual

Hide thumbs Also See for H8S/2633 Series:
Table of Contents

Advertisement

Port D MOS Pull-Up Control Register (PDPCR)
Bit
:
7
PD7PCR PD6PCR PD5PCR PD4PCR PD3PCR PD2PCR PD1PCR PD0PCR
Initial value :
0
R/W
:
R/W
PDPCR is an 8-bit readable/writable register that controls the MOS input pull-up function
incorporated into port D on an individual bit basis.
When a PDDDR bit is cleared to 0 (input port setting) in mode 7, setting the corresponding
PDPCR bit to 1 turns on the MOS input pull-up for the corresponding pin.
PDPCR is initialized to H'00 by a power-on reset, and in hardware standby mode. It retains its
prior state by a manual reset or in software standby mode.
10B.10.3 Pin Functions
Modes 4 to 6: In modes 4 to 6, port D pins are automatically designated as data I/O pins.
Port D pin functions in modes 4 to 6 are shown in figure 10B-17.
Mode 7: In mode 7, port D pins function as I/O ports. Input or output can be specified for each pin
on an individual bit basis. Setting a PDDDR bit to 1 makes the corresponding port D pin an output
port, while clearing the bit to 0 makes the pin an input port.
494
6
5
0
0
R/W
R/W
Port D
Figure 10B-17 Port D Pin Functions (Modes 4 to 6)
4
3
0
0
R/W
R/W
R/W
D15
(I/O)
D14
(I/O)
D13
(I/O)
D12
(I/O)
D11
(I/O)
D10
(I/O)
D9
(I/O)
D8
(I/O)
2
1
0
0
0
0
R/W
R/W

Advertisement

Table of Contents
loading

Table of Contents