/* Reads a byte from the TWI bus. The read operation must have been started using TWI_StartRead() and a byte must be available (check with TWI_ByteReceived()). Returns the byte read.  */
unsigned char TWI_ReadByte(AT91S_TWI *pTwi)
/* Reads a byte from the TWI bus. The read operation must have been started using TWI_StartRead() and a byte must be available (check with TWI_ByteReceived()). Returns the byte read.  */
unsigned char TWI_ReadByte(AT91S_TWI *pTwi)
{
    SANITY_CHECK(pTwi);
    return pTwi->TWI_RHR;
}