Input/Output Port (P); Input/Output Port Configuration - Epson S1C17001 Technical Manual

Cmos 16-bit single chip microcontroller
Table of Contents

Advertisement

10 Input/Output Port (P)

10.1 Input/Output Port Configuration

The S1C17001 includes 28 input/output ports (P0[7:0], P1[7:0], P2[7:0], P3[3:0]) to allow software switching of
input/output direction. These share internal peripheral module input/output pins (with certain exceptions), but pins
not used for peripheral modules can be used as general purpose input/output ports.
Figure 10.1.1 illustrates the input/output port configuration.
Input/output direction selection
Peripheral module I/O control
Function selection
Peripheral module output
Peripheral module input
The P0 and P1 ports can generate input interrupts.
The P0[3:0] port can be used for key entry resets. (For more information, refer to "5.1.2 P0 Port Key Entry Reset.")
Note: The PCLK clock must be fed from the clock generator to access the input/output port.
The prescaler output clock is also needed to operate the P0 port chattering filter. Switch on
the prescaler when using this function.
S1C17001 TECHNICAL MANUAL
Pull-up enable
PxPUy
PxIOy
PxyMUX
Output data
PxOUTy
Figure 10.1.1: Input/output port configuration
EPSON
10 INPUT/OUTPUT PORT (P)
HV
DD
Pxy
V
SS
83

Advertisement

Table of Contents
loading

Table of Contents