
Table 9-11   Port 6 Pin Functions in Modes 7, 2, and 1 (cont)
Pin
P6
1
 / IRQ
3
 /
PW
1
Selection of Pin Functions
The function depends on the interrupt request 3 enable bit (IRQ
3
E) and P6PWME 
bit in SYSCR2, and the OE bit of PWM timer 1.
IRQ
3
E
P6PWME
OE
Pin function
0
1
0
1
0
1
0
1
0
1
0
1
0
1
P6
1
 input/output PW
1
 output IRQ
3
 input
IRQ
3
 input
When used for P6
1
 input/output, the input or output function is selected by P6
1
DDR.
P6
0
 / IRQ
2
The function depends on the interrupt request 2 enable bit (IRQ
2
E) in SYSCR2.
IRQ
2
E
Pin function
0
1
P6
0
 input/output
IRQ
2
 input
When used for P6
0
 input/output, the input or output function is selected by P6
0
DDR.
9.7.4  Built-In MOS Pull-Up
Port 6 has programmable MOS input pull-ups which are turned on by clearing the corresponding
bit in P6DDR to 0 and writing a 1 in P6DR.  These pull-ups are turned off at a reset and in the
hardware standby mode.  Table 9-12 indicates the status of the MOS pull-ups in various modes.
Table 9-12   Status of MOS Pull-Ups for Port 5
Mode
1
2
3
4
7
Reset
OFF
Hardware Standby Mode
OFF
Other Operating States
*
OFF
* Including software standby mode.
Notation:
OFF:
The MOS pull-up is always off.
ON/OFF:
The MOS pull-up is on when P6DDR = 0 and P6DR = 1, and off otherwise.
Note: 
When P6
1
, P6
2
, and P6
3
 are used for PWM timer output, their MOS pull-ups are switched
off regardless of the values in P6DDR and P6DR.
ON/OFF
ON/OFF
172