English
Language : 

HD64F38024HV Datasheet, PDF (234/684 Pages) Renesas Technology Corp – Hardware Manual Renesas 8-Bit Single-Chip Microcomputer H8 Family/H8/300L Super Low Power Series
Section 8 I/O Ports
Port Control Register 4 (PCR4)
Bit
7
6
5
4
3
2
1
0
⎯
⎯
⎯
⎯
⎯ PCR42 PCR41 PCR4 0
Initial value
1
1
1
1
1
0
0
0
Read/Write
⎯
⎯
⎯
⎯
⎯
W
W
W
PCR4 is an 8-bit register for controlling whether each of port 4 pins P42 to P40 functions as an
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
7
⎯
Initial value
1
Read/Write
⎯
6
5
4
⎯
POF1
⎯
1
0
1
⎯
R/W
⎯
3
2
1
0
⎯ WDCKS NCS IRQ0
1
0
0
0
⎯
R/W
R/W
R/W
PMR2 is an 8-bit read/write register. It controls whether the PMOS transistor internal to P35 is on
or off, the selection of the watchdog timer clock, the selection of TMIG noise cancellation, and
switching of the P43/IRQ0 pin functions.
Upon reset, PMR2 is initialized to H'D8.
This section only deals with the bit that controls switching of the P43/IRQ0 pin functions. For the
functions of the other bits, see the descriptions of port 1 (WDCKS and NCS) and port 3 (POF1).
Bit 0—P43/IRQ0 Pin Function Switch (IRQ0)
This bit selects whether pin P43/IRQ0 is used as P43 or as IRQ0.
Bit 0
IRQ0
0
1
Description
Functions as P43 input pin
Functions as IRQ0 input pin
(initial value)
Rev. 8.00 Mar. 09, 2010 Page 212 of 658
REJ09B0042-0800