Cantafford
Member
Hello,
I want to use MPLAB's X stimulus to simulate a timer1 interrupt.
I watched few tutorials but I didn't find something that explains what I want.
What I did was use the advanced pin/register and set a condition that when IFS0 register equals 0x04(which means T1IF bit = 1) but I do not know what to put under "Define triggers"(the circled area in the snapshot) so that to make my program go to the interrupt routine.
Also if you know where can I read about using the stimulus feature of the simulator for MPLAB X let me know. Thanks.
I want to use MPLAB's X stimulus to simulate a timer1 interrupt.
I watched few tutorials but I didn't find something that explains what I want.
What I did was use the advanced pin/register and set a condition that when IFS0 register equals 0x04(which means T1IF bit = 1) but I do not know what to put under "Define triggers"(the circled area in the snapshot) so that to make my program go to the interrupt routine.

Also if you know where can I read about using the stimulus feature of the simulator for MPLAB X let me know. Thanks.