system_ch32v20x.h 843 B

123456789101112131415161718192021222324252627282930
  1. /********************************** (C) COPYRIGHT *******************************
  2. * File Name : system_ch32v20x.h
  3. * Author : WCH
  4. * Version : V1.0.0
  5. * Date : 2021/06/06
  6. * Description : CH32V20x Device Peripheral Access Layer System Header File.
  7. * Copyright (c) 2021 Nanjing Qinheng Microelectronics Co., Ltd.
  8. * SPDX-License-Identifier: Apache-2.0
  9. *******************************************************************************/
  10. #ifndef __SYSTEM_ch32v20x_H
  11. #define __SYSTEM_ch32v20x_H
  12. #ifdef __cplusplus
  13. extern "C" {
  14. #endif
  15. extern uint32_t SystemCoreClock; /* System Clock Frequency (Core Clock) */
  16. /* System_Exported_Functions */
  17. extern void SystemInit(void);
  18. extern void SystemCoreClockUpdate(void);
  19. #ifdef __cplusplus
  20. }
  21. #endif
  22. #endif /*__CH32V20x_SYSTEM_H */