23 #include <compat/twi.h>
26 #define TWI_FREQ 400000L
29 #define TWI_TIMEOUT_MS 10
45 void twi_disable(
void);
53 uint8_t twi_check(uint8_t address);
63 uint8_t twi_r8(uint8_t address, uint8_t reg, uint8_t* data);
73 uint8_t twi_w8(uint8_t address, uint8_t reg, uint8_t data);