We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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;???????????
"AND HEX MASK IS 0X00000010" What hex mask?
The user manual clearly describes that the low 5 bits of VicVectCntlXX selects what peripherial that should be mapped to that slot.
And that you enable the slot by setting the bit 0x20.
The manual also clearly describes that Timer0 have the value 4.
So an assign of 0x24 will enable a specific Vic slot for Timer0. You then select which Vic slot to use depending on what priority you want to give to Timer0.
By the way - what does ?????????????????? mean? Isn't it enough with a single? Ever seen a school book containing ten question marks in a row?