gpio.h 555 B

1234567891011121314151617181920212223242526
  1. /*
  2. * Copyright (c) 2006-2021, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2022-01-15 19813 the first version
  9. */
  10. #ifndef APPLICATIONS_GPIO_H_
  11. #define APPLICATIONS_GPIO_H_
  12. #include "stm32g0xx_hal.h"
  13. #define FLASH_CS_Pin GPIO_PIN_4
  14. #define FLASH_CS_GPIO_Port GPIOA
  15. #define Flash_CTL_Pin GPIO_PIN_15
  16. #define Flash_CTL_Port GPIOA
  17. #define RUN_STATUS_Pin GPIO_PIN_7
  18. #define RUN_STATUS_GPIO_Port GPIOB
  19. void MX_GPIO_Init(void);
  20. #endif /* APPLICATIONS_GPIO_H_ */