main.h 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. /**
  2. ******************************************************************************
  3. * @file main.h
  4. * @author MCU Application Team
  5. * @brief Header for main.c file.
  6. * This file contains the common defines of the application.
  7. ******************************************************************************
  8. * @attention
  9. *
  10. * <h2><center>&copy; Copyright (c) 2023 Puya Semiconductor Co.
  11. * All rights reserved.</center></h2>
  12. *
  13. * This software component is licensed by Puya under BSD 3-Clause license,
  14. * the "License"; You may not use this file except in compliance with the
  15. * License. You may obtain a copy of the License at:
  16. * opensource.org/licenses/BSD-3-Clause
  17. *
  18. ******************************************************************************
  19. * @attention
  20. *
  21. * <h2><center>&copy; Copyright (c) 2016 STMicroelectronics.
  22. * All rights reserved.</center></h2>
  23. *
  24. * This software component is licensed by ST under BSD 3-Clause license,
  25. * the "License"; You may not use this file except in compliance with the
  26. * License. You may obtain a copy of the License at:
  27. * opensource.org/licenses/BSD-3-Clause
  28. *
  29. ******************************************************************************
  30. */
  31. /* Define to prevent recursive inclusion -------------------------------------*/
  32. #ifndef __MAIN_H
  33. #define __MAIN_H
  34. #ifdef __cplusplus
  35. extern "C" {
  36. #endif
  37. /* Includes ------------------------------------------------------------------*/
  38. #include "py32f0xx_hal.h"
  39. #include "py32f030xx_Start_Kit.h"
  40. /* Private includes ----------------------------------------------------------*/
  41. /* Private defines -----------------------------------------------------------*/
  42. /* Exported variables prototypes ---------------------------------------------*/
  43. /* Exported functions prototypes ---------------------------------------------*/
  44. void APP_ErrorHandler(void);
  45. #ifdef __cplusplus
  46. }
  47. #endif
  48. #endif /* __MAIN_H */
  49. /************************ (C) COPYRIGHT Puya *****END OF FILE******************/