SIC63616-(Rev. 1.0) NO. P45
3240-0412
Table 4.5.1.1 Function setting of input/output terminals
Terminal
name
P00
P01
P02
P03
P10
P11
P12
P13
P20
P21
P22
P23
P40
P41
P42
P43
Terminal status
at initial reset
P00 (Input & pulled down
∗
)
P01 (Input & pulled down
∗
)
P02 (Input & pulled down
∗
)
P03 (Input & pulled down
∗
)
P10 (Input & pulled down
∗
)
P11 (Input & pulled down
∗
)
P12 (Input & pulled down
∗
)
P13 (Input & pulled down
∗
)
P20 (Input & pulled down
∗
)
P21 (Input & pulled down
∗
)
P22 (Input & pulled down
∗
)
P23 (Input & pulled down
∗
)
P40 (Input & pulled down
∗
)
P41 (Input & pulled down
∗
)
P42 (Input & pulled down
∗
)
P43 (Input & pulled down
∗
)
TOUT
TOUT_A
FOUT
FOUT
BZ
BZ
Master
SCLK(O)
SOUT(O)
SIN(I)
Slave
SCLK(I)
SOUT(O)
SIN(I)
SRDY(O)/SS(I)
R/f converter
RFIN0
REF0
SEN0
RFOUT
Stopwatch
direct input
RUN/LAP
RUN/LAP
Event
counter
EVIN_A
EVIN_B
EVIN_C
EVIN_D
∗
When "With Pull-Down" is selected by mask option (high impedance when "Gate Direct" is selected)
Special output
When special outputs/peripheral functions are used (selected by software)
Serial I/F
When these ports are used as I/O ports, the ports can be set to either input mode or output mode
individually (in 1-bit units). The mode can be set by writing data to the I/O control registers.
When the special output or peripheral function is used, the input/output direction of the port is automatically
configured by switching the terminal function. For controlling the serial interface, R/f converter, BZ output,
stopwatch timer, and event counter, refer to "4.10 Serial Interface", "4.13 R/f Converter", "4.11 Sound
Generator", "4.8 Stopwatch Timer", and "4.9 Programmable Timer".
Note: Before the port function is configured, the circuit that uses the port (e.g. input interrupt, multiple key
entry reset, serial interface, event counter input, direct RUN/LAP input for stopwatch) must be dis-
abled.
4.5.2 Mask option
The output specification of each I/O port during output mode can be selected from either complementary
output or P-channel open drain output by mask option. This selection can be done in 1-bit units. When
P-channel open drain output is selected, do not apply a voltage exceeding the power supply voltage to the
port.
The mask option also allows selection of whether the pull-down resistor is used or not during input mode.
This selection can be done in 1-bit units. When "Not use" is selected, take care that the floating status does
not occur during input mode.
The pull-down resistor for input mode and output specification (complementary output or P-channel open
drain output) selected by mask option are effective even when I/O ports are used for input/output of the
serial interface and R/f converter.