Other Parts Discussed in Thread: CC430F5137
Hi,
I am currently using the CC430F5137 microcontroller.
I wanted to know how to disable this interrupt.
Here is the example code of the DMA interrupt
#pragma vector=DMA_VECTOR
__interrupt void Dma(void)
{
// Check if DMA is busy, if not, set proper variable
if (DMA0CTL & DMAIFG)
{
DMA0CTL &= ~DMAIFG;
DMA_busy = 0;
}
__bic_SR_register_on_exit(LPM3_bits);
}
I know I can disable the global interrupt with _DINT() or _disable_interrupt()
these interrupt functions only disabled my timer interrupt which is the one below but not the DMA interrupt above.
#pragma vector=TIMER0_A0_VECTOR
__interrupt void TIMER0_A0_ISR(void)
{
if(delay_ms)
delay_ms--;
}
Can you tell me how to disable the DMA interrupt ? This is very important for me
Thanks
David