R_RTOS  0.1
DistributedRealTimeOperatingSystemfortheARMCortexMArchitecture
R_RTOS_UsrDefs.h File Reference

User Defines for controlling the system. More...

#include <stdint.h>

Go to the source code of this file.

Macros

#define TIME_SLICE_AMOUNT   ((uint16_t)500u)
 Period of time between two SysTicks in ms. More...
 
#define NR_OF_TSKS   ((uint8_t)0x4u)
 Number of tasks in the system. More...
 
#define TSK_PRIO_LEVELS_NR   ((uint8_t)0xFu)
 Number of available priority levels in the system. More...
 
#define AMOUNT_OF_MSGQ   ((uint8_t)0x2u)
 Number of message queues in the system. More...
 
#define MAX_QUEUE_DATA_ELEMENT_SIZE   ((uint8_t)0x10u)
 Defines the amount of data one queue can hold. More...
 
#define AMOUNT_OF_SEMS   ((uint8_t)0x2u)
 Defines the maximum amount of different semaphores in the system. More...
 
#define MEM_OBJECTS_SEM   ((uint8_t)0x4u)
 Number of SyncEle that will be allocated by the Semaphore mechanism in its memory pool. More...
 
#define MEM_OBJECTS_MTX   (uint8_t)0x4u
 Number of SyncEle that will be allocated by the Mutex mechanism in its memory pool. More...
 
#define AMOUNT_OF_MTXS   (uint8_t)0x2u
 Number of Mutexes in the system. More...
 
#define MEM_OBJECTS_MNTR   ((uint8_t)0x4u)
 Number of SyncEle that will be allocated by the Monitor mechanism in its memory pool. More...
 
#define NR_OF_MNTRS   ((uint8_t)0x2u)
 Number of Mutexes in the system. More...
 
#define AMOUNT_OF_EVTS   ((uint8_t)0x4u)
 Defines the maximum amount of different events in the system. More...
 
#define EVT_QUEUE_SIZE   ((uint8_t)0x4u)
 Defines the maximum size of the event queues. More...
 
#define MEM_OBJECTS_EVT   ((uint8_t)0x4u)
 Number of SyncEle that will be allocated by the Event mechanism in its memory pool. More...
 
#define SYSTCK_AR_RES   (uint8_t)0x8u
 Number of slots for the system tick slot array. More...
 
#define SYSTCK_AR_RES_MSK   (uint8_t)(SYSTCK_AR_RES - (uint8_t)0x1u)
 Mask used to keep a counter within the range of SYSTCK_AR_RES. More...
 
#define MEM_OBJECTS_SysTckTMR   ((uint8_t)0x4u)
 Number of SyncEle that will be allocated by the Timer mechanism in its memory pool. More...
 
#define MEM_OBJECTS_TMR   ((uint8_t)0x4u)
 Number of SyncEle that will be allocated by the Timer mechanism in its memory pool. More...
 

Detailed Description

User Defines for controlling the system.

Author
Christian Neuberger (Neube.nosp@m.rger.nosp@m.Ch503.nosp@m.44@t.nosp@m.h-nue.nosp@m.rnbe.nosp@m.rg.de)
Date
08.07.2016