system_LPC11Uxx.h 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. /**************************************************************************//**
  2. * @file system_LPC11Uxx.h
  3. * @brief CMSIS Cortex-M0 Device Peripheral Access Layer Header File
  4. * for the NXP LPC11Uxx Device Series
  5. * @version V1.10
  6. * @date 24. November 2010
  7. *
  8. * @note
  9. * Copyright (C) 2009-2010 ARM Limited. All rights reserved.
  10. *
  11. * @par
  12. * ARM Limited (ARM) is supplying this software for use with Cortex-M
  13. * processor based microcontrollers. This file can be freely distributed
  14. * within development tools that are supporting such ARM based processors.
  15. *
  16. * @par
  17. * THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED
  18. * OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF
  19. * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE.
  20. * ARM SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR
  21. * CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
  22. *
  23. ******************************************************************************/
  24. #ifndef __SYSTEM_LPC11Uxx_H
  25. #define __SYSTEM_LPC11Uxx_H
  26. #ifdef __cplusplus
  27. extern "C" {
  28. #endif
  29. #include <stdint.h>
  30. extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */
  31. /**
  32. * Initialize the system
  33. *
  34. * @param none
  35. * @return none
  36. *
  37. * @brief Setup the microcontroller system.
  38. * Initialize the System and update the SystemCoreClock variable.
  39. */
  40. extern void SystemInit (void);
  41. /**
  42. * Update SystemCoreClock variable
  43. *
  44. * @param none
  45. * @return none
  46. *
  47. * @brief Updates the SystemCoreClock with current core Clock
  48. * retrieved from cpu registers.
  49. */
  50. extern void SystemCoreClockUpdate (void);
  51. #ifdef __cplusplus
  52. }
  53. #endif
  54. #endif /* __SYSTEM_LPC11Uxx_H */