summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/lpc313x/lpc313x_cgudrvr.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-12-30 17:50:26 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-12-30 17:50:26 +0000
commiteec25d29ad35d963df61f88c95495bab453282b0 (patch)
tree0fa8dd6558c7901059a44dd4142edfe2bbe4476d /nuttx/arch/arm/src/lpc313x/lpc313x_cgudrvr.h
parentea7ba8d9a64cabb45a18375b1ded3b2df1361a7b (diff)
downloadpx4-nuttx-eec25d29ad35d963df61f88c95495bab453282b0.tar.gz
px4-nuttx-eec25d29ad35d963df61f88c95495bab453282b0.tar.bz2
px4-nuttx-eec25d29ad35d963df61f88c95495bab453282b0.zip
Completes clock initialization
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2465 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/arm/src/lpc313x/lpc313x_cgudrvr.h')
-rwxr-xr-xnuttx/arch/arm/src/lpc313x/lpc313x_cgudrvr.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/nuttx/arch/arm/src/lpc313x/lpc313x_cgudrvr.h b/nuttx/arch/arm/src/lpc313x/lpc313x_cgudrvr.h
index 25088b94f..b4825a12e 100755
--- a/nuttx/arch/arm/src/lpc313x/lpc313x_cgudrvr.h
+++ b/nuttx/arch/arm/src/lpc313x/lpc313x_cgudrvr.h
@@ -528,10 +528,20 @@ struct lpc313x_pllconfig_s
* Public Data
************************************************************************/
-/* This array provides the programmed frequency of every input source */
+/* This array is managed by the chip-specific logic and provides the
+ * programmed frequency of every input source
+ */
EXTERN uint32_t g_boardfreqin[CGU_NFREQIN];
+/* This instance of the lpc313x_clkinit_s structure provides the initial,
+ * default clock configuration for the board. Every board must provide
+ * an implementation of g_boardclks. This rather complex structure is
+ * used by the boot-up logic to configure initial lpc313x clocking.
+ */
+
+EXTERN const struct lpc313x_clkinit_s g_boardclks;
+
/************************************************************************
* Inline Functions
************************************************************************/