提交 c564605c 编写于 作者: lymzzyh's avatar lymzzyh

[DeviceDrivers]添加pin开漏和下拉输入宏

[DeviceDrivers]添加pin开漏和下拉输入宏
上级 000a0388
......@@ -45,6 +45,8 @@ struct rt_device_pin
#define PIN_MODE_OUTPUT 0x00
#define PIN_MODE_INPUT 0x01
#define PIN_MODE_INPUT_PULLUP 0x02
#define PIN_MODE_INPUT_PULLDOWN 0x03
#define PIN_MODE_OUTPUT_OD 0x04
#define PIN_IRQ_MODE_RISING 0x00
#define PIN_IRQ_MODE_FALLING 0x01
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册