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.
13 lines
206 B
13 lines
206 B
9 years ago
|
/* i2c.h */
|
||
|
|
||
|
#ifndef _I2C_H_
|
||
|
#define _I2C_H_
|
||
|
|
||
|
#include "common.h"
|
||
|
|
||
|
void i2c_init(void);
|
||
|
bool i2c_write(uint8_t address, uint8_t prefix, uint8_t bytes, uint8_t *data);
|
||
|
void i2c_set_xor(uint8_t xor);
|
||
|
|
||
|
#endif
|