> I meant that if derectly set the pin in the beginning of each ISR,that would
> cause a problem : if an interrupt happened when the MCU is just active,
> and the pin would be set ,but it was really not a wake up situation.

Assuming that
- Initially, you set the pin.
- You clear the pin when the MCU goes to sleep.
- You set the pin in the beginning of each ISR.

Regarding your question: if an interrupt happened when the MCU is
active, you will observe no change on the pin. It will stay on.

Janos
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to