提交 a30587ff 编写于 作者: Z Zhou Yanjie

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: NZhou Yanjie <zhouyanjie@zoho.com>
上级 1e13c0a9
......@@ -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
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册