diff options
Diffstat (limited to 'bus.h')
-rw-r--r-- | bus.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -27,9 +27,13 @@ #define GPMCACCESSTIME 0x07 void bus_init(void); // call this before doing anything + +int bus_getpin(int pin); void bus_setpin(int pin, int value); // set the value of a pin + void bus_writebyte(uint8_t address, uint8_t data); // write a byte to the bus uint8_t bus_readbyte(uint8_t address); // read a pin from the bus + void bus_shutdown(void); // shutdown the bus #endif /* BUS_H_ */ |