AnsweredAssumed Answered

Help needed. About HCS08 interrupts

Question asked by YANG TIANXI on Nov 5, 2010
Latest reply on Nov 9, 2010 by YANG TIANXI

there are 32 interrupts in HCS08 family, and HCS08 MCUs do not support nesting interrupts.  Can I use more than 1 interrutps? in my application, 2 ISRs ared need as following

 

void interrupt 30 ACMP_ISR(void)  /* low priority */

{

 /* code here */

}

 

void interrutp 25 RTC_ISR(void)  /* high priority */

{

   /* code here */

}

 

if RTC_ISR() is being executed, at the same time,  ACMP interrupt  is generated,  when program exits from RTC_ISR() , the ACMP_ISR()  is lost or not? since the priority of RTC interrupt is high than ACMP interrupt.

Outcomes