/*********************************************************************
*
* Stack specific
*
*********************************************************************
* FileName: $HeadURL: https://svn.auml.se/svn/HomeAutomation/trunk/EmbeddedSoftware/PIC/canToSerial/Include/stackTasks.h $
* Last changed: $LastChangedDate: 2006-11-14 21:22:17 +0100 (Tue, 14 Nov 2006) $
* By: $LastChangedBy: johboh $
* Revision: $Revision: 97 $
********************************************************************/
#ifndef stackTasks_H
#define stackTasks_H
#define USE_CAN
#define USE_UART
#define TICKS_PER_SECOND (100) // 10ms
#if (TICKS_PER_SECOND < 10 || TICKS_PER_SECOND > 255)
#error Invalid TICKS_PER_SECONDS specified.
#endif
/*
* Manually select prescale value to achieve necessary tick period
* for a given clock frequency.
*/
#define TICK_PRESCALE_VALUE (256)
#endif