Rev 134 | Blame | Compare with Previous | Last modification | View Log | RSS feed
/*
* twires.h
*
* Created on: 16/07/2014
* Author: pfowler
*/
#ifndef TWIRES_H_
#define TWIRES_H_
void twires_begin(uint8_t slaveAddr);
void twires_send(uint8_t data);
uint8_t twires_available(void);
uint8_t twires_receive(void);
void twires_onReceive( void (*)(uint8_t) );
void twires_onRequest( void (*)(void) );
void twires_stop_check(void);
void twires_delay(unsigned long ms);
#endif /* TWIRES_H_ */