Datasheet

Table Of Contents
Section 9 I/O Ports
Rev. 2.00 Jul. 04, 2007 Page 183 of 692
REJ09B0309-0200
9.8 Port 9
Port 9 is a general I/O port; its pins can also be configured to function as an external interrupt
input pin and PWM output pins. Figure 9.8 shows the pin configuration.
P93/PWM4
Port 9
P92/PWM3/IRQ
4
P91/PWM2
P90/PWM1
Figure 9.8 Port 9 Pin Configuration
Port 9 has the following registers.
Port data register 9 (PDR9)
Port control register 9 (PCR9)
Port mode register 9 (PMR9)
9.8.1 Port Data Register 9 (PDR9)
PDR9 is a register that stores data of port 9.
Bit Bit Name
Initial
Value
R/W Description
7 to 4 All 1 Reserved
These bits are always read as 1 and cannot be
modified.
3
2
1
0
P93
P92
P91
P90
1
1
1
1
R/W
R/W
R/W
R/W
If port 9 is read while PCR9 bits are set to 1, the values
stored in PDR9 are read, regardless of the actual pin
states. If port 9 is read while PCR9 bits are cleared to 0,
the pin states are read.