mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-23 13:37:34 +08:00
gpio: added SET_OUTPUT ioctls
This commit is contained in:
committed by
Lorenz Meier
parent
76c2c9a46d
commit
9c1a02d673
@@ -194,4 +194,10 @@
|
||||
|
||||
#define GPIO_PERIPHERAL_RAIL_RESET GPIOC(14)
|
||||
|
||||
/** configure the board GPIOs in (arg) as outputs, initially low */
|
||||
#define GPIO_SET_OUTPUT_LOW GPIOC(15)
|
||||
|
||||
/** configure the board GPIOs in (arg) as outputs, initially high */
|
||||
#define GPIO_SET_OUTPUT_HIGH GPIOC(16)
|
||||
|
||||
#endif /* _DRV_GPIO_H */
|
||||
|
||||
Reference in New Issue
Block a user