I was interested in using the three phase motor controller for the MCBSTR9 eval board. I cant get the ADT interrupts working. Here is the code for the MC_IRQHandler. How do I initialize the interrupts?
void MC_IRQHandler(void) { if (MC_GetITStatus (MC_IT_ADT) == SET){ MC_ClearITPendingBit(MC_IT_ADT); MC_ClearITPendingBit (MC_IT_ADT);
VIC0->VAR = 0xFF; /* Acknowledge Interrupt */ } }