Datasheet

Section 8 I/O Ports
Rev. 2.00 Sep. 28, 2009 Page 222 of 870
REJ09B0429-0200
8.9.2 Port 9 Data Register (P9DR)
P9DR stores output data for the port 9 pins.
Bit Bit Name Initial Value R/W Description
7 P97DR 0 R/W
6 P96DR Undefined* R/W
5 P95DR 0 R/W
4 P94DR 0 R/W
3 P93DR 0 R/W
2 P92DR 0 R/W
1 P91DR 0 R/W
P9DR stores output data for the port 9 pins that are
used as the general output port.
If this register is read, the P9DR values are read for
the bits with the corresponding P9DDR bits set to 1.
For the bits with the corresponding P9DDR bits
cleared to 0, the pin states are read.
0 P90DR 0 R/W
Note: * The initial value is determined in accordance with the pin state of P96.
8.9.3 Pin Functions
The relationship between register setting values and pin functions are as follows.
P97/WAIT/CS256
The pin function is switched as shown below according to the operating mode and the
combination of the CS256E bit in SYSCR, the WMS1 bit in WSCR, the WMS21 bit in
WSCR2, and the P97DDR bit.
Operating
mode
Extended mode Single-chip mode
WMS1,
WMS21
All 0 Either bit is 1 X
CS256E 0 1 X X
P97DDR 0 1 X X 0 1
Pin function P97 input pin P97 output
pin
CS256 output
pin
WAIT input
pin
P97 input pin P97 output
pin
[Legend] X: Don't care.