11.07.2015 Views

IAR PowerPac RTOS User Guide

IAR PowerPac RTOS User Guide

IAR PowerPac RTOS User Guide

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

FAQ (frequently asked questions)Q: Can I implement different priority scheduling algorithms ?A: Yes, the system is fully dynamic, which means that task priorities can be changed while the system is running(using OS_SetPriority()). This feature can be used for changing priorities in a way so that basicallyevery desired algorithm can be implemented. One way would be to have a task control task with apriority higher than that of all other tasks that dynamically changes priorities. Normally, the priority-controlledround-robin algorithm is perfect for real-time applications.Q: Can I use a different interrupt source for <strong>IAR</strong> <strong>PowerPac</strong> <strong>RTOS</strong>?A: Yes, any periodical signal can be used, that is any internal timer, but it could also be an external signal.Q: What interrupt priorities can I use for the interrupts my program uses?A: Any.PP<strong>RTOS</strong>-2 141

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!