This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

problem LPC2148 VIC IRQ request

TIMER0 Match 0 - 3 (MR0, MR1, MR2, MR3) 4 0x0000 0010 Capture 0 - 3 (CR0, CR1, CR2, CR3)

sir i am also confused. i just want to ask that when we use above code then according to manual slot 1 assign to TIMER 0 . HOW ????????

for example according to second line (Connection of interrupt sources to the Vectored Interrupt Controller (VIC)) VIC CHANNEL # IS 4 AND HEX MASK IS 0X00000010
HOW WE GET THESE TWO VALUES FROM SINGLE CODE VICVectCntl1 = 0x20 | 4;???????????