system_MK80F25615.h
/*
** ###################################################################
** Processor: MK80FN256VLQR
** Compilers: ARM Compiler
** Freescale C/C++ for Embedded ARM
** GNU C Compiler
** IAR ANSI C/C++ Compiler for ARM
**
** Reference manual: K66P144M180SF5RM, Rev.1, Draft C, June 2013
** Version: rev. 1.0, 2014-06-13
**
** Abstract:
** Provides a system configuration function and a global variable that
** contains the system frequency. It configures the device and initializes
** the oscillator (PLL) that is part of the microcontroller device.
**
** Copyright: 2014 Freescale, Inc. All Rights Reserved.
**
** http: www.freescale.com
** mail: support@freescale.com
**
** Revisions:
** - rev. 1.0 (2014-06-13)
** Initial version.
**
** ###################################################################
*/
#ifndef _SYSTEM_MK80F256_H_
#define _SYSTEM_MK80F256_H_
#ifdef __cplusplus
extern "C" {
#endif
#include <stdint.h>
#include <stdbool.h>
#define DEFAULT_SYSTEM_CLOCK 20971520u /* Default System clock value */
extern uint32_t SystemCoreClock;
void SystemInit(void);
void SystemCoreClockUpdate(void);
void SystemConfigureClocks(uint32_t clkdiv1, bool enableUsb);
#ifdef __cplusplus
}
#endif
#endif /* #if !defined(_SYSTEM_MK80F256_H_) */