You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
437 B
24 lines
437 B
|
15 years ago
|
|
||
|
|
#include <stdint.h>
|
||
|
|
|
||
|
|
#include "i2c_simple.h"
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
void i2c_init(){
|
||
|
|
//TODO: implement
|
||
|
|
}
|
||
|
|
|
||
|
|
uint8_t i2c_read(uint8_t addr, uint8_t len, uint8_t *data){
|
||
|
|
return 0; //TODO: implement
|
||
|
|
}
|
||
|
|
|
||
|
|
uint8_t i2c_write(uint8_t addr, uint8_t len, uint8_t *data){
|
||
|
|
return 0; //TODO: implement
|
||
|
|
}
|
||
|
|
|
||
|
|
uint8_t i2c_write_read(uint8_t addr, uint8_t writelen, uint8_t* writedata, uint8_t readlen,
|
||
|
|
uint8_t* readdata){
|
||
|
|
return 0; //TODO: implement
|
||
|
|
}
|