Port Control Register 1 (Pcr1); Port Data Register 1 (Pdr1) - Renesas H8/36912 Series User Manual

16-bit single-chip microcomputer
Hide thumbs Also See for H8/36912 Series:
Table of Contents

Advertisement

9.1.2

Port Control Register 1 (PCR1)

PCR1 selects inputs/outputs in bit units for pins to be used as general I/O ports of port 1.
Bit
Bit Name
7
PCR17
6
5
4
PCR14
3
2
1
0
9.1.3

Port Data Register 1 (PDR1)

PDR1 is a general I/O port data register of port 1.
Bit
Bit Name
7
P17
6
5
4
P14
3
2
1
0
Downloaded from
Elcodis.com
electronic components distributor
Initial
Value
R/W
Description
0
W
When the corresponding pin is designated in PMR1 as a
general I/O pin, setting a PCR1 bit to 1 makes the
corresponding pin an output port, while clearing the bit to
0 makes the pin an input port.
0
W
Bits 6, 5, and 3 to 0 are reserved.
Initial
Value
R/W
Description
0
R/W
These bits store output data for port 1 pins.
1
If PDR1 is read while PCR1 bits are set to 1, the value
stored in PDR1 are read. If PDR1 is read while PCR1 bits
1
are cleared to 0, the pin states are read regardless of the
0
R/W
value stored in PDR1.
1
Bits 6, 5, and 3 to 0 are reserved. These bits are always
read as 1.
1
1
1
Rev. 1.00, 11/03, page 113 of 376

Advertisement

Table of Contents
loading

Table of Contents