STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
Loading...
Searching...
No Matches
GPIO Private Constants
Collaboration diagram for GPIO Private Constants:

Macros

#define GPIO_MODE_Pos   0U
 
#define GPIO_MODE   (0x3UL << GPIO_MODE_Pos)
 
#define MODE_INPUT   (0x0UL << GPIO_MODE_Pos)
 
#define MODE_OUTPUT   (0x1UL << GPIO_MODE_Pos)
 
#define MODE_AF   (0x2UL << GPIO_MODE_Pos)
 
#define MODE_ANALOG   (0x3UL << GPIO_MODE_Pos)
 
#define OUTPUT_TYPE_Pos   4U
 
#define OUTPUT_TYPE   (0x1UL << OUTPUT_TYPE_Pos)
 
#define OUTPUT_PP   (0x0UL << OUTPUT_TYPE_Pos)
 
#define OUTPUT_OD   (0x1UL << OUTPUT_TYPE_Pos)
 
#define EXTI_MODE_Pos   16U
 
#define EXTI_MODE   (0x3UL << EXTI_MODE_Pos)
 
#define EXTI_IT   (0x1UL << EXTI_MODE_Pos)
 
#define EXTI_EVT   (0x2UL << EXTI_MODE_Pos)
 
#define TRIGGER_MODE_Pos   20U
 
#define TRIGGER_MODE   (0x7UL << TRIGGER_MODE_Pos)
 
#define TRIGGER_RISING   (0x1UL << TRIGGER_MODE_Pos)
 
#define TRIGGER_FALLING   (0x2UL << TRIGGER_MODE_Pos)
 
#define GPIO_NUMBER   16U
 

Detailed Description

Macro Definition Documentation

◆ GPIO_MODE_Pos

#define GPIO_MODE_Pos   0U

#include <stm32f4xx_hal_gpio.h>

Definition at line 254 of file stm32f4xx_hal_gpio.h.

◆ GPIO_MODE

#define GPIO_MODE   (0x3UL << GPIO_MODE_Pos)

#include <stm32f4xx_hal_gpio.h>

Definition at line 255 of file stm32f4xx_hal_gpio.h.

Referenced by HAL_GPIO_Init().

◆ MODE_INPUT

#define MODE_INPUT   (0x0UL << GPIO_MODE_Pos)

#include <stm32f4xx_hal_gpio.h>

Definition at line 256 of file stm32f4xx_hal_gpio.h.

◆ MODE_OUTPUT

#define MODE_OUTPUT   (0x1UL << GPIO_MODE_Pos)

#include <stm32f4xx_hal_gpio.h>

Definition at line 257 of file stm32f4xx_hal_gpio.h.

Referenced by HAL_GPIO_Init().

◆ MODE_AF

#define MODE_AF   (0x2UL << GPIO_MODE_Pos)

#include <stm32f4xx_hal_gpio.h>

Definition at line 258 of file stm32f4xx_hal_gpio.h.

Referenced by HAL_GPIO_Init().

◆ MODE_ANALOG

#define MODE_ANALOG   (0x3UL << GPIO_MODE_Pos)

#include <stm32f4xx_hal_gpio.h>

Definition at line 259 of file stm32f4xx_hal_gpio.h.

Referenced by HAL_GPIO_Init().

◆ OUTPUT_TYPE_Pos

#define OUTPUT_TYPE_Pos   4U

#include <stm32f4xx_hal_gpio.h>

Definition at line 260 of file stm32f4xx_hal_gpio.h.

Referenced by HAL_GPIO_Init().

◆ OUTPUT_TYPE

#define OUTPUT_TYPE   (0x1UL << OUTPUT_TYPE_Pos)

#include <stm32f4xx_hal_gpio.h>

Definition at line 261 of file stm32f4xx_hal_gpio.h.

Referenced by HAL_GPIO_Init().

◆ OUTPUT_PP

#define OUTPUT_PP   (0x0UL << OUTPUT_TYPE_Pos)

#include <stm32f4xx_hal_gpio.h>

Definition at line 262 of file stm32f4xx_hal_gpio.h.

◆ OUTPUT_OD

#define OUTPUT_OD   (0x1UL << OUTPUT_TYPE_Pos)

#include <stm32f4xx_hal_gpio.h>

Definition at line 263 of file stm32f4xx_hal_gpio.h.

◆ EXTI_MODE_Pos

#define EXTI_MODE_Pos   16U

#include <stm32f4xx_hal_gpio.h>

Definition at line 264 of file stm32f4xx_hal_gpio.h.

◆ EXTI_MODE

#define EXTI_MODE   (0x3UL << EXTI_MODE_Pos)

#include <stm32f4xx_hal_gpio.h>

Definition at line 265 of file stm32f4xx_hal_gpio.h.

Referenced by HAL_GPIO_Init().

◆ EXTI_IT

#define EXTI_IT   (0x1UL << EXTI_MODE_Pos)

#include <stm32f4xx_hal_gpio.h>

Definition at line 266 of file stm32f4xx_hal_gpio.h.

Referenced by HAL_GPIO_Init().

◆ EXTI_EVT

#define EXTI_EVT   (0x2UL << EXTI_MODE_Pos)

#include <stm32f4xx_hal_gpio.h>

Definition at line 267 of file stm32f4xx_hal_gpio.h.

Referenced by HAL_GPIO_Init().

◆ TRIGGER_MODE_Pos

#define TRIGGER_MODE_Pos   20U

#include <stm32f4xx_hal_gpio.h>

Definition at line 268 of file stm32f4xx_hal_gpio.h.

◆ TRIGGER_MODE

#define TRIGGER_MODE   (0x7UL << TRIGGER_MODE_Pos)

#include <stm32f4xx_hal_gpio.h>

Definition at line 269 of file stm32f4xx_hal_gpio.h.

◆ TRIGGER_RISING

#define TRIGGER_RISING   (0x1UL << TRIGGER_MODE_Pos)

#include <stm32f4xx_hal_gpio.h>

Definition at line 270 of file stm32f4xx_hal_gpio.h.

Referenced by HAL_GPIO_Init().

◆ TRIGGER_FALLING

#define TRIGGER_FALLING   (0x2UL << TRIGGER_MODE_Pos)

#include <stm32f4xx_hal_gpio.h>

Definition at line 271 of file stm32f4xx_hal_gpio.h.

Referenced by HAL_GPIO_Init().

◆ GPIO_NUMBER

#define GPIO_NUMBER   16U

#include <stm32f4xx_hal_gpio.c>

Definition at line 127 of file stm32f4xx_hal_gpio.c.

Referenced by HAL_GPIO_DeInit(), HAL_GPIO_Init(), and HAL_GPIO_TogglePin().