gpio: added SET_OUTPUT ioctls

This commit is contained in:
Andrew Tridgell
2016-04-12 19:00:33 +10:00
committed by Lorenz Meier
parent 76c2c9a46d
commit 9c1a02d673
+6
View File
@@ -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 */