HD6435348R Hitachi Semiconductor, HD6435348R Datasheet - Page 191

no-image

HD6435348R

Manufacturer Part Number
HD6435348R
Description
Single-Chip Microcomputer
Manufacturer
Hitachi Semiconductor
Datasheet
P7DDR can be written but not read. An attempt to read this register does not cause an error, but
all bits are read as 1, regardless of their true values.
At a reset and in the hardware standby mode, P7DDR is initialized to H'00, setting all pins for
input. P7DDR is not initialized in the software standby mode, so if a P7DDR bit is set to 1 when
the chip enters the software standby mode, the corresponding pin continues to output the value in
the port 7 data register.
A transition to the software standby mode initializes the on-chip supporting modules, so any pins
of port 7 that were being used by an on-chip timer when the transition occurs revert to general-
purpose input or output, controlled by P7DDR and P7DR.
2. Port 7 Data Register (P7DR)—H'FE8E
Bit
Initial value
Read/Write
P7DR is an 8-bit register containing the data for pins P7
output pins it reads the value in the P7DR latch, but for input pins, it obtains the pin status
directly.
9.8.3 Pin Functions
The pin functions of port 7 are the same in all MCU operating modes. As figure 9-19 indicated,
these pins are used for input and output of on-chip timer signals as well as for general-purpose
input and output. For some pins, two or more functions can be enabled simultaneously.
R/W
P7
7
0
7
R/W
P7
6
0
6
R/W
P7
5
0
5
174
R/W
P7
4
0
4
7
to P7
R/W
P7
3
0
3
0
. When the CPU reads P7DR, for
R/W
P7
2
0
2
R/W
P7
1
0
1
R/W
P7
0
0
0

Related parts for HD6435348R