EasyManua.ls Logo

Hitachi H8/500 Series - Port 3 Registers

Hitachi H8/500 Series
459 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
9.4.2 Port 3 Registers
Register Configuration: Table 9-6 lists the registers of port 3.
Table 9-6 Port 3 Registers
Name Abbreviation Read/Write Initial Value Address
Port 3 data direction register P3DDR W H'00 H'FF84
Port 3 data register P3DR R/W H'00 H'FF86
1. Port 3 Data Direction Register (P3DDR)—H'FF84
P3DDR is an 8-bit register that selects the direction of each pin in port 3.
Single-Chip Mode: A pin functions as an output pin if the corresponding bit in P3DDR is set
to “1,” and as an input pin if the bit is cleared to “0.
P3DDR 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, P3DDR is initialized to H'00, making all eight pins
input pins. P3DDR is not initialized in the software standby mode, so if a P3DDR bit is set to “1”
when the chip enters the software standby mode, the corresponding pin continues to output the
value in the port 3 data register.
Expanded Modes: P3DDR is not used.
Bit 76543210
P3
7DDR P36DDR P35DDR P34DDR P33DDR P32DDR P31DDR P30DDR
Initial value 00000000
Read/Write WWWWWWWW
152
Downloaded from Elcodis.com electronic components distributor

Table of Contents

Related product manuals