Subversion Repositories HomeAutomation

Rev

Rev 342 | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 342 Rev 353
1
/*********************************************************************
1
/*********************************************************************
2
 *
2
 *
3
 *                  Stack specific like which modules to use.
3
 *                  Stack specific like which modules to use.
4
 *
4
 *
5
 *********************************************************************
5
 *********************************************************************
6
 * FileName:        $HeadURL: https://svn.auml.se/svn/HomeAutomation/trunk/EmbeddedSoftware/PIC/canTemp/Include/stackTasks.h $
6
 * FileName:        $HeadURL: https://svn.auml.se/svn/HomeAutomation/trunk/EmbeddedSoftware/PIC/canTemp/Include/stackTasks.h $
7
 * Last changed:    $LastChangedDate: 2007-02-26 21:38:37 +0100 (Mon, 26 Feb 2007) $
7
 * Last changed:    $LastChangedDate: 2007-03-03 19:07:14 +0100 (Sat, 03 Mar 2007) $
8
 * By:              $LastChangedBy: johboh $
8
 * By:              $LastChangedBy: johboh $
9
 * Revision:        $Revision: 342 $
9
 * Revision:        $Revision: 353 $
10
 ********************************************************************/
10
 ********************************************************************/
11
 
11
 
12
#ifndef stackTasks_H
12
#ifndef stackTasks_H
13
#define stackTasks_H
13
#define stackTasks_H
14
 
14
 
15
#define USE_ADC
15
#define USE_ADC
16
#define USE_BLINDS
16
#define USE_BLINDS
17
 
-
 
18
#define TICKS_PER_SECOND               (100)        // 10ms
-
 
19
 
-
 
20
#if (TICKS_PER_SECOND < 10 || TICKS_PER_SECOND > 255)
-
 
21
#error Invalid TICKS_PER_SECONDS specified.
-
 
22
#endif
-
 
23
 
-
 
24
/*
-
 
25
 * Manually select prescale value to achieve necessary tick period
-
 
26
 * for a given clock frequency.
-
 
27
 */
-
 
28
#define TICK_PRESCALE_VALUE             (256)
-
 
29
 
-
 
30
 
17
 
31
 
18
 
32
#endif
19
#endif
33
 
20