Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 880315
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T12:04:39+00:00 2026-05-15T12:04:39+00:00

I find that in uC/OS-II RTOS, there is an idle task that gets executed

  • 0

I find that in uC/OS-II RTOS, there is an idle task that gets executed when no other task is ready to run. If an idle task can consume resources, how can we reduce it ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T12:04:40+00:00Added an answer on May 15, 2026 at 12:04 pm

    Usually the idle task is where the processor is put into low power (sleep) mode, if it’s a low-power system and the processor has such a mode. This is usually a specific assembly instruction, for example on the ARM Cortex M3 you’d execute the “WFI” instruction. On other chips, there might be a specific register outside the core that manages power (as opposed to an instruction).

    Note that there are often conditions (requirements that must be met) before entering low power mode. Sometimes you need to have interrupts locked, sometimes unlocked, before going to sleep; check your chip’s datasheet.

    Usually before entering low-power mode, you’ll power down any peripherals you don’t need. Again, check your chip’s datasheet. Also if you’re going to use an interrupt to wake back up, make sure that the peripheral isn’t powered down, and that the interrupt is enabled, otherwise, you won’t wake up.

    Last point: often when debugging (e.g. under control of a JTAG device), weird things happen when entering low power mode, so you want to disable “sleeping” in the idle task when debugging, and only do this when running without the debugger. Usually this is a compile-time decision (#ifdef …)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I can't seem to find that option. Surely it's in there?
Today I happens to find that one C# class can inherit one interface both
I was expecting to find that section within System.Web.Configuration namespace just like other Web.config
I find that there are two ways to set key in emacs: golbal-set-key and
I find that the password can only retrieved by method GetPassword() in asp.net2.0 Membership.
Just find that Console.WriteLine can handle null string correctly like Console.WriteLine((string)null) ; Can I
How to find that a user can login or not in MySQL without actually
Is there any way to find that how many threads are waiting on semaphore?
I find that getting Unicode support in my cross-platform apps a real pain in
I find that the .NET event model is such that I'll often be raising

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.