imx233/fuze+: fix typo and add dac dma/error interrupts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30792 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
359826aa94
commit
0b3347e47f
2 changed files with 7 additions and 1 deletions
|
@ -66,6 +66,8 @@ default_interrupt(INT_LRADC_CH4);
|
|||
default_interrupt(INT_LRADC_CH5);
|
||||
default_interrupt(INT_LRADC_CH6);
|
||||
default_interrupt(INT_LRADC_CH7);
|
||||
default_interrupt(INT_DAC_DMA);
|
||||
default_interrupt(INT_DAC_ERROR);
|
||||
|
||||
typedef void (*isr_t)(void);
|
||||
|
||||
|
@ -96,6 +98,8 @@ static isr_t isr_table[INT_SRC_NR_SOURCES] =
|
|||
[INT_SRC_LRADC_CHx(5)] = INT_LRADC_CH5,
|
||||
[INT_SRC_LRADC_CHx(6)] = INT_LRADC_CH6,
|
||||
[INT_SRC_LRADC_CHx(7)] = INT_LRADC_CH7,
|
||||
[INT_SRC_DAC_DMA] = INT_DAC_DMA,
|
||||
[INT_SRC_DAC_ERROR] = INT_DAC_ERROR,
|
||||
};
|
||||
|
||||
static void UIRQ(void)
|
||||
|
@ -108,7 +112,7 @@ void irq_handler(void)
|
|||
{
|
||||
HW_ICOLL_VECTOR = HW_ICOLL_VECTOR; /* notify icoll that we entered ISR */
|
||||
(*(isr_t *)HW_ICOLL_VECTOR)();
|
||||
/* acknowledge completion of IRQ (all use the same priority 0 */
|
||||
/* acknowledge completion of IRQ (all use the same priority 0) */
|
||||
HW_ICOLL_LEVELACK = HW_ICOLL_LEVELACK__LEVEL0;
|
||||
}
|
||||
|
||||
|
|
|
@ -63,6 +63,8 @@
|
|||
|
||||
#define INT_SRC_SSP2_ERROR 2
|
||||
#define INT_SRC_VDD5V 3
|
||||
#define INT_SRC_DAC_DMA 5
|
||||
#define INT_SRC_DAC_ERROR 6
|
||||
#define INT_SRC_USB_CTRL 11
|
||||
#define INT_SRC_SSP1_DMA 14
|
||||
#define INT_SRC_SSP1_ERROR 15
|
||||
|
|
Loading…
Reference in a new issue