linux: Add support for analog IIO devices
Add support for reading analog values via the standard Linux IIO interface. This can be used on Replicape boards to sample analog input pins. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#ifndef __GENERIC_GPIO_H
|
||||
#define __GENERIC_GPIO_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdint.h> // uint8_t
|
||||
|
||||
struct gpio_out {
|
||||
uint8_t pin;
|
||||
|
||||
Reference in New Issue
Block a user