3  *  This file contains special DoxyGen information for the generation of the main page and other special
 
   4  *  documentation pages. It is not a project source file.
 
   7 /** \page Page_SchedulerOverview LUFA Scheduler Overview
 
   9  *  The LUFA library comes with a small, basic round-robbin scheduler which allows for small "tasks" to be executed
 
  10  *  continuously in sequence, and enabled/disabled at runtime. Unlike a conventional, complex RTOS scheduler, the
 
  11  *  LUFA scheduler is very simple in design and operation and is essentially a loop conditionally executing a series
 
  14  *  Each LUFA scheduler task should be written similar to an ISR; it should execute quickly (so that no one task
 
  15  *  hogs the processor, preventing another from running before some sort of timeout is exceeded). Unlike normal RTOS
 
  16  *  tasks, each LUFA scheduler task is a regular function, and thus must be designed to be called, and designed to
 
  17  *  return to the calling scheduler function repeatedly. Data which must be preserved between task calls should be
 
  18  *  declared as global or (preferably) as a static local variable inside the task.
 
  20  *  The scheduler consists of a task list, listing all the tasks which can be executed by the scheduler. Once started,
 
  21  *  each task is then called one after another, unless the task is stopped by another running task or interrupt.
 
  24  *  If desired, the LUFA scheduler <b>does not need to be used</b> in a LUFA powered application. A more conventional
 
  25  *  approach to application design can be used, or a proper scheduling RTOS inserted in the place of the LUFA scheduler.
 
  26  *  In the case of the former the USB task must be run manually repeatedly to maintain USB communications, and in the
 
  27  *  case of the latter a proper RTOS task must be set up to do the same.
 
  30  *  For more information on the LUFA scheduler, see the Scheduler.h file documentation.