Preliminary
S3C2451X RISC MICROPROCESSOR
I/O PORTS
11-9
PORT CONTROL DESCRIPTIONS
PORT CONFIGURATION REGISTER (GPACON-GPMCON)
In S3C2451X, most of the pins are multiplexed pins. So, It is determined which function is selected for each pins.
The GPxCON(port control register) determines which function is used for each pin.
If GPF0 – GPF7, GPG0 – GPG7 is used for the wakeup signal in Sleep/Stop/DeepStop mode, these ports must
be configured in EINT.
PORT DATA REGISTER (GPADAT-GPMDAT)
If ports are configured as output ports, data can be written to the corresponding bit of GPxDAT. If Ports are
configured as input ports, the data can be read from the corresponding bit of GPxDAT.
PORT PULL-UP/DOWN REGISTER (GPBUDP-GPMUDP)
The port pull-up/down register controls the pull-up/down resister enable/disable of each port group. When the
corresponding bit is 0, the pull-down resister of the pin is enabled. When 1, the pull-down resister is disabled.
If the port pull-down register is enabled then the pull-down resisters work without pin’s functional setting(input,
output, DATAn, EINTn and etc)
MISCELLANEOUS CONTROL REGISTER
This register controls mode selection, and CLKOUT selection.
EXTERNAL INTERRUPT CONTROL REGISTER
The 24 external interrupts are requested by various signaling methods. The EXTINT register configures the
signaling method among the low level trigger, high level trigger, falling edge trigger, rising edge trigger, and both
edge trigger for the external interrupt request
Because each external interrupt pin has a digital filter, the interrupt controller can recognize the request signal that
is longer than 3 clocks.
EINT[15:0] are used for wakeup sources from Sleep/Stop/DeepStop mode.