/* Unregisters an interrupt handler for the quadrature encoder interrupt. */
void QEIIntUnregister(unsigned long ulBase)
/* Unregisters an interrupt handler for the quadrature encoder interrupt. */
void QEIIntUnregister(unsigned long ulBase)
{
    unsigned long ulInt;
    ASSERT((ulBase == QEI0_BASE) || (ulBase == QEI1_BASE));
    ulInt = (ulBase == QEI0_BASE) ? INT_QEI0 : INT_QEI1;
    IntDisable(ulInt);
    IntUnregister(ulInt);
}