I am working with FEZ Cobra for low power mode using Hibernate. The written code is as under.
InterruptPort LDR = new InterruptPort((Cpu.Pin)23, true, Port.ResistorMode.PullUp, Port.InterruptMode.InterruptEdgeLow); RealTimeClock.SetTime(new DateTime(2010, 1, 1, 1, 1, 1)); RealTimeClock.SetAlarm(RealTimeClock.GetTime().AddSeconds(30)); Power.Hibernate(Power.WakeUpInterrupt.RTCAlarm | Power.WakeUpInterrupt.InterruptInputs);
After executing the code, it is successfully weak up from RTCAlarm interrupt and from Interrupt Inputs.
My question is, after weak-up, how to get that the weak-up is from RTCAlarm Interrupt or from interrupt Inputs?