git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4940 35acf78f-673a-0410-8e92-d51de3d6d3f4

master
gdisirio 2012-12-17 13:02:41 +00:00
parent 478679edd2
commit 3341330bd9
2 changed files with 5 additions and 1 deletions

View File

@ -112,7 +112,7 @@ void spc_clock_init(void) {
#if !SPC5_NO_INIT #if !SPC5_NO_INIT
/* PLL activation.*/ /* 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 &= 1; /* Bypass mode, PLL off.*/
FMPLL.ESYNCR1.B.CLKCFG |= 2; /* PLL on. */ FMPLL.ESYNCR1.B.CLKCFG |= 2; /* PLL on. */
FMPLL.ESYNCR1.B.EPREDIV = SPC5_CLK_PREDIV; FMPLL.ESYNCR1.B.EPREDIV = SPC5_CLK_PREDIV;

View File

@ -15,6 +15,10 @@
/** /**
* @file SPC563Mxx/hal_lld.h * @file SPC563Mxx/hal_lld.h
* @brief SPC563Mxx HAL subsystem low level driver header. * @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 * @addtogroup HAL
* @{ * @{