Subversion Repositories group.NITPanels

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
8 pfowler 1
/*
2
 * twires.h
3
 *
4
 *  Created on: 16/07/2014
5
 *      Author: pfowler
6
 */
7
 
8
#ifndef TWIRES_H_
9
#define TWIRES_H_
10
 
11
void twires_begin(uint8_t slaveAddr);
12
void twires_send(uint8_t data);
13
uint8_t twires_available(void);
14
uint8_t twires_receive(void);
15
void twires_onReceive( void (*)(uint8_t) );
16
void twires_onRequest( void (*)(void) );
17
void twires_stop_check(void);
18
void twires_delay(unsigned long ms);
19
 
20
#endif /* TWIRES_H_ */