mbed library sources. Supersedes mbed-src.

Dependents:   Nucleo_Hello_Encoder BLE_iBeaconScan AM1805_DEMO DISCO-F429ZI_ExportTemplate1 ... more

Committer:
AnnaBridge
Date:
Wed Feb 20 22:31:08 2019 +0000
Revision:
189:f392fc9709a3
Parent:
184:08ed48f1de7f
mbed library release version 165

Who changed what in which revision?

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