Table of Contents

Advertisement

Terminal
Terminal status
name
at initial reset
P00
P00 (Input & pulled down∗)
P01
P01 (Input & pulled down∗)
P02
P02 (Input & pulled down∗)
P03
P03 (Input & pulled down∗)
P10
P10 (Input & pulled down∗)
P11
P11 (Input & pulled down∗)
P12
P12 (Input & pulled down∗)
P13
P13 (Input & pulled down∗)
P20
P20 (Input & pulled down∗)
P21
P21 (Input & pulled down∗)
P22
P22 (Input & pulled down∗)
P23
P23 (Input & pulled down∗)
P40
P40 (Input & pulled down∗)
P41
P41 (Input & pulled down∗)
P42
P42 (Input & pulled down∗)
P43
P43 (Input & pulled down∗)
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.
Table 4.5.1.1 Function setting of input/output terminals
When special outputs/peripheral functions are used (selected by software)
Special output
TOUT
FOUT
BZ
BZ
TOUT_A
FOUT
∗ When "With Pull-Down" is selected by mask option (high impedance when "Gate Direct" is selected)
Serial I/F
R/f converter
Master
Slave
RFIN0
RFOUT
SCLK(O)
SCLK(I)
SOUT(O)
SOUT(O)
SIN(I)
SIN(I)
SRDY(O)/SS(I)
SIC63616-(Rev. 1.0) NO. P45
Stopwatch
Event
direct input
counter
REF0
SEN0
RUN/LAP
RUN/LAP
EVIN_A
EVIN_B
EVIN_C
EVIN_D
3240-0412

Advertisement

Table of Contents
loading

Table of Contents