bikashh
Full Member level 5
- Joined
- Nov 28, 2009
- Messages
- 264
- Helped
- 3
- Reputation
- 6
- Reaction score
- 3
- Trophy points
- 1,298
- Location
- india
- Activity points
- 3,132
Dear friends,
thanks for the reply friends,I've solved the problem but still have a small problem with it
->if i enable the RTC interrupt under main() the program works perfectly but when i write it separately under RTCinit() the code after VICIntEnable doesn't work that means rest of the program under mains doesn't execute.
VICVectAddr13 = (unsigned long)RTC_isr;/*Set Interrupt Vector*/
VICVectCntl13 = 15;
VICIntEnable |=(1<<13);
also in the above VICVectCntl13 the actual value to be loaded is 0x2D but doesn't work while it works correctly if i put 15;
please reply
thanks for the reply friends,I've solved the problem but still have a small problem with it
->if i enable the RTC interrupt under main() the program works perfectly but when i write it separately under RTCinit() the code after VICIntEnable doesn't work that means rest of the program under mains doesn't execute.
VICVectAddr13 = (unsigned long)RTC_isr;/*Set Interrupt Vector*/
VICVectCntl13 = 15;
VICIntEnable |=(1<<13);
also in the above VICVectCntl13 the actual value to be loaded is 0x2D but doesn't work while it works correctly if i put 15;
please reply