Classes | Macros | Enumerations | Functions
stm32f7xx_hal_gpio.h File Reference

Header file of GPIO HAL module. More...

#include "stm32f7xx_hal_def.h"
#include "stm32f7xx_hal_gpio_ex.h"
Include dependency graph for stm32f7xx_hal_gpio.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  GPIO_InitTypeDef
 GPIO Init structure definition
More...
 

Macros

#define __HAL_GPIO_EXTI_CLEAR_FLAG(__EXTI_LINE__)   (EXTI->PR = (__EXTI_LINE__))
 Clears the EXTI's line pending flags. More...
 
#define __HAL_GPIO_EXTI_CLEAR_IT(__EXTI_LINE__)   (EXTI->PR = (__EXTI_LINE__))
 Clears the EXTI's line pending bits. More...
 
#define __HAL_GPIO_EXTI_GENERATE_SWIT(__EXTI_LINE__)   (EXTI->SWIER |= (__EXTI_LINE__))
 Generates a Software interrupt on selected EXTI line. More...
 
#define __HAL_GPIO_EXTI_GET_FLAG(__EXTI_LINE__)   (EXTI->PR & (__EXTI_LINE__))
 Checks whether the specified EXTI line flag is set or not. More...
 
#define __HAL_GPIO_EXTI_GET_IT(__EXTI_LINE__)   (EXTI->PR & (__EXTI_LINE__))
 Checks whether the specified EXTI line is asserted or not. More...
 
#define GPIO_MODE_AF_OD   ((uint32_t)0x00000012U)
 
#define GPIO_MODE_AF_PP   ((uint32_t)0x00000002U)
 
#define GPIO_MODE_ANALOG   ((uint32_t)0x00000003U)
 
#define GPIO_MODE_EVT_FALLING   ((uint32_t)0x10220000U)
 
#define GPIO_MODE_EVT_RISING   ((uint32_t)0x10120000U)
 
#define GPIO_MODE_EVT_RISING_FALLING   ((uint32_t)0x10320000U)
 
#define GPIO_MODE_INPUT   ((uint32_t)0x00000000U)
 
#define GPIO_MODE_IT_FALLING   ((uint32_t)0x10210000U)
 
#define GPIO_MODE_IT_RISING   ((uint32_t)0x10110000U)
 
#define GPIO_MODE_IT_RISING_FALLING   ((uint32_t)0x10310000U)
 
#define GPIO_MODE_OUTPUT_OD   ((uint32_t)0x00000011U)
 
#define GPIO_MODE_OUTPUT_PP   ((uint32_t)0x00000001U)
 
#define GPIO_NOPULL   ((uint32_t)0x00000000U)
 
#define GPIO_PIN_0   ((uint16_t)0x0001U) /* Pin 0 selected */
 
#define GPIO_PIN_1   ((uint16_t)0x0002U) /* Pin 1 selected */
 
#define GPIO_PIN_10   ((uint16_t)0x0400U) /* Pin 10 selected */
 
#define GPIO_PIN_11   ((uint16_t)0x0800U) /* Pin 11 selected */
 
#define GPIO_PIN_12   ((uint16_t)0x1000U) /* Pin 12 selected */
 
#define GPIO_PIN_13   ((uint16_t)0x2000U) /* Pin 13 selected */
 
#define GPIO_PIN_14   ((uint16_t)0x4000U) /* Pin 14 selected */
 
#define GPIO_PIN_15   ((uint16_t)0x8000U) /* Pin 15 selected */
 
#define GPIO_PIN_2   ((uint16_t)0x0004U) /* Pin 2 selected */
 
#define GPIO_PIN_3   ((uint16_t)0x0008U) /* Pin 3 selected */
 
#define GPIO_PIN_4   ((uint16_t)0x0010U) /* Pin 4 selected */
 
#define GPIO_PIN_5   ((uint16_t)0x0020U) /* Pin 5 selected */
 
#define GPIO_PIN_6   ((uint16_t)0x0040U) /* Pin 6 selected */
 
#define GPIO_PIN_7   ((uint16_t)0x0080U) /* Pin 7 selected */
 
#define GPIO_PIN_8   ((uint16_t)0x0100U) /* Pin 8 selected */
 
#define GPIO_PIN_9   ((uint16_t)0x0200U) /* Pin 9 selected */
 
#define GPIO_PIN_All   ((uint16_t)0xFFFFU) /* All pins selected */
 
#define GPIO_PIN_MASK   ((uint32_t)0x0000FFFFU) /* PIN mask for assert test */
 
#define GPIO_PULLDOWN   ((uint32_t)0x00000002U)
 
#define GPIO_PULLUP   ((uint32_t)0x00000001U)
 
#define GPIO_SPEED_FREQ_HIGH   ((uint32_t)0x00000002U)
 
#define GPIO_SPEED_FREQ_LOW   ((uint32_t)0x00000000U)
 
#define GPIO_SPEED_FREQ_MEDIUM   ((uint32_t)0x00000001U)
 
#define GPIO_SPEED_FREQ_VERY_HIGH   ((uint32_t)0x00000003U)
 
#define IS_GPIO_MODE(MODE)
 
#define IS_GPIO_PIN(__PIN__)   ((((uint32_t)(__PIN__) & GPIO_PIN_MASK) != 0x00U))
 
#define IS_GPIO_PIN_ACTION(ACTION)   (((ACTION) == GPIO_PIN_RESET) || ((ACTION) == GPIO_PIN_SET))
 
#define IS_GPIO_PULL(PULL)
 
#define IS_GPIO_SPEED(SPEED)
 

Enumerations

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

Functions

void HAL_GPIO_DeInit (GPIO_TypeDef *GPIOx, uint32_t GPIO_Pin)
 
void HAL_GPIO_EXTI_Callback (uint16_t GPIO_Pin)
 
void HAL_GPIO_EXTI_IRQHandler (uint16_t GPIO_Pin)
 
void HAL_GPIO_Init (GPIO_TypeDef *GPIOx, GPIO_InitTypeDef *GPIO_Init)
 
HAL_StatusTypeDef HAL_GPIO_LockPin (GPIO_TypeDef *GPIOx, uint16_t GPIO_Pin)
 
GPIO_PinState HAL_GPIO_ReadPin (GPIO_TypeDef *GPIOx, uint16_t GPIO_Pin)
 
void HAL_GPIO_TogglePin (GPIO_TypeDef *GPIOx, uint16_t GPIO_Pin)
 
void HAL_GPIO_WritePin (GPIO_TypeDef *GPIOx, uint16_t GPIO_Pin, GPIO_PinState PinState)
 

Detailed Description

Header file of GPIO HAL module.

Author
MCD Application Team
Attention

© Copyright (c) 2017 STMicroelectronics. All rights reserved.

This software component is licensed by ST under BSD 3-Clause license, the "License"; You may not use this file except in compliance with the License. You may obtain a copy of the License at: opensource.org/licenses/BSD-3-Clause

Definition in file stm32f7xx_hal_gpio.h.



picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:15:02