思澈科技软件开发工具包  2.20

GPIO Configuration Mode Elements values convention: 0xX0yz00YZ. More...

Macros

#define GPIO_MODE_INPUT   (0x00000000u)
 
#define GPIO_MODE_OUTPUT   (0x00000001u)
 
#define GPIO_MODE_OUTPUT_OD   (0x00000011u)
 
#define GPIO_MODE_IT_RISING   (0x10110000u)
 
#define GPIO_MODE_IT_FALLING   (0x10210000u)
 
#define GPIO_MODE_IT_RISING_FALLING   (0x10310000u)
 
#define GPIO_MODE_IT_HIGH_LEVEL   (0x10410000u)
 
#define GPIO_MODE_IT_LOW_LEVEL   (0x10510000u)
 

Detailed Description

GPIO Configuration Mode Elements values convention: 0xX0yz00YZ.

Macro Definition Documentation

◆ GPIO_MODE_INPUT

#define GPIO_MODE_INPUT   (0x00000000u)

Input Floating Mode

◆ GPIO_MODE_IT_FALLING

#define GPIO_MODE_IT_FALLING   (0x10210000u)

External Interrupt Mode with Falling edge trigger detection

◆ GPIO_MODE_IT_HIGH_LEVEL

#define GPIO_MODE_IT_HIGH_LEVEL   (0x10410000u)

External Interrupt Mode with high level detection

◆ GPIO_MODE_IT_LOW_LEVEL

#define GPIO_MODE_IT_LOW_LEVEL   (0x10510000u)

External Interrupt Mode with low level detection

◆ GPIO_MODE_IT_RISING

#define GPIO_MODE_IT_RISING   (0x10110000u)

External Interrupt Mode with Rising edge trigger detection

◆ GPIO_MODE_IT_RISING_FALLING

#define GPIO_MODE_IT_RISING_FALLING   (0x10310000u)

External Interrupt Mode with Rising/Falling edge trigger detection

◆ GPIO_MODE_OUTPUT

#define GPIO_MODE_OUTPUT   (0x00000001u)

Output Push Pull Mode

◆ GPIO_MODE_OUTPUT_OD

#define GPIO_MODE_OUTPUT_OD   (0x00000011u)

Output Open Drain Mode