I am working on the TPMS solution MPXY8300. As a base code, I am referring to the evaluation kit code provided along with the kit. My query concerns the RTI and the periodic wake up timer.
The time base for the application is set using the PWU (Periodic wake Up timer). the inttrupt service routine for the PWU contains the following code
void interrupt USER_4_INTERRUPT(void)
PWUSC0_WUFACK = SET;
PWUSC1_PRFACK = SET;
unsigned char i;
My question is regarding the " _asm rti; " statemtn in the funtions Periosdic_Wake_UP_MEasures.
1. What does "_asm rti" do exactly?
2. When we are not using the RTI for the time base of the application and not setting the RTI control registers, what significance does the asm call imply?
Please help me understand the working and differences and dependencies if any of RTI and PWU.