English
Language : 

S5N8947X Datasheet, PDF (32/49 Pages) Samsung semiconductor – MCU for ADSL/Cable Modem
S5N8947 (ADSL/Cable Modem MCU)
ELECTRONICS
6.10. I/O Ports
The S5N8947 has 18 programmable I/O ports. You can configure each I/O port to input mode,
output mode, or special function mode. To do this, you write the appropriate settings to the IOPMOD and
IOPCON registers. User can set filtering for the input ports using IOPCON register.
The modes of the ports from port0 to port7 are determined only by the IOPMOD register. But
port[11:8] can be used as xINTREQ[3:0], port[13:12] as nXDREQ[1:0], port[15:14] as nXDACK[1:0],
port[16] as TOUT0, or port[17] as TOUT1 depending on the settings in IOPCON register.
IOPMOD
VDD
IOPCON
Alternate Functions
Output
Latch
IOPDATA
(Write)
IOPDATA
(Read)
Input
Latch
Interrupt or DMA
Request
Active
On/Off &
Edge
Detection
IOPCON
Filter
On/Off
IOPCON
Figure 13 I/O port function diagram
Port0 - Port7
Port8/xINTREQ0
Port11/xINTREQ3
Port12/nXDREQ0
Port13/nXDREQ1
Port14/nXDACK0
Port15/nXDACK1
Port16/TOUT0
Port17/TOUT1
MagIC Team
Page : 32
SAMSUNG ELECTRONICS