A simple 128x32 graphical LCD program to quickstart with LCD on ARM mbed IoT Starter Kit. This requires mbed Applciation Shield with FRDM-K64F platform.

Dependencies:   C12832

Committer:
tushki7
Date:
Sun Apr 12 15:45:52 2015 +0000
Revision:
1:eb68c94a8ee5
Parent:
0:60d829a0353a
A simple 128x32 LCD program with ARM mbed IoT Starter Kit;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
tushki7 0:60d829a0353a 1 /**
tushki7 0:60d829a0353a 2 ******************************************************************************
tushki7 0:60d829a0353a 3 * @file stm32f3xx_hal_gpio.h
tushki7 0:60d829a0353a 4 * @author MCD Application Team
tushki7 0:60d829a0353a 5 * @version V1.1.0
tushki7 0:60d829a0353a 6 * @date 12-Sept-2014
tushki7 0:60d829a0353a 7 * @brief Header file of GPIO HAL module.
tushki7 0:60d829a0353a 8 ******************************************************************************
tushki7 0:60d829a0353a 9 * @attention
tushki7 0:60d829a0353a 10 *
tushki7 0:60d829a0353a 11 * <h2><center>&copy; COPYRIGHT(c) 2014 STMicroelectronics</center></h2>
tushki7 0:60d829a0353a 12 *
tushki7 0:60d829a0353a 13 * Redistribution and use in source and binary forms, with or without modification,
tushki7 0:60d829a0353a 14 * are permitted provided that the following conditions are met:
tushki7 0:60d829a0353a 15 * 1. Redistributions of source code must retain the above copyright notice,
tushki7 0:60d829a0353a 16 * this list of conditions and the following disclaimer.
tushki7 0:60d829a0353a 17 * 2. Redistributions in binary form must reproduce the above copyright notice,
tushki7 0:60d829a0353a 18 * this list of conditions and the following disclaimer in the documentation
tushki7 0:60d829a0353a 19 * and/or other materials provided with the distribution.
tushki7 0:60d829a0353a 20 * 3. Neither the name of STMicroelectronics nor the names of its contributors
tushki7 0:60d829a0353a 21 * may be used to endorse or promote products derived from this software
tushki7 0:60d829a0353a 22 * without specific prior written permission.
tushki7 0:60d829a0353a 23 *
tushki7 0:60d829a0353a 24 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
tushki7 0:60d829a0353a 25 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
tushki7 0:60d829a0353a 26 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
tushki7 0:60d829a0353a 27 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
tushki7 0:60d829a0353a 28 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
tushki7 0:60d829a0353a 29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
tushki7 0:60d829a0353a 30 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
tushki7 0:60d829a0353a 31 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
tushki7 0:60d829a0353a 32 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
tushki7 0:60d829a0353a 33 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
tushki7 0:60d829a0353a 34 *
tushki7 0:60d829a0353a 35 ******************************************************************************
tushki7 0:60d829a0353a 36 */
tushki7 0:60d829a0353a 37
tushki7 0:60d829a0353a 38 /* Define to prevent recursive inclusion -------------------------------------*/
tushki7 0:60d829a0353a 39 #ifndef __STM32F3xx_HAL_GPIO_H
tushki7 0:60d829a0353a 40 #define __STM32F3xx_HAL_GPIO_H
tushki7 0:60d829a0353a 41
tushki7 0:60d829a0353a 42 #ifdef __cplusplus
tushki7 0:60d829a0353a 43 extern "C" {
tushki7 0:60d829a0353a 44 #endif
tushki7 0:60d829a0353a 45
tushki7 0:60d829a0353a 46 /* Includes ------------------------------------------------------------------*/
tushki7 0:60d829a0353a 47 #include "stm32f3xx_hal_def.h"
tushki7 0:60d829a0353a 48
tushki7 0:60d829a0353a 49 /** @addtogroup STM32F3xx_HAL_Driver
tushki7 0:60d829a0353a 50 * @{
tushki7 0:60d829a0353a 51 */
tushki7 0:60d829a0353a 52
tushki7 0:60d829a0353a 53 /** @addtogroup GPIO GPIO HAL module driver
tushki7 0:60d829a0353a 54 * @{
tushki7 0:60d829a0353a 55 */
tushki7 0:60d829a0353a 56
tushki7 0:60d829a0353a 57 /* Exported types ------------------------------------------------------------*/
tushki7 0:60d829a0353a 58 /** @defgroup GPIO_Exported_Types GPIO Exported Types
tushki7 0:60d829a0353a 59 * @{
tushki7 0:60d829a0353a 60 */
tushki7 0:60d829a0353a 61
tushki7 0:60d829a0353a 62 /**
tushki7 0:60d829a0353a 63 * @brief GPIO Init structure definition
tushki7 0:60d829a0353a 64 */
tushki7 0:60d829a0353a 65 typedef struct
tushki7 0:60d829a0353a 66 {
tushki7 0:60d829a0353a 67 uint32_t Pin; /*!< Specifies the GPIO pins to be configured.
tushki7 0:60d829a0353a 68 This parameter can be any value of @ref GPIO_pins_define */
tushki7 0:60d829a0353a 69
tushki7 0:60d829a0353a 70 uint32_t Mode; /*!< Specifies the operating mode for the selected pins.
tushki7 0:60d829a0353a 71 This parameter can be a value of @ref GPIO_mode_define */
tushki7 0:60d829a0353a 72
tushki7 0:60d829a0353a 73 uint32_t Pull; /*!< Specifies the Pull-up or Pull-Down activation for the selected pins.
tushki7 0:60d829a0353a 74 This parameter can be a value of @ref GPIO_pull_define */
tushki7 0:60d829a0353a 75
tushki7 0:60d829a0353a 76 uint32_t Speed; /*!< Specifies the speed for the selected pins.
tushki7 0:60d829a0353a 77 This parameter can be a value of @ref GPIO_speed_define */
tushki7 0:60d829a0353a 78
tushki7 0:60d829a0353a 79 uint32_t Alternate; /*!< Peripheral to be connected to the selected pins
tushki7 0:60d829a0353a 80 This parameter can be a value of @ref GPIOEx_Alternate_function_selection */
tushki7 0:60d829a0353a 81 }GPIO_InitTypeDef;
tushki7 0:60d829a0353a 82
tushki7 0:60d829a0353a 83 /**
tushki7 0:60d829a0353a 84 * @brief GPIO Bit SET and Bit RESET enumeration
tushki7 0:60d829a0353a 85 */
tushki7 0:60d829a0353a 86 typedef enum
tushki7 0:60d829a0353a 87 {
tushki7 0:60d829a0353a 88 GPIO_PIN_RESET = 0,
tushki7 0:60d829a0353a 89 GPIO_PIN_SET
tushki7 0:60d829a0353a 90 }GPIO_PinState;
tushki7 0:60d829a0353a 91 #define IS_GPIO_PIN_ACTION(ACTION) (((ACTION) == GPIO_PIN_RESET) || ((ACTION) == GPIO_PIN_SET))
tushki7 0:60d829a0353a 92
tushki7 0:60d829a0353a 93 /**
tushki7 0:60d829a0353a 94 * @}
tushki7 0:60d829a0353a 95 */
tushki7 0:60d829a0353a 96
tushki7 0:60d829a0353a 97 /* Exported constants --------------------------------------------------------*/
tushki7 0:60d829a0353a 98 /** @defgroup GPIO_Exported_Constants GPIO Exported Constants
tushki7 0:60d829a0353a 99 * @{
tushki7 0:60d829a0353a 100 */
tushki7 0:60d829a0353a 101
tushki7 0:60d829a0353a 102 /** @defgroup GPIO_pins_define GPIO pins define
tushki7 0:60d829a0353a 103 * @{
tushki7 0:60d829a0353a 104 */
tushki7 0:60d829a0353a 105 #define GPIO_PIN_0 ((uint16_t)0x0001) /* Pin 0 selected */
tushki7 0:60d829a0353a 106 #define GPIO_PIN_1 ((uint16_t)0x0002) /* Pin 1 selected */
tushki7 0:60d829a0353a 107 #define GPIO_PIN_2 ((uint16_t)0x0004) /* Pin 2 selected */
tushki7 0:60d829a0353a 108 #define GPIO_PIN_3 ((uint16_t)0x0008) /* Pin 3 selected */
tushki7 0:60d829a0353a 109 #define GPIO_PIN_4 ((uint16_t)0x0010) /* Pin 4 selected */
tushki7 0:60d829a0353a 110 #define GPIO_PIN_5 ((uint16_t)0x0020) /* Pin 5 selected */
tushki7 0:60d829a0353a 111 #define GPIO_PIN_6 ((uint16_t)0x0040) /* Pin 6 selected */
tushki7 0:60d829a0353a 112 #define GPIO_PIN_7 ((uint16_t)0x0080) /* Pin 7 selected */
tushki7 0:60d829a0353a 113 #define GPIO_PIN_8 ((uint16_t)0x0100) /* Pin 8 selected */
tushki7 0:60d829a0353a 114 #define GPIO_PIN_9 ((uint16_t)0x0200) /* Pin 9 selected */
tushki7 0:60d829a0353a 115 #define GPIO_PIN_10 ((uint16_t)0x0400) /* Pin 10 selected */
tushki7 0:60d829a0353a 116 #define GPIO_PIN_11 ((uint16_t)0x0800) /* Pin 11 selected */
tushki7 0:60d829a0353a 117 #define GPIO_PIN_12 ((uint16_t)0x1000) /* Pin 12 selected */
tushki7 0:60d829a0353a 118 #define GPIO_PIN_13 ((uint16_t)0x2000) /* Pin 13 selected */
tushki7 0:60d829a0353a 119 #define GPIO_PIN_14 ((uint16_t)0x4000) /* Pin 14 selected */
tushki7 0:60d829a0353a 120 #define GPIO_PIN_15 ((uint16_t)0x8000) /* Pin 15 selected */
tushki7 0:60d829a0353a 121 #define GPIO_PIN_All ((uint16_t)0xFFFF) /* All pins selected */
tushki7 0:60d829a0353a 122
tushki7 0:60d829a0353a 123 #define GPIO_PIN_MASK ((uint32_t)0x0000FFFF) /* PIN mask for assert test */
tushki7 0:60d829a0353a 124
tushki7 0:60d829a0353a 125 #define IS_GPIO_PIN(PIN) (((PIN) & GPIO_PIN_MASK) != (uint32_t)0x00)
tushki7 0:60d829a0353a 126 /**
tushki7 0:60d829a0353a 127 * @}
tushki7 0:60d829a0353a 128 */
tushki7 0:60d829a0353a 129
tushki7 0:60d829a0353a 130 /** @defgroup GPIO_mode_define GPIO mode define
tushki7 0:60d829a0353a 131 * @brief GPIO Configuration Mode
tushki7 0:60d829a0353a 132 * Elements values convention: 0xX0yz00YZ
tushki7 0:60d829a0353a 133 * - X : GPIO mode or EXTI Mode
tushki7 0:60d829a0353a 134 * - y : External IT or Event trigger detection
tushki7 0:60d829a0353a 135 * - z : IO configuration on External IT or Event
tushki7 0:60d829a0353a 136 * - Y : Output type (Push Pull or Open Drain)
tushki7 0:60d829a0353a 137 * - Z : IO Direction mode (Input, Output, Alternate or Analog)
tushki7 0:60d829a0353a 138 * @{
tushki7 0:60d829a0353a 139 */
tushki7 0:60d829a0353a 140 #define GPIO_MODE_INPUT ((uint32_t)0x00000000) /*!< Input Floating Mode */
tushki7 0:60d829a0353a 141 #define GPIO_MODE_OUTPUT_PP ((uint32_t)0x00000001) /*!< Output Push Pull Mode */
tushki7 0:60d829a0353a 142 #define GPIO_MODE_OUTPUT_OD ((uint32_t)0x00000011) /*!< Output Open Drain Mode */
tushki7 0:60d829a0353a 143 #define GPIO_MODE_AF_PP ((uint32_t)0x00000002) /*!< Alternate Function Push Pull Mode */
tushki7 0:60d829a0353a 144 #define GPIO_MODE_AF_OD ((uint32_t)0x00000012) /*!< Alternate Function Open Drain Mode */
tushki7 0:60d829a0353a 145
tushki7 0:60d829a0353a 146 #define GPIO_MODE_ANALOG ((uint32_t)0x00000003) /*!< Analog Mode */
tushki7 0:60d829a0353a 147
tushki7 0:60d829a0353a 148 #define GPIO_MODE_IT_RISING ((uint32_t)0x10110000) /*!< External Interrupt Mode with Rising edge trigger detection */
tushki7 0:60d829a0353a 149 #define GPIO_MODE_IT_FALLING ((uint32_t)0x10210000) /*!< External Interrupt Mode with Falling edge trigger detection */
tushki7 0:60d829a0353a 150 #define GPIO_MODE_IT_RISING_FALLING ((uint32_t)0x10310000) /*!< External Interrupt Mode with Rising/Falling edge trigger detection */
tushki7 0:60d829a0353a 151
tushki7 0:60d829a0353a 152 #define GPIO_MODE_EVT_RISING ((uint32_t)0x10120000) /*!< External Event Mode with Rising edge trigger detection */
tushki7 0:60d829a0353a 153 #define GPIO_MODE_EVT_FALLING ((uint32_t)0x10220000) /*!< External Event Mode with Falling edge trigger detection */
tushki7 0:60d829a0353a 154 #define GPIO_MODE_EVT_RISING_FALLING ((uint32_t)0x10320000) /*!< External Event Mode with Rising/Falling edge trigger detection */
tushki7 0:60d829a0353a 155
tushki7 0:60d829a0353a 156 #define IS_GPIO_MODE(MODE) (((MODE) == GPIO_MODE_INPUT) ||\
tushki7 0:60d829a0353a 157 ((MODE) == GPIO_MODE_OUTPUT_PP) ||\
tushki7 0:60d829a0353a 158 ((MODE) == GPIO_MODE_OUTPUT_OD) ||\
tushki7 0:60d829a0353a 159 ((MODE) == GPIO_MODE_AF_PP) ||\
tushki7 0:60d829a0353a 160 ((MODE) == GPIO_MODE_AF_OD) ||\
tushki7 0:60d829a0353a 161 ((MODE) == GPIO_MODE_IT_RISING) ||\
tushki7 0:60d829a0353a 162 ((MODE) == GPIO_MODE_IT_FALLING) ||\
tushki7 0:60d829a0353a 163 ((MODE) == GPIO_MODE_IT_RISING_FALLING) ||\
tushki7 0:60d829a0353a 164 ((MODE) == GPIO_MODE_EVT_RISING) ||\
tushki7 0:60d829a0353a 165 ((MODE) == GPIO_MODE_EVT_FALLING) ||\
tushki7 0:60d829a0353a 166 ((MODE) == GPIO_MODE_EVT_RISING_FALLING) ||\
tushki7 0:60d829a0353a 167 ((MODE) == GPIO_MODE_ANALOG))
tushki7 0:60d829a0353a 168
tushki7 0:60d829a0353a 169 /**
tushki7 0:60d829a0353a 170 * @}
tushki7 0:60d829a0353a 171 */
tushki7 0:60d829a0353a 172
tushki7 0:60d829a0353a 173 /** @defgroup GPIO_speed_define GPIO speed define
tushki7 0:60d829a0353a 174 * @brief GPIO Output Maximum frequency
tushki7 0:60d829a0353a 175 * @{
tushki7 0:60d829a0353a 176 */
tushki7 0:60d829a0353a 177 #define GPIO_SPEED_LOW ((uint32_t)0x00000000) /*!< Low speed */
tushki7 0:60d829a0353a 178 #define GPIO_SPEED_MEDIUM ((uint32_t)0x00000001) /*!< Medium speed */
tushki7 0:60d829a0353a 179 #define GPIO_SPEED_HIGH ((uint32_t)0x00000003) /*!< High speed */
tushki7 0:60d829a0353a 180
tushki7 0:60d829a0353a 181 #define IS_GPIO_SPEED(SPEED) (((SPEED) == GPIO_SPEED_LOW) || ((SPEED) == GPIO_SPEED_MEDIUM) || \
tushki7 0:60d829a0353a 182 ((SPEED) == GPIO_SPEED_HIGH))
tushki7 0:60d829a0353a 183 /**
tushki7 0:60d829a0353a 184 * @}
tushki7 0:60d829a0353a 185 */
tushki7 0:60d829a0353a 186
tushki7 0:60d829a0353a 187 /** @defgroup GPIO_pull_define GPIO pull define
tushki7 0:60d829a0353a 188 * @brief GPIO Pull-Up or Pull-Down Activation
tushki7 0:60d829a0353a 189 * @{
tushki7 0:60d829a0353a 190 */
tushki7 0:60d829a0353a 191 #define GPIO_NOPULL ((uint32_t)0x00000000) /*!< No Pull-up or Pull-down activation */
tushki7 0:60d829a0353a 192 #define GPIO_PULLUP ((uint32_t)0x00000001) /*!< Pull-up activation */
tushki7 0:60d829a0353a 193 #define GPIO_PULLDOWN ((uint32_t)0x00000002) /*!< Pull-down activation */
tushki7 0:60d829a0353a 194
tushki7 0:60d829a0353a 195 #define IS_GPIO_PULL(PULL) (((PULL) == GPIO_NOPULL) || ((PULL) == GPIO_PULLUP) || \
tushki7 0:60d829a0353a 196 ((PULL) == GPIO_PULLDOWN))
tushki7 0:60d829a0353a 197 /**
tushki7 0:60d829a0353a 198 * @}
tushki7 0:60d829a0353a 199 */
tushki7 0:60d829a0353a 200
tushki7 0:60d829a0353a 201 /**
tushki7 0:60d829a0353a 202 * @}
tushki7 0:60d829a0353a 203 */
tushki7 0:60d829a0353a 204
tushki7 0:60d829a0353a 205 /* Exported macros -----------------------------------------------------------*/
tushki7 0:60d829a0353a 206 /** @defgroup GPIO_Exported_Macros GPIO Exported Macros
tushki7 0:60d829a0353a 207 * @{
tushki7 0:60d829a0353a 208 */
tushki7 0:60d829a0353a 209
tushki7 0:60d829a0353a 210 /**
tushki7 0:60d829a0353a 211 * @brief Checks whether the specified EXTI line flag is set or not.
tushki7 0:60d829a0353a 212 * @param __EXTI_LINE__: specifies the EXTI line flag to check.
tushki7 0:60d829a0353a 213 * This parameter can be GPIO_PIN_x where x can be(0..15)
tushki7 0:60d829a0353a 214 * @retval The new state of __EXTI_LINE__ (SET or RESET).
tushki7 0:60d829a0353a 215 */
tushki7 0:60d829a0353a 216 #define __HAL_GPIO_EXTI_GET_FLAG(__EXTI_LINE__) (EXTI->PR & (__EXTI_LINE__))
tushki7 0:60d829a0353a 217
tushki7 0:60d829a0353a 218 /**
tushki7 0:60d829a0353a 219 * @brief Clears the EXTI's line pending flags.
tushki7 0:60d829a0353a 220 * @param __EXTI_LINE__: specifies the EXTI lines flags to clear.
tushki7 0:60d829a0353a 221 * This parameter can be any combination of GPIO_PIN_x where x can be (0..15)
tushki7 0:60d829a0353a 222 * @retval None
tushki7 0:60d829a0353a 223 */
tushki7 0:60d829a0353a 224 #define __HAL_GPIO_EXTI_CLEAR_FLAG(__EXTI_LINE__) (EXTI->PR = (__EXTI_LINE__))
tushki7 0:60d829a0353a 225
tushki7 0:60d829a0353a 226 /**
tushki7 0:60d829a0353a 227 * @brief Checks whether the specified EXTI line is asserted or not.
tushki7 0:60d829a0353a 228 * @param __EXTI_LINE__: specifies the EXTI line to check.
tushki7 0:60d829a0353a 229 * This parameter can be GPIO_PIN_x where x can be(0..15)
tushki7 0:60d829a0353a 230 * @retval The new state of __EXTI_LINE__ (SET or RESET).
tushki7 0:60d829a0353a 231 */
tushki7 0:60d829a0353a 232 #define __HAL_GPIO_EXTI_GET_IT(__EXTI_LINE__) (EXTI->PR & (__EXTI_LINE__))
tushki7 0:60d829a0353a 233
tushki7 0:60d829a0353a 234 /**
tushki7 0:60d829a0353a 235 * @brief Clears the EXTI's line pending bits.
tushki7 0:60d829a0353a 236 * @param __EXTI_LINE__: specifies the EXTI lines to clear.
tushki7 0:60d829a0353a 237 * This parameter can be any combination of GPIO_PIN_x where x can be (0..15)
tushki7 0:60d829a0353a 238 * @retval None
tushki7 0:60d829a0353a 239 */
tushki7 0:60d829a0353a 240 #define __HAL_GPIO_EXTI_CLEAR_IT(__EXTI_LINE__) (EXTI->PR = (__EXTI_LINE__))
tushki7 0:60d829a0353a 241
tushki7 0:60d829a0353a 242 /**
tushki7 0:60d829a0353a 243 * @brief Generates a Software interrupt on selected EXTI line.
tushki7 0:60d829a0353a 244 * @param __EXTI_LINE__: specifies the EXTI line to check.
tushki7 0:60d829a0353a 245 * This parameter can be GPIO_PIN_x where x can be(0..15)
tushki7 0:60d829a0353a 246 * @retval None
tushki7 0:60d829a0353a 247 */
tushki7 0:60d829a0353a 248 #define __HAL_GPIO_EXTI_GENERATE_SWIT(__EXTI_LINE__) (EXTI->SWIER |= (__EXTI_LINE__))
tushki7 0:60d829a0353a 249
tushki7 0:60d829a0353a 250 /**
tushki7 0:60d829a0353a 251 * @}
tushki7 0:60d829a0353a 252 */
tushki7 0:60d829a0353a 253
tushki7 0:60d829a0353a 254 /* Include GPIO HAL Extended module */
tushki7 0:60d829a0353a 255 #include "stm32f3xx_hal_gpio_ex.h"
tushki7 0:60d829a0353a 256
tushki7 0:60d829a0353a 257 /* Exported functions --------------------------------------------------------*/
tushki7 0:60d829a0353a 258 /** @addtogroup GPIO_Exported_Functions GPIO Exported Functions
tushki7 0:60d829a0353a 259 * @{
tushki7 0:60d829a0353a 260 */
tushki7 0:60d829a0353a 261
tushki7 0:60d829a0353a 262 /** @addtogroup GPIO_Exported_Functions_Group1 Initialization and de-initialization functions
tushki7 0:60d829a0353a 263 * @{
tushki7 0:60d829a0353a 264 */
tushki7 0:60d829a0353a 265 /* Initialization and de-initialization functions *****************************/
tushki7 0:60d829a0353a 266 void HAL_GPIO_Init(GPIO_TypeDef *GPIOx, GPIO_InitTypeDef *GPIO_Init);
tushki7 0:60d829a0353a 267 void HAL_GPIO_DeInit(GPIO_TypeDef *GPIOx, uint32_t GPIO_Pin);
tushki7 0:60d829a0353a 268
tushki7 0:60d829a0353a 269 /**
tushki7 0:60d829a0353a 270 * @}
tushki7 0:60d829a0353a 271 */
tushki7 0:60d829a0353a 272
tushki7 0:60d829a0353a 273 /** @addtogroup GPIO_Exported_Functions_Group2 Input and Output operation functions
tushki7 0:60d829a0353a 274 * @{
tushki7 0:60d829a0353a 275 */
tushki7 0:60d829a0353a 276 /* IO operation functions *****************************************************/
tushki7 0:60d829a0353a 277 GPIO_PinState HAL_GPIO_ReadPin(GPIO_TypeDef* GPIOx, uint16_t GPIO_Pin);
tushki7 0:60d829a0353a 278 void HAL_GPIO_WritePin(GPIO_TypeDef* GPIOx, uint16_t GPIO_Pin, GPIO_PinState PinState);
tushki7 0:60d829a0353a 279 void HAL_GPIO_TogglePin(GPIO_TypeDef* GPIOx, uint16_t GPIO_Pin);
tushki7 0:60d829a0353a 280 HAL_StatusTypeDef HAL_GPIO_LockPin(GPIO_TypeDef* GPIOx, uint16_t GPIO_Pin);
tushki7 0:60d829a0353a 281 void HAL_GPIO_EXTI_IRQHandler(uint16_t GPIO_Pin);
tushki7 0:60d829a0353a 282 void HAL_GPIO_EXTI_Callback(uint16_t GPIO_Pin);
tushki7 0:60d829a0353a 283
tushki7 0:60d829a0353a 284 /**
tushki7 0:60d829a0353a 285 * @}
tushki7 0:60d829a0353a 286 */
tushki7 0:60d829a0353a 287
tushki7 0:60d829a0353a 288 /**
tushki7 0:60d829a0353a 289 * @}
tushki7 0:60d829a0353a 290 */
tushki7 0:60d829a0353a 291
tushki7 0:60d829a0353a 292 /**
tushki7 0:60d829a0353a 293 * @}
tushki7 0:60d829a0353a 294 */
tushki7 0:60d829a0353a 295
tushki7 0:60d829a0353a 296 /**
tushki7 0:60d829a0353a 297 * @}
tushki7 0:60d829a0353a 298 */
tushki7 0:60d829a0353a 299
tushki7 0:60d829a0353a 300 #ifdef __cplusplus
tushki7 0:60d829a0353a 301 }
tushki7 0:60d829a0353a 302 #endif
tushki7 0:60d829a0353a 303
tushki7 0:60d829a0353a 304 #endif /* __STM32F3xx_HAL_GPIO_H */
tushki7 0:60d829a0353a 305
tushki7 0:60d829a0353a 306
tushki7 0:60d829a0353a 307 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/