STM32F4xx_HAL_Driver  1.8.3
stm32f4xx_hal_gpio.h File Reference

Header file of GPIO HAL module. More...

Go to the source code of this file.

Enumerations

enum  GPIO_PinState { GPIO_PIN_RESET = 0 , GPIO_PIN_SET }
 GPIO Bit SET and Bit RESET enumeration.
 

Functions

void HAL_GPIO_Init (GPIO_TypeDef *GPIOx, GPIO_InitTypeDef *GPIO_Init)
 Initializes the GPIOx peripheral according to the specified parameters in the GPIO_Init. More...
 
void HAL_GPIO_DeInit (GPIO_TypeDef *GPIOx, uint32_t GPIO_Pin)
 De-initializes the GPIOx peripheral registers to their default reset values. More...
 
GPIO_PinState HAL_GPIO_ReadPin (GPIO_TypeDef *GPIOx, uint16_t GPIO_Pin)
 Reads the specified input port pin. More...
 
void HAL_GPIO_WritePin (GPIO_TypeDef *GPIOx, uint16_t GPIO_Pin, GPIO_PinState PinState)
 Sets or clears the selected data port bit. More...
 
void HAL_GPIO_TogglePin (GPIO_TypeDef *GPIOx, uint16_t GPIO_Pin)
 Toggles the specified GPIO pins. More...
 
HAL_StatusTypeDef HAL_GPIO_LockPin (GPIO_TypeDef *GPIOx, uint16_t GPIO_Pin)
 Locks GPIO Pins configuration registers. More...
 
void HAL_GPIO_EXTI_IRQHandler (uint16_t GPIO_Pin)
 This function handles EXTI interrupt request. More...
 
void HAL_GPIO_EXTI_Callback (uint16_t GPIO_Pin)
 EXTI line detection callbacks. More...
 

Variables

 C
 

Detailed Description

Header file of GPIO HAL module.

Author
MCD Application Team
Attention

Copyright (c) 2017 STMicroelectronics. All rights reserved.

This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.

Definition in file stm32f4xx_hal_gpio.h.

Variable Documentation

◆ C

C
extern
Initial value:
{
#endif
typedef struct
{
uint32_t Pin;
uint32_t Mode;
uint32_t Pull;
uint32_t Speed;
uint32_t Alternate;
}GPIO_InitTypeDef
This file contains HAL common defines, enumeration, macros and structures definitions.