Lines Matching defs:Gpio
27 #include "gpio.h"
40 // These enums must match the enums in gpio.h
43 * Gpio Output modes
53 * Gpio Direction options
63 * Gpio Edge types for interupts
66 EDGE_NONE = 0, /**< No interrupt on Gpio */
75 * This file defines the gpio interface for libmraa
79 class Gpio
83 * Instanciates a Gpio object
94 Gpio(int pin, bool owner = true, bool raw = false)
103 throw std::invalid_argument("Invalid GPIO pin specified");
111 * Gpio object destructor, this will only unexport the gpio if we where
114 ~Gpio()
139 mraa::Gpio* This = (mraa::Gpio*) req->data;
217 * Change Gpio mode
219 * @param mode The mode to change the gpio into
228 * Change Gpio direction
230 * @param dir The direction to change the gpio into
239 * Read value from Gpio
241 * @return Gpio value
249 * Write value to Gpio
251 * @param value Value to write to Gpio
271 * Get pin number of Gpio. If raw param is True will return the
274 * @param raw (optional) get the raw gpio number.