common(1).h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /************************************************************************************************/
  2. /**
  3. * @file common.h
  4. * @author MCU Ecosystem Development Team
  5. * @brief COMMON头文件。
  6. *
  7. *
  8. **************************************************************************************************
  9. * @attention
  10. * Copyright (c) CEC Huada Electronic Design Co.,Ltd. All rights reserved.
  11. *
  12. **************************************************************************************************
  13. */
  14. /* 避免头文件重复引用 */
  15. #ifndef COMMON_H
  16. #define COMMON_H
  17. #ifdef __cplusplus
  18. extern "C" {
  19. #endif
  20. /*------------------------------------------includes--------------------------------------------*/
  21. #include "ciu32f003_std.h"
  22. /*-------------------------------------------define---------------------------------------------*/
  23. /* LED IO相关定义 */
  24. #define LED_GPIO_PORT GPIOA
  25. #define LED_PIN GPIO_PIN_5
  26. /*-------------------------------------------functions------------------------------------------*/
  27. void system_clock_config(void);
  28. void gpio_init(void);
  29. #ifdef __cplusplus
  30. }
  31. #endif
  32. #endif /* COMMON_H */