twi_functions.c
static uint8_t readNACK(void)
{
	TWCR = (1<<TWINT)|(1<<TWEN);
	while(!(TWCR & (1<<TWINT)));
	while(TW_STATUS != TW_MR_DATA_NACK);
	return TWDR;
}
/* Read a register and do not send ACK bit */
Read a register and do not send ACK bit
Read a register and do not send ACK bit
static uint8_t readNACK(void)
{
	TWCR = (1<<TWINT)|(1<<TWEN);
	while(!(TWCR & (1<<TWINT)));
	while(TW_STATUS != TW_MR_DATA_NACK);
	return TWDR;
}
static uint8_t readNACK ( void ) { TWCR = ( 1 << TWINT ) | ( 1 << TWEN ) ; while ( ! ( TWCR & ( 1 << TWINT ) ) ) ; while ( TW_STATUS != TW_MR_DATA_NACK ) ; return TWDR ; }
Read a register and do not send ACK bit
Read a register and do not send ACK bit