Lines Matching refs:pin
85 * @param pin pin number to use
86 * @param owner (optional) Set pin owner, default behaviour is to 'own'
87 * the pin if we exported it. This means we will close it on destruct.
90 * @param raw (optional) Raw pins will use gpiolibs pin numbering from
94 Gpio(int pin, bool owner = true, bool raw = false)
97 m_gpio = mraa_gpio_init_raw(pin);
99 m_gpio = mraa_gpio_init(pin);
103 throw std::invalid_argument("Invalid GPIO pin specified");
183 * Sets a callback to be called when pin value changes
271 * Get pin number of Gpio. If raw param is True will return the
275 * @return Pin number