Datasheet

Section 8 I/O Ports
Rev. 2.00 Sep. 28, 2009 Page 228 of 870
REJ09B0429-0200
8.10.4 Pin Functions
The relationship between the operating mode, register setting values, and pin functions are as
follows.
(1) Normal Extended Mode
Port A pins can function as address output, interrupt input, event counter input, or I/O port pins,
and input or output can be specified in bit units.
Address 18 and address 13 in the following tables are expressed by the following logical
expressions according to the control bits of the bus controller or other module.
Address 18 = 1: ADFULLE
Address 13 = 1: ADFULLE CS256E IOSE
PA7/EVENT7/A23, PA6/EVENT6/A22, PA5/EVENT5/A21,
PA4/EVENT4/A20, PA3/EVENT3/A19, PA2/EVENT2/A18
The pin function is switched as shown below according to the setting of address 18 and the
PAnDDR bit.
When using the pin as an EVENT input pin, clear the PAnDDR bit to 0. Though the settings
for the EVENT input pin have been made, set the PAnDDR bit to 1 when using the pin as the
PAn or Am output pin.
PAnDDR 0 1 1
Address 18 1
PAn input pin Pin function
EVENTn input pin
PAn output pin Am output pin
[Legend] n = 7 to 2, m = 23 to 18