Datasheet

Section 9 I/O Ports
Rev. 3.00 Sep. 14, 2006 Page 120 of 408
REJ09B0105-0300
9.1.4 Port Pull-Up Control Register 1 (PUCR1)
PUCR1 controls the pull-up MOS in bit units of the pins set as the input ports.
Bit Bit Name
Initial
Value R/W Description
7
6
5
4
3
2
1
0
PUCR17
PUCR14
0
1
1
0
1
1
1
1
R/W
R/W
Only bits for which PCR1 is cleared are valid.
The pull-up MOS of the P17 and P14 pins enter the on-
state when these bits are set to 1, while they enter the
off-state when these bits are cleared to 0.
Bits 6, 5, and 3 to 0 are reserved. These bits are always
read as 1.
9.1.5 Pin Functions
The correspondence between the register specification and the port functions is shown below.
P17/IRQ3/TRGV pin
Register PMR1 PCR1
Bit Name IRQ3 PCR17 Pin Function
Setting value 0 0 P17 input pin
1 P17 output pin
1 X IRQ3 input/TRGV input pin
[Legend]
X: Don't care