system_ch32v20x.h 1.0 KB

12345678910111213141516171819202122232425262728293031
  1. /********************************** (C) COPYRIGHT *******************************
  2. * File Name : system_ch32v20x.h
  3. * Author : WCH
  4. * Version : V1.0.0
  5. * Date : 2022/06/16
  6. * Description : CH32V20x Device Peripheral Access Layer System Header File.
  7. *********************************************************************************
  8. * Copyright (c) 2021 Nanjing Qinheng Microelectronics Co., Ltd.
  9. * Attention: This software (modified or not) and binary are used for
  10. * microcontroller manufactured by Nanjing Qinheng Microelectronics.
  11. *******************************************************************************/
  12. #ifndef __SYSTEM_ch32v20x_H
  13. #define __SYSTEM_ch32v20x_H
  14. #ifdef __cplusplus
  15. extern "C" {
  16. #endif
  17. extern uint32_t SystemCoreClock; /* System Clock Frequency (Core Clock) */
  18. /* System_Exported_Functions */
  19. extern void SystemInit(void);
  20. extern void SystemCoreClockUpdate(void);
  21. #ifdef __cplusplus
  22. }
  23. #endif
  24. #endif /*__CH32V20x_SYSTEM_H */