Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
gpiodev_linux.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2019 Benjamin Valentin
3
*
4
* This file is subject to the terms and conditions of the GNU Lesser General
5
* Public License v2.1. See the file LICENSE in the top level directory for
6
* more details.
7
*/
8
46
#ifndef GPIODEV_LINUX_H
47
#define GPIODEV_LINUX_H
48
49
#ifdef __cplusplus
50
extern
"C"
{
51
#endif
52
60
int
gpio_linux_setup
(
const
char
* device);
61
67
void
gpio_linux_teardown
(
void
);
68
69
#ifdef __cplusplus
70
}
71
#endif
72
73
#endif
/* GPIODEV_LINUX_H */
gpio_linux_teardown
void gpio_linux_teardown(void)
shutdown GPIO subsystem
gpio_linux_setup
int gpio_linux_setup(const char *device)
register /dev/gpiochip* device to be used for GPIO
Generated on Sun Dec 22 2024 10:22:28 by
1.9.8