© Koninklijke Philips Electronics N.V. 2005. All rights reserved.
User manual
Rev. 01 — 15 August 2005
94
Philips Semiconductors
UM10139
Volume 1
Chapter 8: GPIO
str
r2,[r1]
str
r2,[r0]
str
r2,[r1]
/*Generate 2 pulses on the slow port*/
str
r5,[r3]
str
r5,[r4]
str
r5,[r3]
str
r5,[r4]
loop: b
loop
illustrates the code from above executed from the LPC2148 Flash memory. The
PLL generated F
CCLK
=60 MHz out of external F
OSC
= 12 MHz. The MAM was fully
enabled with MEMCR = 2 and MEMTIM = 3, and VPBDIV = 1 (PCLK = CCLK).
Fig 17. Illustration of the fast and slow GPIO access and output showing 3.5 x increase of the pin output
frequency