Subversion Repositories HomeAutomation

Rev

Rev 260 | Blame | Compare with Previous | Last modification | View Log | SVN | RSS feed

  1. /*********************************************************************
  2.  *
  3.  *                  Stack specific like which modules to use.
  4.  *
  5.  *********************************************************************
  6.  * FileName:        $HeadURL: https://svn.auml.se/svn/HomeAutomation/branches/atomV2/EmbeddedSoftware/PIC/canIRtrans/Include/stackTasks.h $
  7.  * Last changed:    $LastChangedDate: 2007-01-28 14:58:11 +0100 (Sun, 28 Jan 2007) $
  8.  * By:              $LastChangedBy: johboh $
  9.  * Revision:        $Revision: 260 $
  10.  ********************************************************************/
  11.  
  12. #ifndef stackTasks_H
  13. #define stackTasks_H
  14.  
  15. #define TICKS_PER_SECOND               (100)        // 10ms
  16.  
  17. #if (TICKS_PER_SECOND < 10 || TICKS_PER_SECOND > 255)
  18. #error Invalid TICKS_PER_SECONDS specified.
  19. #endif
  20.  
  21. /*
  22.  * Manually select prescale value to achieve necessary tick period
  23.  * for a given clock frequency.
  24.  */
  25. #define TICK_PRESCALE_VALUE             (256)
  26.  
  27.  
  28.  
  29. #endif
  30.