Subversion Repositories HomeAutomation

Rev

Details | Last modification | View Log | SVN | RSS feed

Rev Author Line No. Line
119 johboh 1
/*********************************************************************
2
 *
3
 *                  Stack specific like which modules to use.
4
 *
5
 *********************************************************************
6
 * FileName:        $HeadURL: http://svn.arune.se/svn/HomeAutomation/trunk/EmbeddedSoftware/PIC/canBase/Include/stackTasks.h $
7
 * Last changed:    $LastChangedDate: 2006-11-14 10:55:38 +0100 (ti, 14 nov 2006) $
8
 * By:              $LastChangedBy: johboh $
9
 * Revision:        $Revision: 86 $
10
 ********************************************************************/
11
 
12
#ifndef stackTasks_H
13
#define stackTasks_H
14
 
15
#define USE_CAN
16
 
17
#define TICKS_PER_SECOND               (100)        // 10ms
18
 
19
#if (TICKS_PER_SECOND < 10 || TICKS_PER_SECOND > 255)
20
#error Invalid TICKS_PER_SECONDS specified.
21
#endif
22
 
23
/*
24
 * Manually select prescale value to achieve necessary tick period
25
 * for a given clock frequency.
26
 */
27
#define TICK_PRESCALE_VALUE             (256)
28
 
29
 
30
 
31
#endif