Rev 260 | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 260 | 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/canIR/Include/stackTasks.h $ |
6 | * FileName: $HeadURL: https://svn.auml.se/svn/HomeAutomation/trunk/EmbeddedSoftware/PIC/canIR/Include/stackTasks.h $ |
| 7 | * Last changed: $LastChangedDate: 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: |
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_IREC |
15 | #define USE_IREC |
| 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 | 16 | ||
| 31 | #endif |
17 | #endif |
| 32 | 18 | ||