Input-Port Pins; Notes On Use - Epson CMOS 32-Bit Single Chip Microcomputer S1C33L03 Technical Manual

Cmos 32-bit single chip microcomputer
Table of Contents

Advertisement

III PERIPHERAL BLOCK: INPUT/OUTPUT PORTS

Input-Port Pins

The input pins concurrently serve as the input pins for peripheral circuits, as shown in Table 9.1. Whether they are
used as input ports or for peripheral circuits can be set bit-for-bit using a function select register. All pins not used
for peripheral circuits can be used as general-purpose input ports that have an interrupt function.
Pin name
I/O
K50/#DMAREQ0
I
Available Input port / High-speed DMA request 0
K51/#DMAREQ1
I
Available Input port / High-speed DMA request 1
K52/#ADTRG
I
Available Input port / AD converter trigger
K53/#DMAREQ2
I
Available Input port / High-speed DMA request 2
K54/#DMAREQ3
I
Available Input port / High-speed DMA request 3
K60/AD0
I
K61/AD1
I
K62/AD2
I
K63/AD3
I
K64/AD4
I
K65/AD5
I
K66/AD6
I
K67/AD7
I
At cold start, all pins are set for input ports Kxx (function select register CFKxx = "0"). When these pins are used
for the internal peripheral circuits, write "1" to CFKxx. For details on pin functions in this case, refer to the
description of each peripheral circuit in this manual.
At hot start, the pins retain their state from prior to the reset.
When the ports set for A/D converter input are read, the value obtained is always "0".

Notes on Use

The input buffers of the K50 and K60 to K67 ports use AV
source. Furthermore, the K50 pull-up resistor is connected to AV
taken.
1) When using K50 and K60–K67 as general-purpose input ports, the voltage input to the port must be high level
= AV
and low level = V
DDE
2) When using V
as high level similar to other ports, V
DDE
input V
level is lower than the AV
DDE
higher than the AV
DDE
3) To fix the input level externally when the port is not used, the input pin should be connected to V
B-III-9-2
Table 9.1 Input Pins
Pull-up
Function
Input port / AD converter input 0
Input port / AD converter input 1
Input port / AD converter input 2
Input port / AD converter input 3
Input port / AD converter input 4
Input port / AD converter input 5
Input port / AD converter input 6
Input port / AD converter input 7
.
SS
level, current flows in the input buffer, or if the input V
DDE
level, current flows from the V
CFK50(D0)/K5 function select register(0x402C0)
CFK51(D1)/K5 function select register(0x402C0)
CFK52(D2)/K5 function select register(0x402C0)
CFK53(D3)/K5 function select register(0x402C0)
CFK54(D4)/K5 function select register(0x402C0)
CFK60(D0)/K6 function select register(0x402C3)
CFK61(D1)/K6 function select register(0x402C3)
CFK62(D2)/K6 function select register(0x402C3)
CFK63(D3)/K6 function select register(0x402C3)
CFK64(D4)/K6 function select register(0x402C3)
CFK65(D5)/K6 function select register(0x402C3)
CFK66(D6)/K6 function select register(0x402C3)
CFK67(D7)/K6 function select register(0x402C3)
(power voltage for A/D converter) as their power
DDE
. Therefore, the following precautions must be
DDE
must be the same voltage level as AV
DDE
power supply to the AV
DDE
EPSON
Function select bit
. If the
DDE
level is
DDE
power supply.
DDE
or AV
SS
DDE
S1C33L03 FUNCTION PART
.

Advertisement

Table of Contents
loading

Table of Contents