gpio.h 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. /**
  2. ******************************************************************************
  3. * File Name : gpio.h
  4. * Description : This file contains all the functions prototypes for
  5. * the gpio
  6. ******************************************************************************
  7. *
  8. * Copyright (c) 2017 STMicroelectronics International N.V.
  9. * All rights reserved.
  10. *
  11. * Redistribution and use in source and binary forms, with or without
  12. * modification, are permitted, provided that the following conditions are met:
  13. *
  14. * 1. Redistribution of source code must retain the above copyright notice,
  15. * this list of conditions and the following disclaimer.
  16. * 2. Redistributions in binary form must reproduce the above copyright notice,
  17. * this list of conditions and the following disclaimer in the documentation
  18. * and/or other materials provided with the distribution.
  19. * 3. Neither the name of STMicroelectronics nor the names of other
  20. * contributors to this software may be used to endorse or promote products
  21. * derived from this software without specific written permission.
  22. * 4. This software, including modifications and/or derivative works of this
  23. * software, must execute solely and exclusively on microcontroller or
  24. * microprocessor devices manufactured by or for STMicroelectronics.
  25. * 5. Redistribution and use of this software other than as permitted under
  26. * this license is void and will automatically terminate your rights under
  27. * this license.
  28. *
  29. * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS"
  30. * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT
  31. * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
  32. * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
  33. * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT
  34. * SHALL STMICROELECTRONICS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
  35. * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  36. * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
  37. * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
  38. * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
  39. * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
  40. * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  41. *
  42. ******************************************************************************
  43. */
  44. /* Define to prevent recursive inclusion -------------------------------------*/
  45. #ifndef __gpio_H
  46. #define __gpio_H
  47. #ifdef __cplusplus
  48. extern "C" {
  49. #endif
  50. /* Includes ------------------------------------------------------------------*/
  51. #include "stm32f0xx_hal.h"
  52. #include "main.h"
  53. /* USER CODE BEGIN Includes */
  54. /* USER CODE END Includes */
  55. /* USER CODE BEGIN Private defines */
  56. /* USER CODE END Private defines */
  57. void MX_GPIO_Init(void);
  58. /* USER CODE BEGIN Prototypes */
  59. /* USER CODE END Prototypes */
  60. #ifdef __cplusplus
  61. }
  62. #endif
  63. #endif /*__ pinoutConfig_H */
  64. /**
  65. * @}
  66. */
  67. /**
  68. * @}
  69. */
  70. /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/