gpiogetGet the value of a line or a set of lines on one gpiochip. gpiosetSet of value of a line or a set of lines on one gpiochip. gpiomonReport edges detected on a line or set of lines on one gpiochip. Tests The library is fully tested, other than some error cases and sanity...
The current line value can be read with the Value method: r, _ := l.Value() // Read state from line (active / inactive) For collections of lines, the level of all lines is read simultaneously using the Values method: rr := []int{0, 0, 0, 0} // buffer to read into... ll...
Original file line numberDiff line numberDiff line change @@ -44,7 +44,7 @@ struct dwc3_generic_priv { void *base; struct dwc3 dwc3; struct phy_bulk phys; struct gpio_desc ulpi_reset; struct gpio_desc *ulpi_reset; };struct dwc3_generic_host_priv {...
This is a mirror of the original repository over at kernel.org. This github page is for discussions and issue reporting only. PRs can be discussed here but the patches need to go through the linux-gpio mailing list. - libgpiod/tools/gpioset.c at eb690e46
core: fix gpiod_line_get_value_bulk for events … warthog618 authored and brgl committed Jun 17, 2020 b56d6b6 tests: event: add tests for gpiod_line_get_value_bulk events … warthog618 authored and brgl committed Jun 17, 2020 142797f bindings: cxx: tests: add tests for ...