Keil™, An ARM® Company

Technical Support

ARTX: DIFFERENCE ISR AND OS FUNCTIONS


Information in this article applies to:

  • ARTX-ARM All Versions
  • ARTX-166 All Versions

QUESTION

Why are there different naming conventions in the ARTX Kernel Function reference. What is the real difference between the functions isr_evt_set and os_evt_set?

ANSWER

The prefix indicates the usage of the functions:

  • Functions that begin with os_ may be called from a task but not from an interrupt service routine.
  • Functions that begin with isr_ may be called from an interrupt service routine but not from a task.

The difference is the way the task status is synchronized internally with the kernel.

MORE INFORMATION

  • Advanced RTX User's Guide

Last Reviewed: Monday, May 09, 2005


Did this article provide the answer you needed?
 
Yes
No
Not Sure