root / branches / simulator / projects / simulator / libsim / i2c.c @ 1056
History | View | Annotate | Download (305 Bytes)
1 | 906 | bcoltin | #include "i2c.h" |
---|---|---|---|
2 | 942 | bcoltin | #include "util.h" |
3 | 906 | bcoltin | |
4 | int i2c_init(char addr, fun_mrecv_t master_recv, fun_srecv_t slave_recv, fun_send_t slave_send) |
||
5 | { |
||
6 | 933 | bcoltin | UNIMPLEMENTED |
7 | 942 | bcoltin | return -1; |
8 | 906 | bcoltin | } |
9 | |||
10 | int i2c_send(char dest, char* data, size_t bytes) |
||
11 | { |
||
12 | 933 | bcoltin | UNIMPLEMENTED |
13 | 942 | bcoltin | return -1; |
14 | 906 | bcoltin | } |
15 | |||
16 | int i2c_request(char dest) |
||
17 | { |
||
18 | 933 | bcoltin | UNIMPLEMENTED |
19 | 942 | bcoltin | return -1; |
20 | 906 | bcoltin | } |