From 9c1a02d673f74677136ab67d09b42ea3ce2dfed1 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 12 Apr 2016 19:00:33 +1000 Subject: [PATCH] gpio: added SET_OUTPUT ioctls --- src/drivers/drv_gpio.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/drivers/drv_gpio.h b/src/drivers/drv_gpio.h index 5d320fe7e6..856f604fec 100644 --- a/src/drivers/drv_gpio.h +++ b/src/drivers/drv_gpio.h @@ -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 */