
Section 8 I/O Ports
Rev. 6.00 Sep 12, 2006 page 191 of 526
REJ09B0326-0600
PDR6 is an 8-bit register that stores data for port 6 pins P6
7
to P6
0
.
When a bit in PCR6 is set to 1, if port 6 is read the value of the corresponding PDR6 bit is
returned directly regardless of the pin state. When a bit in PCR6 is cleared to 0, if port 6 is read the
corresponding pin state is read.
Upon reset, PDR6 is initialized to H'00.
Port Control Register 6 (PCR6)
Bit
7 6 5 4 3 2 1 0
PCR6
7
PCR6
6
PCR6
5
PCR6
4
PCR6
3
PCR6
2
PCR6
1
PCR6
0
Initial
value 0 0 0 0 0 0 0 0
Read/Write W W W W W W W W
PCR6 is an 8-bit register for controlling whether each of the port 6 pins P6
7
to P6
0
functions as an
input pin or output pin.
When a bit in PCR6 is set to 1, the corresponding pin of P6
7
to P6
0
becomes an output pin.
Upon reset, PCR6 is initialized to H'00.
PCR6 is a write-only register, which always reads all 1s.
8.6.3 Pin
Functions
Table 8.15 shows the port 6 pin functions.
Table 8.15 Port 6 Pin Functions
Pin
Pin Functions and Selection Method
P6
7
to P6
0
The pin function depends on bit PCR6
n
in PCR6
(n = 7 to 0)
PCR6
n
0
1
Pin
function
P6
n
input pin
P6
n
output pin
Summary of Contents for F-ZTAT H8/3642A Series
Page 6: ...Rev 6 00 Sep 12 2006 page iv of xx ...
Page 8: ...Rev 6 00 Sep 12 2006 page vi of xx ...
Page 22: ...Rev 6 00 Sep 12 2006 page xx of xx ...
Page 124: ...Section 5 Power Down Modes Rev 6 00 Sep 12 2006 page 102 of 526 REJ09B0326 0600 ...
Page 188: ...Section 6 ROM Rev 6 00 Sep 12 2006 page 166 of 526 REJ09B0326 0600 ...
Page 190: ...Section 7 RAM Rev 6 00 Sep 12 2006 page 168 of 526 REJ09B0326 0600 ...
Page 298: ...Section 9 Timers Rev 6 00 Sep 12 2006 page 276 of 526 REJ09B0326 0600 ...
Page 378: ...Section 12 A D Converter Rev 6 00 Sep 12 2006 page 356 of 526 REJ09B0326 0600 ...
Page 446: ...Section 13 Electrical Characteristics Rev 6 00 Sep 12 2006 page 424 of 526 REJ09B0326 0600 ...