mbed library sources. Supersedes mbed-src.
Fork of mbed by
Diff: targets/cmsis/TARGET_NXP/TARGET_LPC15XX/system_LPC15xx.c
- Revision:
- 76:2aa1c040b668
- Parent:
- 0:9b334a45a8ff
- Child:
- 144:ef7eb2e8f9f7
--- a/targets/cmsis/TARGET_NXP/TARGET_LPC15XX/system_LPC15xx.c Fri Feb 26 17:15:12 2016 +0000 +++ b/targets/cmsis/TARGET_NXP/TARGET_LPC15XX/system_LPC15xx.c Mon Feb 29 07:15:09 2016 +0000 @@ -73,14 +73,14 @@ // <o.0..5> MSEL: Feedback Divider Selection // <i> M = MSEL + 1 // <0-31> -// <o.5..7> PSEL: Post Divider Selection +// <o.6..7> PSEL: Post Divider Selection // <i> Post divider ratio P. Division ratio is 2 * P // <0=> P = 1 // <1=> P = 2 // <2=> P = 4 // <3=> P = 8 // </h> -#define SYSPLLCTRL_Val 0x00000005 // Reset value: 0x000 +#define SYSPLLCTRL_Val 0x00000045 // Reset value: 0x000 // // <o.0..7> System AHB Clock Divider (SYSAHBCLKDIV.DIV) // <i> Divides main clock to provide system clock to core, memories, and peripherals. @@ -156,7 +156,7 @@ // <2=> P = 4 // <3=> P = 8 // </h> -#define SCTPLLCTRL_Val 0x00000005 // Reset value: 0x000 +#define SCTPLLCTRL_Val 0x00000045 // Reset value: 0x000 // // <o.0..1> SCT PLL Clock Source Select (SCTPLLCLKSEL.SEL) // <0=> IRC Oscillator