Datasheet

Rev. 3.00, 03/04, page 209 of 830
8.6.8 Pin Functions
Normal Extended Mode: Port 6 automatically become the bidirectional data bus in 16-bit bus
mode. The port 6 pins function the same as in shingle chip mode in 8-bit bus mode.
Address-Data Multiplex Extended Mode: The port 6 pins function the same as in shingle chip
mode.
Single Chip Mode: The relationship between the register setting values and pin functions are as
follows.
Port 6 pins also function as the FRT input/output pin, keyboard input pin, noise cancel input pin,
or I/O port.
P67/ KIN7
The function of port 6 pins is switched as shown below according to the P67DDR bit.
When the KMIM7 bit in KMIMR6 of the interrupt controller is cleared to 0, this pin can be
used as the KIN7 input pin. To use this pin as the KIN7 input pin, clear the P67DDR bit to 0.
Mode Port
P67DDR 0 0 1
P67NCE 0 1
P67 input pin P67 input pin
(noise canceling)
Pin function
KIN7 input pin
P67 output pin
P66/FTOB/KIN6
The function of port 6 pins is switched as shown below according to the combination of the
OEB bit in TOCR of FRT and the P66DDR bit.
When the KMIM6 bit in KMIMR6 of the interrupt controller is cleared to 0, this pin can be
used as the KIN6 input pin. To use this pin as the KIN6 input pin, clear the P66DDR bit to 0.
Mode Port FRT
OEB 0 0 0 1
P66DDR 0 0 1
P66NCE 0 1
P66 input pin P66 input pin
(noise
canceling)
Pin function
KIN6 input pin
P66 output pin FTOB output pin