Keil Logo

Idle Task

When no task is ready to run, RTX51 Tiny executes an Idle Task. The Idle Task is simply an endless loop. For example:

SJMP $

Some 8051-compatible devices provide an idle mode that reduces power consumption by halting program execution until an interrupt occurs. In this mode, all peripherals include the interrupt system still continue operation.

RTX51 Tiny allows you to initiate idle mode in the Idle Task (when no other task is ready for execution). When the RTX51 Tiny Timer Tick Interrupt (or any other interrupt) occurs, the microcontroller resumes program execution. The code executed by the Idle Task may be enabled and configured in the CONF_TNY.A51 configuration file.

  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.