Sean Cross
3d6acaf51e
Now that we have SPI and USB both working, we can start to close the loop and get DFU working. Signed-off-by: Sean Cross <sean@xobs.io>
12 lines
218 B
C
12 lines
218 B
C
#ifndef _SPI_GPIO_H
|
|
#define _SPI_GPIO_H
|
|
|
|
#define PI_OUTPUT 1
|
|
#define PI_INPUT 0
|
|
#define PI_ALT0 PI_INPUT
|
|
|
|
void gpioSetMode(int pin, int mode);
|
|
void gpioWrite(int pin, int val);
|
|
int gpioRead(int pin);
|
|
|
|
#endif |