Section 8 I/O Ports
Rev. 7.00 Mar 10, 2005 page 197 of 652
REJ09B0042-0700
Port Pull-Up Control Register 1 (PUCR1)
Bit 76543210
PUCR1
7
PUCR1
6
* — PUCR1
4
PUCR1
3
———
Initial value 0 0 — 0 0 — — —
Read/Write R/W R/W W R/W R/W W W W
PUCR1 controls whether the MOS pull-up of each of the port 1 pins P1
7
, P1
6
*, P1
4
, and P1
3
is on
or off. When a PCR1 bit is cleared to 0, setting the corresponding PUCR1 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.
Note: * Pin 1
6
and the associated function are not implemented on the H8/38124 Group.
The register is both readable and writeable.
Port Mode Register 1 (PMR1)
Bit 76543210
IRQ3 — — IRQ4 TMIG — — —
Initial value 0 1 — 0 0 — 1 —
Read/Write R/W — W R/W R/W W — W
PMR1 is an 8-bit read/write register, controlling the selection of pin functions for port 1 pins.
Bit 7—P1
7
/
IRQ
3
/TMIF Pin Function Switch (IRQ3)
This bit selects whether pin P1
7
/
IRQ
3
/TMIF is used as P1
7
or as
IRQ
3
/TMIF.
Bit 7
IRQ3 Description
0 Functions as P1
7
I/O pin (initial value)
1 Functions as
IRQ
3
/TMIF input pin
Note: Rising or falling edge sensing can be designated for
IRQ
3
, TMIF. For details on TMIF
settings, see 3. Timer Control Register F (TCRF) in section 9.4.2.
Bit 6—Reserved
This bit is reserved; it is always read as 1 and cannot be modified.
Bit 5—Reserved
This bit is reserved; it can only be written with 0.