O Ports (Pport); Overview - Epson S1C17M20 Technical Manual

Cmos 16-bit single chip microcontroller
Table of Contents

Advertisement

6 I/O Ports (PPORT)

6.1 Overview

PPORT controls the I/O ports. The main features are outlined below.
• Allows port-by-port function configurations.
- Each port can be configured with or without a pull-up or pull-down resistor.
- Each port can be configured with or without a chattering filter.
- Allows selection of the function (general-purpose I/O port (GPIO) function, up to four peripheral I/O func-
tions) to be assigned to each port.
• Ports, except for those shared with debug pins, are initially placed into Hi-Z state.
(No current passes through the pin during this Hi-Z state.)
Note: 'x', which is used in the port names Pxy, register names, and bit names, refers to a port group (x
= 0, 1, 2, ··· , d) and 'y' refers to a port number (y = 0, 1, 2, ··· , 7).
Figure 6.1.1 shows the configuration of PPORT.
Table 6.1.1 Port Configuration of S1C17M20/M21/M22/M23/M24/M25
Item
Port groups included
P0 P0[3:0]
P1 P1[5:2]
P2 P2[7:4]
P3 P3[2:0]
P4 –
Pd Pd[2:0]
Total number of ports
Ports for debug function
Key-entry reset function
*1 Ports with general-purpose I/O function (GPIO)
*2 Ports with interrupt function
S1C17M20/M21/M22/M23/M24/M25
TECHNICAL MANUAL (Rev. 1.0)
S1C17M20/M23
24-pin package
32-pin package
(4)
P0[3:0]
*1, *2
(4)
P1[5:0]
*1, *2
(4)
P2[7:2]
*1, *2
(3)
P3[2:0]
*1, *2
(0)
(3)
Pd[4:0]
*1
(Pd2: output only)
(Pd2: output only)
Input/output port: 17
Input/output port: 23
Output port:
1
Output port:
Seiko Epson Corporation
S1C17M21/M24
(4)
P0[3:0]
(4)
*1, *2
*1, *2
(6)
P1[5:0]
(6)
*1, *2
*1, *2
(6)
P2[7:2]
(6)
*1, *2
*1, *2
(3)
P3[2:0]
(3)
*1, *2
*1, *2
(0)
(0)
(5)
Pd[4:0]
(5)
*1
*1
(Pd2: output only)
Input/output port: 23
1
Output port:
Pd[2:0]
Supported (P0[3:0])
6 I/O PORTS (PPORT)
S1C17M22/M25
P0[7:0]
(8)
*1, *2
P1[7:0]
(8)
*1, *2
P2[7:0]
(8)
*1, *2
P3[7:0]
(8)
*1, *2
P4[2:0]
(3)
*1, *2
Pd[4:0]
(5)
*1
(Pd2: output only)
Input/output port: 39
1
Output port:
1
6-1

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

S1c17m25S1c17m21S1c17m22S1c17m23S1c17m24

Table of Contents