diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-02-17 18:25:56 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-02-17 18:25:56 +0000 |
commit | 8a865a9a0a0c34f52e3555e98fd42c9235472e8d (patch) | |
tree | d8237d353ec52bfffd62e5443fb8eda1db5d9a56 /ports | |
parent | 0098a8dbed098251e945fe5fb0433532e122a152 (diff) | |
download | ChibiOS-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 'ports')
-rw-r--r-- | ports/ARM7-LPC214x/lpc214x.h | 31 |
1 files changed, 14 insertions, 17 deletions
diff --git a/ports/ARM7-LPC214x/lpc214x.h b/ports/ARM7-LPC214x/lpc214x.h index af6262eda..96dfa437b 100644 --- a/ports/ARM7-LPC214x/lpc214x.h +++ b/ports/ARM7-LPC214x/lpc214x.h @@ -84,25 +84,22 @@ typedef volatile unsigned int IOREG32; #define EXTPOLAR3 8
typedef struct {
- IOREG32 PLL0_CON;
- IOREG32 PLL0_CFG;
- IOREG32 PLL0_STAT;
- IOREG32 PLL0_FEED;
- IOREG32 PLL1_CON;
- IOREG32 PLL1_CFG;
- IOREG32 PLL1_STAT;
- IOREG32 PLL1_FEED;
+ IOREG32 PLL_CON;
+ IOREG32 PLL_CFG;
+ IOREG32 PLL_STAT;
+ IOREG32 PLL_FEED;
} PLL;
-#define PLLBase ((PLL *)0xE01FC080)
-#define PLL0CON (PLLBase->PLL0_CON)
-#define PLL0CFG (PLLBase->PLL0_CFG)
-#define PLL0STAT (PLLBase->PLL0_STAT)
-#define PLL0FEED (PLLBase->PLL0_FEED)
-#define PLL1CON (PLLBase->PLL1_CON)
-#define PLL1CFG (PLLBase->PLL1_CFG)
-#define PLL1STAT (PLLBase->PLL1_STAT)
-#define PLL1FEED (PLLBase->PLL1_FEED)
+#define PLL0Base ((PLL *)0xE01FC080)
+#define PLL1Base ((PLL *)0xE01FC0A0)
+#define PLL0CON (PLL0Base->PLL_CON)
+#define PLL0CFG (PLL0Base->PLL_CFG)
+#define PLL0STAT (PLL0Base->PLL_STAT)
+#define PLL0FEED (PLL0Base->PLL_FEED)
+#define PLL1CON (PLL1Base->PLL_CON)
+#define PLL1CFG (PLL1Base->PLL_CFG)
+#define PLL1STAT (PLL1Base->PLL_STAT)
+#define PLL1FEED (PLL1Base->PLL_FEED)
/*
* Pins.
|