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:
parent
1e13c0a972
commit
a30587ff69
|
@ -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
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue