Rev 129 | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 129 | Rev 140 | ||
|---|---|---|---|
| 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/canLCD/Include/stackTasks.h $ |
6 | * FileName: $HeadURL: https://svn.auml.se/svn/HomeAutomation/trunk/EmbeddedSoftware/PIC/canLCD/Include/stackTasks.h $ |
| 7 | * Last changed: $LastChangedDate: 2006-11- |
7 | * Last changed: $LastChangedDate: 2006-11-21 10:28:39 +0100 (Tue, 21 Nov 2006) $ |
| 8 | * By: $LastChangedBy: johboh $ |
8 | * By: $LastChangedBy: johboh $ |
| 9 | * Revision: $Revision: |
9 | * Revision: $Revision: 140 $ |
| 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_CAN |
15 | #define USE_CAN |
| - | 16 | #define USE_LCD |
|
| 16 | 17 | ||
| 17 | #define TICKS_PER_SECOND (100) // 10ms |
18 | #define TICKS_PER_SECOND (100) // 10ms |
| 18 | 19 | ||
| 19 | #if (TICKS_PER_SECOND < 10 || TICKS_PER_SECOND > 255) |
20 | #if (TICKS_PER_SECOND < 10 || TICKS_PER_SECOND > 255) |
| 20 | #error Invalid TICKS_PER_SECONDS specified. |
21 | #error Invalid TICKS_PER_SECONDS specified. |
| 21 | #endif |
22 | #endif |
| 22 | 23 | ||
| 23 | /* |
24 | /* |
| 24 | * Manually select prescale value to achieve necessary tick period |
25 | * Manually select prescale value to achieve necessary tick period |
| 25 | * for a given clock frequency. |
26 | * for a given clock frequency. |
| 26 | */ |
27 | */ |
| 27 | #define TICK_PRESCALE_VALUE (256) |
28 | #define TICK_PRESCALE_VALUE (256) |
| 28 | 29 | ||
| 29 | 30 | ||
| 30 | 31 | ||
| 31 | #endif |
32 | #endif |
| 32 | 33 | ||