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))
Definition: twi.c:336
void twi_reply(uint8_t)
Definition: twi.c:356
uint8_t twi_writeTo(uint8_t, uint8_t *, uint8_t, uint8_t, uint8_t)
Definition: twi.c:232
void twi_disable(void)
Definition: twi.c:108
void twi_init(void)
Definition: twi.c:76
void twi_stop(void)
Definition: twi.c:371
void twi_releaseBus(void)
Definition: twi.c:391
uint8_t twi_transmit(const uint8_t *, uint8_t)
Definition: twi.c:308
void twi_setFrequency(uint32_t)
Definition: twi.c:136
void twi_attachSlaveTxEvent(void(*)(void))
Definition: twi.c:346
void twi_setAddress(uint8_t)
Definition: twi.c:125
uint8_t twi_readFrom(uint8_t, uint8_t *, uint8_t, uint8_t)
Definition: twi.c:155