system_stm32f1xx.h 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. /**
  2. ******************************************************************************
  3. * @file system_stm32f10x.h
  4. * @author MCD Application Team
  5. * @brief CMSIS Cortex-M3 Device Peripheral Access Layer System Header File.
  6. ******************************************************************************
  7. * @attention
  8. *
  9. * <h2><center>&copy; Copyright (c) 2017 STMicroelectronics.
  10. * All rights reserved.</center></h2>
  11. *
  12. * This software component is licensed by ST under BSD 3-Clause license,
  13. * the "License"; You may not use this file except in compliance with the
  14. * License. You may obtain a copy of the License at:
  15. * opensource.org/licenses/BSD-3-Clause
  16. *
  17. ******************************************************************************
  18. */
  19. /** @addtogroup CMSIS
  20. * @{
  21. */
  22. /** @addtogroup stm32f10x_system
  23. * @{
  24. */
  25. /**
  26. * @brief Define to prevent recursive inclusion
  27. */
  28. #ifndef __SYSTEM_STM32F10X_H
  29. #define __SYSTEM_STM32F10X_H
  30. #ifdef __cplusplus
  31. extern "C" {
  32. #endif
  33. /** @addtogroup STM32F10x_System_Includes
  34. * @{
  35. */
  36. /**
  37. * @}
  38. */
  39. /** @addtogroup STM32F10x_System_Exported_types
  40. * @{
  41. */
  42. extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */
  43. extern const uint8_t AHBPrescTable[16U]; /*!< AHB prescalers table values */
  44. extern const uint8_t APBPrescTable[8U]; /*!< APB prescalers table values */
  45. /**
  46. * @}
  47. */
  48. /** @addtogroup STM32F10x_System_Exported_Constants
  49. * @{
  50. */
  51. /**
  52. * @}
  53. */
  54. /** @addtogroup STM32F10x_System_Exported_Macros
  55. * @{
  56. */
  57. /**
  58. * @}
  59. */
  60. /** @addtogroup STM32F10x_System_Exported_Functions
  61. * @{
  62. */
  63. extern void SystemInit(void);
  64. extern void SystemCoreClockUpdate(void);
  65. /**
  66. * @}
  67. */
  68. #ifdef __cplusplus
  69. }
  70. #endif
  71. #endif /*__SYSTEM_STM32F10X_H */
  72. /**
  73. * @}
  74. */
  75. /**
  76. * @}
  77. */
  78. /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/