/* Disables the selected interrupts sources on a TWI peripheral.  */
void TWI_DisableIt(AT91S_TWI *pTwi, unsigned int sources)
/* Disables the selected interrupts sources on a TWI peripheral.  */
void TWI_DisableIt(AT91S_TWI *pTwi, unsigned int sources)
{
    SANITY_CHECK(pTwi);
    SANITY_CHECK((sources & 0xFFFFFEF8) == 0);
    pTwi->TWI_IDR = sources;
}