Renesas H8/38024 Hardware Manual page 234

8-bit single-chip microcomputer h8 family/h8/300l super low power series
Hide thumbs Also See for H8/38024:
Table of Contents

Advertisement

Port Control Register 4 (PCR4)
Bit
Initial value
Read/Write
PCR4 is an 8-bit register for controlling whether each of port 4 pins P4
input pin or output pin. Setting a PCR4 bit to 1 makes the corresponding pin an output pin, while
clearing the bit to 0 makes the pin an input pin. PCR4 and PDR4 settings are valid when the
corresponding pins are designated for general-purpose input/output by SCR3.
Upon reset, PCR4 is initialized to H'F8.
PCR4 is a write-only register, which is always read as all 1s.
Port Mode Register 2 (PMR2)
Bit
Initial value
Read/Write
PMR2 is an 8-bit read/write register. It controls whether the PMOS transistor internal to P3
or off, the selection of the watchdog timer clock, the selection of TMIG noise cancellation, and
switching of the P4
/IRQ
3
Upon reset, PMR2 is initialized to H'D8.
This section only deals with the bit that controls switching of the P4
functions of the other bits, see the descriptions of port 1 (WDCKS and NCS) and port 3 (POF1).
IRQ
IRQ
IRQ
Bit 0—P4
/IRQ
Pin Function Switch (IRQ
3
0
This bit selects whether pin P4
Bit 0
IRQ
Description
0
0
Functions as P4
Functions as IRQ
1
Rev. 6.00, 08/04, page 204 of 628
7
6
5
1
1
1
7
6
5
POF1
1
1
0
R/W
pin functions.
0
/IRQ
is used as P4
3
0
input pin
3
input pin
0
4
3
1
1
4
3
1
1
)
0
or as IRQ
.
3
0
2
1
PCR4
PCR4
PCR4
2
1
0
0
W
W
to P4
functions as an
2
0
2
1
WDCKS
NCS
0
0
R/W
R/W
/IRQ
pin functions. For the
3
0
(initial value)
0
0
0
W
0
IRQ
0
0
R/W
is on
5

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8/38024f-ztatH8/38124H8/38024s

Table of Contents