A bundled STM32F10x Std Periph and CMSIS library
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

system_ARMCM3.h 1.6 KiB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. /**************************************************************************//**
  2. * @file system_ARMCM3.h
  3. * @brief CMSIS Device System Header File for
  4. * ARMCM3 Device Series
  5. * @version V1.07
  6. * @date 30. January 2012
  7. *
  8. * @note
  9. * Copyright (C) 2011 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_ARMCM3_H
  25. #define SYSTEM_ARMCM3_H
  26. #ifdef __cplusplus
  27. extern "C" {
  28. #endif
  29. extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */
  30. /**
  31. * Initialize the system
  32. *
  33. * @param none
  34. * @return none
  35. *
  36. * @brief Setup the microcontroller system.
  37. * Initialize the System and update the SystemCoreClock variable.
  38. */
  39. extern void SystemInit (void);
  40. /**
  41. * Update SystemCoreClock variable
  42. *
  43. * @param none
  44. * @return none
  45. *
  46. * @brief Updates the SystemCoreClock with current core Clock
  47. * retrieved from cpu registers.
  48. */
  49. extern void SystemCoreClockUpdate (void);
  50. #ifdef __cplusplus
  51. }
  52. #endif
  53. #endif /* SYSTEM_ARMCM3_H */