system_at32f423.h 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. /**
  2. **************************************************************************
  3. * @file system_at32f423.h
  4. * @brief cmsis cortex-m4 system header file.
  5. **************************************************************************
  6. * Copyright notice & Disclaimer
  7. *
  8. * The software Board Support Package (BSP) that is made available to
  9. * download from Artery official website is the copyrighted work of Artery.
  10. * Artery authorizes customers to use, copy, and distribute the BSP
  11. * software and its related documentation for the purpose of design and
  12. * development in conjunction with Artery microcontrollers. Use of the
  13. * software is governed by this copyright notice and the following disclaimer.
  14. *
  15. * THIS SOFTWARE IS PROVIDED ON "AS IS" BASIS WITHOUT WARRANTIES,
  16. * GUARANTEES OR REPRESENTATIONS OF ANY KIND. ARTERY EXPRESSLY DISCLAIMS,
  17. * TO THE FULLEST EXTENT PERMITTED BY LAW, ALL EXPRESS, IMPLIED OR
  18. * STATUTORY OR OTHER WARRANTIES, GUARANTEES OR REPRESENTATIONS,
  19. * INCLUDING BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY,
  20. * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT.
  21. *
  22. **************************************************************************
  23. */
  24. #ifndef __SYSTEM_AT32F423_H
  25. #define __SYSTEM_AT32F423_H
  26. #ifdef __cplusplus
  27. extern "C" {
  28. #endif
  29. /** @addtogroup CMSIS
  30. * @{
  31. */
  32. /** @addtogroup AT32F423_system
  33. * @{
  34. */
  35. #define SystemCoreClock system_core_clock
  36. /** @defgroup AT32F423_system_exported_variables
  37. * @{
  38. */
  39. extern unsigned int system_core_clock; /*!< system clock frequency (core clock) */
  40. /**
  41. * @}
  42. */
  43. /** @defgroup AT32F423_system_exported_functions
  44. * @{
  45. */
  46. extern void SystemInit(void);
  47. extern void system_core_clock_update(void);
  48. /**
  49. * @}
  50. */
  51. /**
  52. * @}
  53. */
  54. /**
  55. * @}
  56. */
  57. #ifdef __cplusplus
  58. }
  59. #endif
  60. #endif