Hi,
As there are only four priorities.
I have set priority as follows,
for External interrupt at PORTA : NVIC_IPR7 |= 0x0000000
for LPTMR0 : NVIC_IPR7 |= 0x0000040
for ADC0 : NVIC_IPR3 |= 0x80000000
for PIT0 : NVIC_IPR5 |= 0x00C00000
for TPM1 :NVIC_IPR4 |= 0x00C00000
for TPM0 :NVIC_IPR4 |= 0x0000C000
I am assuming as follows,
External interrupt will have highest priority,
then LPTMR0, then ADC0, and finally remaining interrupts(PIT0, TPM1, YPM0) will have same and lowest priority.
means if ADC0 interrupt is in progress and LPTMR0 interrupt will occur, then ADC0 will become pending and LPTMR0 will become active
and after LPTMR0 interrupt get processed ADC0 interrupt will again come into picture.
Is my assumption is correct?
please let me know ASAP.