unsigned char TWI_ByteSent(AT91S_TWI *pTwi) { return ((pTwi->TWI_SR & AT91C_TWI_TXRDY) == AT91C_TWI_TXRDY); }