- /* --------------------- MEMORY MANAGEMENT -------------------- */
- #define OS_MEM_EN 1 /* Enable (1) or Disable (0) code generation for MEMORY MANAGER */
- #define OS_MEM_QUERY_EN 1 /* Include code for OSMemQuery() */
- /* ---------------- MUTUAL EXCLUSION SEMAPHORES --------------- */
- #define OS_MUTEX_EN 1 /* Enable (1) or Disable (0) code generation for MUTEX */
- #define OS_MUTEX_ACCEPT_EN 1 /* Include code for OSMutexAccept() */
- #define OS_MUTEX_DEL_EN 1 /* Include code for OSMutexDel() */
- #define OS_MUTEX_QUERY_EN 1 /* Include code for OSMutexQuery() */
- /* ---------------------- MESSAGE QUEUES ---------------------- */
- #define OS_Q_EN 1 /* Enable (1) or Disable (0) code generation for QUEUES */
- #define OS_Q_ACCEPT_EN 1 /* Include code for OSQAccept() */
- #define OS_Q_DEL_EN 1 /* Include code for OSQDel() */
- #define OS_Q_FLUSH_EN 1 /* Include code for OSQFlush() */
- #define OS_Q_POST_EN 1 /* Include code for OSQPost() */
- #define OS_Q_POST_FRONT_EN 1 /* Include code for OSQPostFront() */
- #define OS_Q_POST_OPT_EN 1 /* Include code for OSQPostOpt() */
- #define OS_Q_QUERY_EN 1 /* Include code for OSQQuery() */
- /* ------------------------ SEMAPHORES ------------------------ */
- #define OS_SEM_EN 1 /* Enable (1) or Disable (0) code generation for SEMAPHORES */
- #define OS_SEM_ACCEPT_EN 1 /* Include code for OSSemAccept() */
- #define OS_SEM_DEL_EN 1 /* Include code for OSSemDel() */
- #define OS_SEM_QUERY_EN 1 /* Include code for OSSemQuery() */
- /* --------------------- TASK MANAGEMENT ---------------------- */
- #define OS_TASK_CHANGE_PRIO_EN 1 /* Include code for OSTaskChangePrio() */
- #define OS_TASK_CREATE_EN 1 /* Include code for OSTaskCreate() */
- #define OS_TASK_CREATE_EXT_EN 1 /* Include code for OSTaskCreateExt() */
- #define OS_TASK_DEL_EN 1 /* Include code for OSTaskDel() */
- #define OS_TASK_SUSPEND_EN 1 /* Include code for OSTaskSuspend() and OSTaskResume() */
- #define OS_TASK_QUERY_EN 1 /* Include code for OSTaskQuery() */
- /* --------------------- TIME MANAGEMENT ---------------------- */
- #define OS_TIME_DLY_HMSM_EN 1 /* Include code for OSTimeDlyHMSM() */
- #define OS_TIME_DLY_RESUME_EN 1 /* Include code for OSTimeDlyResume() */
- #define OS_TIME_GET_SET_EN 1 /* Include code for OSTimeGet() and OSTimeSet() */
- /* ---------------------- MISCELLANEOUS ----------------------- */
- #define OS_SCHED_LOCK_EN 1 /* Include code for OSSchedLock() and OSSchedUnlock() */
- #define OS_TICKS_PER_SEC 200 /* Set the number of ticks in one second */
- typedef INT16U OS_FLAGS; /* Date type for event flag bits (8, 16 or 32 bits) */
|