28 #define TWI_FREQ 100000L 31 #ifndef TWI_BUFFER_LENGTH 32 #define TWI_BUFFER_LENGTH 32 45 uint8_t
twi_readFrom(uint8_t, uint8_t*, uint8_t, uint8_t);
46 uint8_t
twi_writeTo(uint8_t, uint8_t*, uint8_t, uint8_t, uint8_t);
void twi_attachSlaveRxEvent(void(*)(uint8_t *, int))
uint8_t twi_writeTo(uint8_t, uint8_t *, uint8_t, uint8_t, uint8_t)
void twi_releaseBus(void)
uint8_t twi_transmit(const uint8_t *, uint8_t)
void twi_setFrequency(uint32_t)
void twi_attachSlaveTxEvent(void(*)(void))
void twi_setAddress(uint8_t)
uint8_t twi_readFrom(uint8_t, uint8_t *, uint8_t, uint8_t)