logi loader fork from jpiat
Fork of mbed-src by
Revision 565:5ad6216dec17, committed 2015-06-09
- Comitter:
- fragment
- Date:
- Tue Jun 09 21:25:28 2015 +0000
- Parent:
- 562:f0e4febb6ec5
- Commit message:
- updated header - disable rtc, correct osc freq. Turn on led at startup
Changed in this revision
targets/cmsis/TARGET_Freescale/TARGET_K22F/system_MK22F51212.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r f0e4febb6ec5 -r 5ad6216dec17 targets/cmsis/TARGET_Freescale/TARGET_K22F/system_MK22F51212.h --- a/targets/cmsis/TARGET_Freescale/TARGET_K22F/system_MK22F51212.h Tue Jun 09 12:33:35 2015 +0000 +++ b/targets/cmsis/TARGET_Freescale/TARGET_K22F/system_MK22F51212.h Tue Jun 09 21:25:28 2015 +0000 @@ -145,7 +145,7 @@ /* Define clock source values */ -#define CPU_XTAL_CLK_HZ 8000000u /* Value of the external crystal or oscillator clock frequency in Hz */ +#define CPU_XTAL_CLK_HZ 16000000u /* Value of the external crystal or oscillator clock frequency in Hz */ #define CPU_XTAL32k_CLK_HZ 32768u /* Value of the external 32k crystal or oscillator clock frequency in Hz */ #define CPU_INT_SLOW_CLK_HZ 32768u /* Value of the slow internal oscillator clock frequency in Hz */ #define CPU_INT_FAST_CLK_HZ 4000000u /* Value of the fast internal oscillator clock frequency in Hz */ @@ -153,7 +153,7 @@ /* RTC oscillator setting */ /* RTC_CR: SC2P=0,SC4P=0,SC8P=0,SC16P=0,CLKO=1,OSCE=1,WPS=0,UM=0,SUP=0,WPE=0,SWR=0 */ -#define SYSTEM_RTC_CR_VALUE 0x0300U /* RTC_CR */ +//#define SYSTEM_RTC_CR_VALUE 0x0300U /* RTC_CR */ /* Low power mode enable */ /* SMC_PMPROT: AHSRUN=1,AVLP=1,ALLS=1,AVLLS=1 */