Port 2 Pull-Up Mos Control Register (P2Pcr); Pin Functions - Renesas H8S/2437 Hardware Manual

Renesas 16-bit single-chip microcomputer h8s family / h8s / 2600 series
Table of Contents

Advertisement

7.3.4

Port 2 Pull-Up MOS Control Register (P2PCR)

P2PCR controls the on or off state of input pull-up MOSs for port 2.
Bit
Bit Name
7
P27PCR
6
P26PCR
5
P25PCR
4
P24PCR
3
P23PCR
2
P22PCR
1
P21PCR
0
P20PCR
7.3.5

Pin Functions

When the corresponding bit in PTCNT2 is cleared to 0, port 2 pins can be used as TPU I/O pins.
The relationship between register setting values and pin functions is as follows.
• P27/TIOCB2/TCLKD/A15/AD15
When the TIOCB2/TCLKDS bit in PTCNT2 is cleared to 0, this pin can be used as the
TIOCB2/TCLKD pin.
According to operating modes, the TPU channel 2 settings by the MD3 to MD0 bits in
TMDR_2, the IOB3 to IOB0 bits in TIOR_2, and the CCLR1 and CCLR0 bits in TCR_2, and
the combination of the TPSC2 to TPSC0 bits in TCR_0, the TIOCB2/TCLKDS bit, and the
P27DDR bit, pin functions change as follows.
• Extended Mode (EXPE = 1)
Normal Extended Mode (ADMXE = 0)
P27DDR
Pin function
P27 input pin
Initial Value
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
A15 output pin
Description
In normal extended and single-chip modes
When the pins are in the input states, the
corresponding input pull-up MOS is turned on
when a P2PCR bit is set to 1.
In multiplex extended mode
Operation is not affected.
Multiplex Extended Mode (ADMXE = 1)
1
1
TIOCB2 input pin*
2
TCLKD input pin*
Rev. 1.00, 09/03, page 145 of 704
AD15 I/O pin

Advertisement

Table of Contents
loading

Table of Contents