aboutsummaryrefslogtreecommitdiffstats
path: root/demos/ARM7-LPC214x-GCC
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-02-17 18:25:56 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-02-17 18:25:56 +0000
commit8a865a9a0a0c34f52e3555e98fd42c9235472e8d (patch)
treed8237d353ec52bfffd62e5443fb8eda1db5d9a56 /demos/ARM7-LPC214x-GCC
parent0098a8dbed098251e945fe5fb0433532e122a152 (diff)
downloadChibiOS-8a865a9a0a0c34f52e3555e98fd42c9235472e8d.tar.gz
ChibiOS-8a865a9a0a0c34f52e3555e98fd42c9235472e8d.tar.bz2
ChibiOS-8a865a9a0a0c34f52e3555e98fd42c9235472e8d.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@775 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/ARM7-LPC214x-GCC')
-rw-r--r--demos/ARM7-LPC214x-GCC/board.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/demos/ARM7-LPC214x-GCC/board.c b/demos/ARM7-LPC214x-GCC/board.c
index 69aed08f3..0db657b29 100644
--- a/demos/ARM7-LPC214x-GCC/board.c
+++ b/demos/ARM7-LPC214x-GCC/board.c
@@ -79,17 +79,17 @@ void hwinit0(void) {
* PLL setup for Fosc=12MHz and CCLK=48MHz.
* P=2 M=3.
*/
- PLL *pll = PLLBase;
- pll->PLL0_CFG = 0x23; /* P and M values. */
- pll->PLL0_CON = 0x1; /* Enalbles the PLL 0. */
- pll->PLL0_FEED = 0xAA;
- pll->PLL0_FEED = 0x55;
- while (!(pll->PLL0_STAT & 0x400))
+ PLL *pll = PLL0Base;
+ pll->PLL_CFG = 0x23; /* P and M values. */
+ pll->PLL_CON = 0x1; /* Enables the PLL 0. */
+ pll->PLL_FEED = 0xAA;
+ pll->PLL_FEED = 0x55;
+ while (!(pll->PLL_STAT & 0x400))
; /* Wait for PLL lock. */
- pll->PLL0_CON = 0x3; /* Connects the PLL. */
- pll->PLL0_FEED = 0xAA;
- pll->PLL0_FEED = 0x55;
+ pll->PLL_CON = 0x3; /* Connects the PLL. */
+ pll->PLL_FEED = 0xAA;
+ pll->PLL_FEED = 0x55;
/*
* VPB setup.