#include <unistd.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include "../Sysfs/Sysfs.h"
#include "../config.h"
Go to the source code of this file.
|
| #define | BUFFER_MAX 3 /* pin 0 .. 99 and a trailing zero */ |
| |
|
| int | GpioExport (int Pin) |
| | Request a gpio pin to be exported via the sysfs filesystem. More...
|
| |
| #define BUFFER_MAX 3 /* pin 0 .. 99 and a trailing zero */ |
| int GpioExport |
( |
int |
Pin | ) |
|
Request a gpio pin to be exported via the sysfs filesystem.
- Parameters
-
- Returns
- zero on succes, a negative number on failure
Definition at line 17 of file GpioExport.c.