![Samsung S3C2500B User Manual Download Page 582](http://html.mh-extra.com/html/samsung/s3c2500b/s3c2500b_user-manual_340827582.webp)
S3C2500B
I/O PORTS
15-1
15
I/O PORTS
15.1 OVERVIEW
S3C2500B has 64 programmable I/O ports. I/O port function control registers (IOPCON2: upper word, IOPCON1:
lower word) select either function's port or GPIO. If IOPCON1/2 register is set to GPIO, IOPMODE1/2 register
should be set to either input mode or output mode.
For example, if you select IOPCON1/2 for GPIO and IOPMODE1/2 for input, then I/O port can be used for GPIO
input mode. When the value is latched in IOPDATA1/2 register, CPU can read IOPDATA1/2 register value. If you
select IOPCON1/2 for GPIO and IOPMODE1/2 for output, then CPU can write the data to IOPDATA1/2 register
and the value can be transferred to the output port.
I/O Ports = Pad Ports (or PP)
Function's Port
GPIO
Input Mode
Output Mode
If you select IOPCON1[14] for xGDMA Req[0], then the port is used for GDMA Req port mode. I/O port signal
decision register (IOPGDMA) is used when IOPCON1 is selected for GDMA Req/Ack. IOPGDMA controls
external GDMA Req/Ack signals.
IOPEXTINTPND register is used for external interrupt status. IOPEXTINTPND is set when external interrupt is
generated and is cleared when IOPEXTINTPND register is re-written to '1'.
15.2 FEATURES
•
64 Programmable I/O Ports
•
Configurable to Input, Output, or I/O Mode for Dedicated Signals
•
6 External Interrupt Requests
•
4 External GDMA Requests
•
4 External GDMA Acknowledges
•
6 Timer Outputs
•
22 HDLC Signals
•
14 UART Signals
NOTE
PP[27] - PP[18] ports support external software reset. When PP[27:18] are in GPIO output mode and
when nRESET or system reset (including watchdog reset) is asserted, the external devices that are
connected to PP[27:18] are also reset. (That is, the output signals go low, and rise back to high.)
Summary of Contents for S3C2500B
Page 2: ...S3C2500B 32 BIT RISC MICROPROCESSOR USER S MANUAL Revision 1 ...
Page 17: ......
Page 25: ......
Page 80: ...PRODUCT OVERVIEW S3C2500B 1 46 NOTES ...
Page 296: ...MEMORY CONTROLLER S3C2500B 5 60 NOTES ...
Page 531: ...GDMA CONTROLLER S3C2500B 12 24 NOTES ...
Page 593: ...I O PORTS S3C2500B 15 12 NOTES ...