system_ciu32f003(1).h 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. /************************************************************************************************/
  2. /**
  3. * @file system_ciu32f003.h
  4. * @author MCU Ecosystem Development Team
  5. * @brief CMSIS Device System Header File for CIU32F003.
  6. *
  7. *
  8. **************************************************************************************************
  9. * @attention
  10. * Copyright (c) CEC Huada Electronic Design Co.,Ltd. All rights reserved.
  11. *
  12. **************************************************************************************************
  13. */
  14. #ifndef SYSTEM_CIU32F003_H
  15. #define SYSTEM_CIU32F003_H
  16. /************************************************************************************************/
  17. /**
  18. * @addtogroup CMSIS
  19. * @{
  20. */
  21. /**
  22. * @defgroup Device_System Device System
  23. * @{
  24. */
  25. /************************************************************************************************/
  26. #ifdef __cplusplus
  27. extern "C" {
  28. #endif
  29. /*------------------------------------------includes--------------------------------------------*/
  30. /*--------------------------------------------variables-----------------------------------------*/
  31. /************************************************************************************************/
  32. /**
  33. * @defgroup Device_System_Variables Device System Variables
  34. * @{
  35. */
  36. /************************************************************************************************/
  37. extern uint32_t SystemCoreClock; /**< system core clock(HCLK) frequency */
  38. extern const uint32_t g_ahb_divider_table[8]; /**< AHB prescalers table values */
  39. extern const uint32_t g_apb_divider_table[8]; /**< APB prescalers table values */
  40. /**
  41. * @}
  42. */
  43. /*-------------------------------------------functions------------------------------------------*/
  44. /************************************************************************************************/
  45. /**
  46. * @defgroup Device_System_External_Functions Device System External Functions
  47. * @{
  48. */
  49. /************************************************************************************************/
  50. void SystemInit(void);
  51. void SystemCoreClockUpdate(void);
  52. /**
  53. * @}
  54. */
  55. #ifdef __cplusplus
  56. }
  57. #endif
  58. /**
  59. * @}
  60. */
  61. /**
  62. * @}
  63. */
  64. #endif /*SYSTEM_CIU32F003_H */