#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdint.h>
#include <sys/types.h>
Go to the source code of this file.
Macros | |
#define | SUCCESS 1 |
#define | FAILURE -1 |
Functions | |
int | gpio_read (uint8_t gpio) |
int | gpio_write (uint8_t gpio, uint8_t value) |
int | gpio_f_write (uint8_t gpio, uint8_t value) |
#define FAILURE -1 |
Definition at line 18 of file gpio_functions.h.
#define SUCCESS 1 |
Definition at line 17 of file gpio_functions.h.
int gpio_f_write | ( | uint8_t | gpio, |
uint8_t | value | ||
) |
int gpio_read | ( | uint8_t | gpio | ) |
Definition at line 3 of file gpio_functions.c.
References FAILURE.
Referenced by dac_shut_down().
int gpio_write | ( | uint8_t | gpio, |
uint8_t | value | ||
) |
Definition at line 21 of file gpio_functions.c.
References FAILURE, and SUCCESS.
Referenced by actuate(), dac_shut_down(), and read_all_data().