#ifndef OSPROP_H
#define OSPROP_H
/******************************************************************************
*
*       (C) Copyright 2006, Freescale Semiconductor, Inc. All Rights Reserved.
*
*       THIS SOURCE CODE IS CONFIDENTIAL AND PROPRIETARY AND MAY NOT
*       BE USED OR DISTRIBUTED WITHOUT THE WRITTEN PERMISSION OF
*       Freescale Semiconductor, Inc.
*
*       : 1.44 $ : kruv001 : 2006/02/10 09:51:26 : 2006/02/10 09:51:26 $
*
* Note: The implementation was used: OSEKturbo_OSMPC55xx_2_2_1_82
*       OSEK System generator Target Specific DLL - Version: 2.2.82
*
******************************************************************************/



    
                                                                                                                                                                                                                                             
    







/*  Target MCU  */
#define      OSMPC 
#ifndef     OSMPC5554
#define     OSMPC5554
#endif

/*  OS version  */

#define     OSVERSION22

/* Conformance Class */

#define   OSBCC1 
/* Scheduler Policy */

#define      OSMIXPREEMPT 


#define   OSNOFASTTERMINATE

#define     OSSCHMAXBITNUM      32

                           /* ISRs use resource mechanism */

#define  OSRES_SCHEDULER                         /* RESOURCE RES_SCHEDULER access */

#define  OSEXTSTATUS 
#define OSORTIDEBUGLEVEL    4                       /* may be 0, 1, 2, 4 */
#undef OSSTKCHECK   /* Run-time checking of stack overflow */
#define OSSTKCHECKPATTERN  0x55555555
#define OSSTKCHECKPATTERNSIZE  0

/* Hook routines */

     /* User-supplied OS hook for task switching monitoring is used (pre-task hook)  */
    /* User-supplied OS hook for task switching monitoring is used (post-task hook) */
     /* User-supplied OS hook for startup is used    */
    /* User-supplied OS hook for shutdown is used   */
        /* User-supplied OS hook for scheduler idle loop is used */

/* ISRs categories support */

#define  OSNOISR1                                /* ISR category 1 is absent */
                               /* ISR category 2 is absent */

/* Interrupt management */

#define     OSISRENTRYEXIT                      /* ISR entry/exit frames must be implemented */



                        /* Unordered Exceptions */




/* Communication mechanism */

 /* LOCALMESSAGESONLY */

/* Counters and Alarms mechanisms */

#define OSNHWCTRS 0
#define OSSYSTIMER
#define OSNSYSTMRS 1

/* Timer hardware type */
#define OSTIMFIT

    

#define OSTIMMODULO 38UL

#define OSSystemTimerLEVEL      1

#define OSTIMPRIO 1
#define OSFITP          (38 & 0x3)
#define OSFITPEXT       (38 >> 2) 

#define OSALMACTIVTASK                          /* Event notification is supported by an alarm */
                        /* Event notification is supported by an alarm */
                         /* Event notification is supported by an alarm */

/* Configuration constants */

                /* number of Application modes */
#define     OSNAPPMODES     1

#define OSNTSKS     4                              /* number of all tasks plus NULLTASK  */
#define OSNULLTASK  (OSNTSKS-1)         /* Priority/Identifier of NULLTASK      */
#define OSNPRIORS     4                              /* number of task priority plus NULLTASK    */

#define OSNXTSKS    0                           /* number of extended tasks                         */
                                               /* included into number of all tasks                */
                                               /* must be 0 for BCC                                */


/* Floating point support */


#define OSNISRRESS     0                        /* number of ISR resources     */
#define OSNRESS         1      /* number of resources     */

#define OSRESOURCE


#define OSNCTRS     1                           /* number of counters  */

#define OSCOUNTER

#define OSNALMS     2                           /* number of alarms */

#define OSALARM


#define OSNMSGS     0                           /* number of messages */
#if defined (LOCALMESSAGESONLY)

#define OSNFLAGS    0                           

#define OSNQUEMSGS  0                           

#define OSNRCVMSGS  0                           
#define OSNSNDMSGS  0                           


#endif  /* LOCALMESSAGESONLY */


#if     !defined(OSNOCANCELALARM)
#define OSNDUMMYALMS    OSNCTRS    
#else /*!defined(OSNOCANCELALARM) */
#define OSNDUMMYALMS    0
#endif /*!defined(OSNOCANCELALARM) */

#define OSISRDISPATCH

#define     OSNISR  (1)



#define     OSHIGHISRPRIO   3
#define     OSMAXISRLEVEL   15


#define OSISRLEVELNUM       1




/* critical interrupts*/


#endif  /* ifndef OSPROP_H  */
