RockBLOCK 9704 C Library
Doxygen documentation for the RockBLOCK 9704 C Library.
Loading...
Searching...
No Matches
Functions | Variables
gpio.c File Reference
#include "gpio.h"
#include <gpiod.h>
#include <time.h>
#include <stdio.h>

Functions

bool gpioToggle (const char *selectedChip, int selectedPin, int value)
 
int gpioReceive (const char *selectedChip, int selectedPin)
 
bool gpioDriveHigh (const char *selectedChip, int selectedPin)
 
bool gpioDriveLow (const char *selectedChip, int selectedPin)
 
bool gpioListenIridBooted (const char *selectedChip, int selectedPin, const int timeout)
 

Variables

const rbGpioTable_t gpioTable
 

Function Documentation

◆ gpioDriveHigh()

bool gpioDriveHigh ( const char *  selectedChip,
int  selectedPin 
)

◆ gpioDriveLow()

bool gpioDriveLow ( const char *  selectedChip,
int  selectedPin 
)

◆ gpioListenIridBooted()

bool gpioListenIridBooted ( const char *  selectedChip,
int  selectedPin,
const int  timeout 
)

◆ gpioReceive()

int gpioReceive ( const char *  selectedChip,
int  selectedPin 
)

◆ gpioToggle()

bool gpioToggle ( const char *  selectedChip,
int  selectedPin,
int  value 
)

Variable Documentation

◆ gpioTable

const rbGpioTable_t gpioTable
Initial value:
=
{
{ "/dev/gpiochip0" , 24U },
{ "/dev/gpiochip0" , 16U },
{ "/dev/gpiochip0" , 23U }
}