From: Kalus M. <mic...@on...> - 2008-08-14 20:41:00
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Dave. maybe this thread is helpfull: http://groups.google.com/group/comp.lang.forth/browse_thread/thread/ 8045e6b5d1043043/8e1084d416820324?lnk=gst&q=ISR# (Search comp.lang.forth for "ISR" - find Elizabeth D. Rather, 26 Jan. 2005, 20:47; "multitasker question": provide multitasker to do interrupt service routines.) The essence is: "In the main multitasker loop, if it goes around fully once with no task active, it sets low power mode. This only takes one instruction, so it's done in the code of the multitasker loop itself, not in any task. The assumption is that an event will generate an interrupt which will wake up the device and then awaken the task responsible for the interrupting device." Michael -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin) iD8DBQFIpJhEJ3DLQCvSXtcRAnv7AJ0TKu0VH2AMVhKVA6XWyQGTMBr9CgCfclLK eTnOUL3qwXvGafxX6amnYBk= =gjCP -----END PGP SIGNATURE----- |