Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
gpiodev_linux.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2019 Benjamin Valentin
3
* SPDX-License-Identifier: LGPL-2.1-only
4
*/
5
6
#pragma once
7
45
#ifdef __cplusplus
46
extern
"C"
{
47
#endif
48
56
int
gpio_linux_setup
(
const
char
* device);
57
63
void
gpio_linux_teardown
(
void
);
64
65
#ifdef __cplusplus
66
}
67
#endif
68
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 Wed Oct 1 2025 21:55:44 by
1.9.1