Statistics
| Branch: | Revision:

scoutos / scout_avr / bom / tiny-twi.h @ cbe25c0a

History | View | Annotate | Download (236 Bytes)

1
#ifndef TINY_TWI_H
2
#define TINY_TWI_H
3

    
4
#include <stdint.h>
5

    
6
typedef void (*slave_rx_t)(uint8_t*, int);
7

    
8
void smb_init(slave_rx_t slave_rx);
9
void smb_set_address(uint8_t addr);
10
void smb_send_data(uint8_t* data, uint8_t length); 
11

    
12
#endif