support third DMA line.

This commit is contained in:
nvt-se 2007-09-21 13:51:09 +00:00
parent 9d75d6d153
commit 24ffa8cfaf
1 changed files with 8 additions and 0 deletions

View File

@ -65,6 +65,14 @@ interrupt(DACDMA_VECTOR) irq_dacdma(void)
LPM_AWAKE();
}
if (DMA2CTL & DMAIFG) {
DMA2CTL &= ~(DMAIFG | DMAIE);
if (subscribers[2] != NULL) {
process_post(subscribers[2], dma_event, NULL);
}
LPM_AWAKE();
}
if (DAC12_0CTL & DAC12IFG) {
DAC12_0CTL &= ~(DAC12IFG | DAC12IE);
}