Re: which rom400_task routines are safe to call from an isr
"Kris Ardis" <Kristopher.Ardis-6tN4nzCoH/[email protected]>
| Newsgroups | gmane.comp.hardware.microcontrollers.tini |
|---|---|
| Message-ID | <014f01c40521$2d5ff6e0$764000b4@kardis> |
Waking up tasks from an interrupt doesn't work too well. Instead, you can register a polling routine using the User IO Poll routine library. It is safe for the polling routines to call the task functions, so you can have your polling routine monitor for a wakeup signal. Kris ----- Original Message ----- From: "john bogus" <bogusemail98230-/[email protected]> To: <tini-6tN4nzCoH/[email protected]> Sent: Thursday, March 04, 2004 2:13 PM Subject: [TINI]which rom400_task routines are safe to call from an isr I have some C code and want to wake (or spawn) a task from an ISR. Because of the way interrupts work on 8051 processors I assume there are limits on what i can do with the rom400_task task scheduler rotuines from an ISR. - which rom400_task routines are safe to call from an isr? - are there any recommendations on how this should be done on the 80c400? __________________________________ Do you Yahoo!? Yahoo! Search - Find what you're looking for faster http://search.yahoo.com _______________________________________________ TINI mailing list TINI-6tN4nzCoH/[email protected] To UNSUBSCRIBE, edit your profile, or see list archives: http://lists.dalsemi.com/mailman/listinfo/tini _______________________________________________ TINI mailing list TINI-6tN4nzCoH/[email protected] To UNSUBSCRIBE, edit your profile, or see list archives: http://lists.dalsemi.com/mailman/listinfo/tini