mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-03-28 02:03:20 +08:00
X1000:drv_gpio.h:添加枚举成员“GPIO_PULL”/Add enum member "GPIO_PULL"
在枚举“gpio_function”中添加成员“GPIO_PULL” Add the member "GPIO_PULL" to the enumeration "gpio_function". Signed-off-by: Zhou Yanjie <zhouyanjie@zoho.com>
This commit is contained in:
@@ -115,6 +115,7 @@ enum gpio_function
|
||||
GPIO_INT_HI = 0x09, //1001, High Level trigger interrupt
|
||||
GPIO_INT_FE = 0x0a, //1010, Fall Edge trigger interrupt
|
||||
GPIO_INT_RE = 0x0b, //1011, Rise Edge trigger interrupt
|
||||
GPIO_PULL = 0x10, //0001 0000, GPIO enable pull
|
||||
GPIO_INPUT_PULL = 0x16, //0001 0110, GPIO as input and enable pull
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user