gpio.h 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. /* USER CODE BEGIN Header */
  2. /**
  3. ******************************************************************************
  4. * @file gpio.h
  5. * @brief This file contains all the function prototypes for
  6. * the gpio.c file
  7. ******************************************************************************
  8. * @attention
  9. *
  10. * Copyright (c) 2024 STMicroelectronics.
  11. * All rights reserved.
  12. *
  13. * This software is licensed under terms that can be found in the LICENSE file
  14. * in the root directory of this software component.
  15. * If no LICENSE file comes with this software, it is provided AS-IS.
  16. *
  17. ******************************************************************************
  18. */
  19. /* USER CODE END Header */
  20. /* Define to prevent recursive inclusion -------------------------------------*/
  21. #ifndef __GPIO_H__
  22. #define __GPIO_H__
  23. #ifdef __cplusplus
  24. extern "C" {
  25. #endif
  26. /* Includes ------------------------------------------------------------------*/
  27. #include "main.h"
  28. /* USER CODE BEGIN Includes */
  29. /* USER CODE END Includes */
  30. /* USER CODE BEGIN Private defines */
  31. /* USER CODE END Private defines */
  32. void MX_GPIO_Init(void);
  33. /* USER CODE BEGIN Prototypes */
  34. extern void LED0_TOGGLE(void);
  35. // @brief 4G_EN 多신꾸鱗
  36. extern void GPIO_EN_For_4G(GPIO_PinState pinState);
  37. // @brief 4G_RST 多신꾸鱗
  38. extern void GPIO_RST_For_4G(GPIO_PinState pinState);
  39. // @brief LED_R 多신꾸鱗
  40. extern void GPIO_LED_R (GPIO_PinState pinState);
  41. // @brief LED_G 多신꾸鱗
  42. extern void GPIO_LED_G (GPIO_PinState pinState);
  43. // @brief LED_Y 多신꾸鱗
  44. extern void GPIO_LED_Y (GPIO_PinState pinState);
  45. // @brief OneWireCommuation 多신꾸鱗
  46. extern void GPIO_OneWireCommuation (GPIO_PinState pinState);
  47. // @brief BEEP 多신꾸鱗
  48. extern void GPIO_BEEP (GPIO_PinState pinState);
  49. void LED_G_TOGGLE(void);
  50. void LED_Y_TOGGLE(void);
  51. /* USER CODE END Prototypes */
  52. #ifdef __cplusplus
  53. }
  54. #endif
  55. #endif /*__ GPIO_H__ */