/* $Header: c:/cvsroot/bart/rt_ext.h,v 1.4 2004/03/09 00:45:19 mjames Exp $ */
/*
* $Log: rt_ext.h,v $
* Revision 1.4 2004/03/09 00:45:19 mjames
* Corrected mistakes, made task numbers visible
*
* Revision 1.3 2004/03/06 12:17:48 mjames
* Moved headers around, made it clearer that there are no configurable
* parts to the OS unless it is rebuilt
*
* Revision 1.2 2004/03/04 21:52:58 mjames
* Made the files work with a demo project
*
* Revision 1.1.1.1 2004/03/03 22:54:33 mjames
* no message
*
*/
/*****************************************************************************/
/* Global signal assignments */
/* this signal same for all tasks, others may have different patterns */
/* common signals */
#define TIMER_SIG 0x80
#define SERIAL_SIG 0x40
/* some macros used when this was tested on the PC */
typedef unsigned char Byte;
typedef bit Bool;
typedef idata char STACK_TYPE ;
typedef idata char * idata STACK_PTR_TYPE;
typedef idata char SIGNAL_TYPE ;
typedef idata char TIMER_TYPE ;
typedef data char TASKID_TYPE;
enum { FALSE=0,TRUE=1};
/* this list of task numbers is used to set up BART */
#define TASK_HIGH 3 /**< Highest priority task */
#define SIO1_TASK 2 /**< Task recieving signals from SIO1 is task 2 */
#define SIO2_TASK 1 /**< Task recieving signals from SIO2 is task 1 */
#define TASK_LOW 0 /**< Lowest priority task */
/** The task number that the main() function will inherit when
tasks_init() is called */
#define MAIN_TASK_ID TASK_LOW
#include "rt_serial.h"
#include "rt_task.h"