MG32L003 Standard Peripherals Firmware Library

宏定义
GPIO_EXTI_Define
MG32L003_StdPeriph_Driver » GPIO » GPIO_Exported_Constants

## 宏定义
#define | GPIO_EXTI_IT_DISABLE ((uint32_t)0x00000000U)
#define | GPIO_EXTI_IT_ENABLE ((uint32_t)0x00000100U)
#define | GPIO_EXTI_TRIGGER_EDGE ((uint32_t)0x00000000U)
#define | GPIO_EXTI_TRIGGER_LEVEL ((uint32_t)0x00000200U)
#define | GPIO_EXTI_TRIGGER_LOW ((uint32_t)0x00000000U)
#define | GPIO_EXTI_TRIGGER_HIGH ((uint32_t)0x00000400U)
#define | GPIO_EXTI_TRIGGER_FALLING ((uint32_t)0x00000000U)
#define | GPIO_EXTI_TRIGGER_RISSING ((uint32_t)0x00000400U)
#define | GPIO_EXTI_TRIGGER_RISSING_FALLING ((uint32_t)0x00000800U)
#define | GPIO_EXTI_Mask ((uint32_t)0x00000F00U)

## 详细描述

## 宏定义说明

## ◆ GPIO_EXTI_IT_DISABLE

#define GPIO_EXTI_IT_DISABLE ((uint32_t)0x00000000U)

Disable EXTI Interrupt

## ◆ GPIO_EXTI_IT_ENABLE

#define GPIO_EXTI_IT_ENABLE ((uint32_t)0x00000100U)

Enable EXTI Interrupt

## ◆ GPIO_EXTI_TRIGGER_EDGE

#define GPIO_EXTI_TRIGGER_EDGE ((uint32_t)0x00000000U)

Edge triggered interrupt

## ◆ GPIO_EXTI_TRIGGER_FALLING

#define GPIO_EXTI_TRIGGER_FALLING ((uint32_t)0x00000000U)

Falling edge triggered interrupt

## ◆ GPIO_EXTI_TRIGGER_HIGH

#define GPIO_EXTI_TRIGGER_HIGH ((uint32_t)0x00000400U)

Low level triggered interrupt

## ◆ GPIO_EXTI_TRIGGER_LEVEL

#define GPIO_EXTI_TRIGGER_LEVEL ((uint32_t)0x00000200U)

Level triggered interrupt

## ◆ GPIO_EXTI_TRIGGER_LOW

#define GPIO_EXTI_TRIGGER_LOW ((uint32_t)0x00000000U)

Low level triggered interrupt

## ◆ GPIO_EXTI_TRIGGER_RISSING

#define GPIO_EXTI_TRIGGER_RISSING ((uint32_t)0x00000400U)

Rising edge triggered interrupt

## ◆ GPIO_EXTI_TRIGGER_RISSING_FALLING

#define GPIO_EXTI_TRIGGER_RISSING_FALLING ((uint32_t)0x00000800U)

Rising and falling edge triggered interrupt