aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-12-17 13:02:41 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-12-17 13:02:41 +0000
commit3341330bd99b6a55ddf79e00995a2a2b11bb1206 (patch)
tree01ef8b4c8c27899fc616fc5a5d766565ddb13f4d /os/hal/platforms
parent478679edd2a5fd14abb3e62f4ae9699a947673b7 (diff)
downloadChibiOS-3341330bd99b6a55ddf79e00995a2a2b11bb1206.tar.gz
ChibiOS-3341330bd99b6a55ddf79e00995a2a2b11bb1206.tar.bz2
ChibiOS-3341330bd99b6a55ddf79e00995a2a2b11bb1206.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4940 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms')
-rw-r--r--os/hal/platforms/SPC563Mxx/hal_lld.c2
-rw-r--r--os/hal/platforms/SPC563Mxx/hal_lld.h4
2 files changed, 5 insertions, 1 deletions
diff --git a/os/hal/platforms/SPC563Mxx/hal_lld.c b/os/hal/platforms/SPC563Mxx/hal_lld.c
index a140536e3..921fc744f 100644
--- a/os/hal/platforms/SPC563Mxx/hal_lld.c
+++ b/os/hal/platforms/SPC563Mxx/hal_lld.c
@@ -112,7 +112,7 @@ void spc_clock_init(void) {
#if !SPC5_NO_INIT
/* PLL activation.*/
- FMPLL.ESYNCR1.B.EMODE = 1;
+ FMPLL.ESYNCR1.B.EMODE = 1; /* Enhanced mode on. */
FMPLL.ESYNCR1.B.CLKCFG &= 1; /* Bypass mode, PLL off.*/
FMPLL.ESYNCR1.B.CLKCFG |= 2; /* PLL on. */
FMPLL.ESYNCR1.B.EPREDIV = SPC5_CLK_PREDIV;
diff --git a/os/hal/platforms/SPC563Mxx/hal_lld.h b/os/hal/platforms/SPC563Mxx/hal_lld.h
index 5e8296a22..0cec2b0ac 100644
--- a/os/hal/platforms/SPC563Mxx/hal_lld.h
+++ b/os/hal/platforms/SPC563Mxx/hal_lld.h
@@ -15,6 +15,10 @@
/**
* @file SPC563Mxx/hal_lld.h
* @brief SPC563Mxx HAL subsystem low level driver header.
+ * @pre This module requires the following macros to be defined in the
+ * @p board.h file:
+ * - SPC5_XOSC_CLK.
+ * .
*
* @addtogroup HAL
* @{