English
Language : 

HD6433832S Datasheet, PDF (161/560 Pages) Renesas Technology Corp – single-chip microcomputers
Port Data Register 3 (PDR3)
Bit
Initial value
Read/Write
7
P37
0
R/W
6
P36
0
R/W
5
P35
0
R/W
4
P34
0
R/W
3
P33
0
R/W
2
P32
0
R/W
1
P31
0
R/W
0
P30
0
R/W
PDR3 is an 8-bit register that stores data for port 3 pins P37 to P30. If port 3 is read while PCR3
bits are set to 1, the values stored in PDR3 are read, regardless of the actual pin states. If port 3 is
read while PCR3 bits are cleared to 0, the pin states are read.
Upon reset, PDR3 is initialized to H'00.
Port Control Register 3 (PCR3)
Bit
Initial value
Read/Write
7
PCR37
0
W
6
PCR36
0
W
5
PCR35
0
W
4
PCR34
0
W
3
PCR33
0
W
2
PCR32
0
W
1
PCR31
0
W
0
PCR30
0
W
PCR3 is an 8-bit register for controlling whether each of the port 3 pins P37 to P30 functions as an
input pin or output pin. Setting a PCR3 bit to 1 makes the corresponding pin an output pin, while
clearing the bit to 0 makes the pin an input pin. The settings in PCR3 and in PDR3 are valid only
when the corresponding pin is designated in PMR3 as a general I/O pin.
Upon reset, PCR3 is initialized to H'00.
PCR3 is a write-only register. All bits are read as 1.
Port Pull-Up Control Register 3 (PUCR3)
Bit
Initial value
Read/Write
7
6
5
4
3
2
1
0
PUCR37 PUCR36 PUCR35 PUCR34 PUCR33 PUCR32 PUCR31 PUCR30
0
0
0
0
0
0
0
0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
PUCR3 bits control the on/off state of pin P37–P30 MOS pull-ups. When a PCR3 bit is cleared to
0, setting the corresponding PUCR3 bit to 1 turns on the MOS pull-up for the corresponding pin,
while clearing the bit to 0 turns off the MOS pull-up.
Upon reset, PUCR3 is initialized to H'00.
146