Uso de RTOS
Macros | Typedefs
OS_CFG.H File Reference

Pagina de Configuracion del Proyecto RTOS. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define OS_MAX_EVENTS   10L
 
#define OS_MAX_FLAGS   2L
 
#define OS_MAX_MEM_PART   1L
 
#define OS_MAX_QS   2L
 
#define OS_MAX_TASKS   8L
 
#define OS_LOWEST_PRIO   15L
 
#define OS_TASK_IDLE_STK_SIZE   100L
 
#define OS_TASK_STAT_EN   0
 
#define OS_TASK_STAT_STK_SIZE   100L
 
#define OS_ARG_CHK_EN   1
 
#define OS_CPU_HOOKS_EN   1
 
#define OS_FLAG_EN   0
 
#define OS_FLAG_WAIT_CLR_EN   1
 
#define OS_FLAG_ACCEPT_EN   1
 
#define OS_FLAG_DEL_EN   1
 
#define OS_FLAG_QUERY_EN   1
 
#define OS_MBOX_EN   1
 
#define OS_MBOX_ACCEPT_EN   1
 
#define OS_MBOX_DEL_EN   1
 
#define OS_MBOX_POST_EN   1
 
#define OS_MBOX_POST_OPT_EN   1
 
#define OS_MBOX_QUERY_EN   1
 
#define OS_MEM_EN   0
 
#define OS_MEM_QUERY_EN   1
 
#define OS_MUTEX_EN   0
 
#define OS_MUTEX_ACCEPT_EN   1
 
#define OS_MUTEX_DEL_EN   1
 
#define OS_MUTEX_QUERY_EN   1
 
#define OS_Q_EN   0
 
#define OS_Q_ACCEPT_EN   1
 
#define OS_Q_DEL_EN   1
 
#define OS_Q_FLUSH_EN   1
 
#define OS_Q_POST_EN   1
 
#define OS_Q_POST_FRONT_EN   1
 
#define OS_Q_POST_OPT_EN   1
 
#define OS_Q_QUERY_EN   1
 
#define OS_SEM_EN   1
 
#define OS_SEM_ACCEPT_EN   1
 
#define OS_SEM_DEL_EN   1
 
#define OS_SEM_QUERY_EN   1
 
#define OS_TASK_CHANGE_PRIO_EN   0
 
#define OS_TASK_CREATE_EN   1
 
#define OS_TASK_CREATE_EXT_EN   0
 
#define OS_TASK_DEL_EN   0
 
#define OS_TASK_SUSPEND_EN   1
 
#define OS_TASK_QUERY_EN   0
 
#define OS_TIME_DLY_HMSM_EN   1
 
#define OS_TIME_DLY_RESUME_EN   1
 
#define OS_TIME_GET_SET_EN   1
 
#define OS_SCHED_LOCK_EN   1
 
#define OS_TICKS_PER_SEC   100L
 

Typedefs

typedef INT16U OS_FLAGS
 

Detailed Description

Pagina de Configuracion del Proyecto RTOS.

Author
Nathan Brown
Version
V1.00

Macro Definition Documentation

◆ OS_ARG_CHK_EN

#define OS_ARG_CHK_EN   1

Enable (1) or Disable (0) argument checking

◆ OS_CPU_HOOKS_EN

#define OS_CPU_HOOKS_EN   1

uC/OS-II hooks are found in the processor port files

◆ OS_FLAG_ACCEPT_EN

#define OS_FLAG_ACCEPT_EN   1

Include code for OSFlagAccept()

◆ OS_FLAG_DEL_EN

#define OS_FLAG_DEL_EN   1

Include code for OSFlagDel()

◆ OS_FLAG_EN

#define OS_FLAG_EN   0

Enable (1) or Disable (0) code generation for EVENT FLAGS

◆ OS_FLAG_QUERY_EN

#define OS_FLAG_QUERY_EN   1

Include code for OSFlagQuery()

◆ OS_FLAG_WAIT_CLR_EN

#define OS_FLAG_WAIT_CLR_EN   1

Include code for Wait on Clear EVENT FLAGS

◆ OS_LOWEST_PRIO

#define OS_LOWEST_PRIO   15L

Defines the lowest priority that can be assigned ...

◆ OS_MAX_EVENTS

#define OS_MAX_EVENTS   10L

Max. number of event control blocks in your application ...
... MUST be > 0

◆ OS_MAX_FLAGS

#define OS_MAX_FLAGS   2L

Max. number of Event Flag Groups in your application ... ... MUST be > 0

◆ OS_MAX_MEM_PART

#define OS_MAX_MEM_PART   1L

Max. number of memory partitions ...
... MUST be > 0

◆ OS_MAX_QS

#define OS_MAX_QS   2L

Max. number of queue control blocks in your application ... ... MUST be > 0

◆ OS_MAX_TASKS

#define OS_MAX_TASKS   8L

Max. number of tasks in your application ...

◆ OS_MBOX_ACCEPT_EN

#define OS_MBOX_ACCEPT_EN   1

Include code for OSMboxAccept()

◆ OS_MBOX_DEL_EN

#define OS_MBOX_DEL_EN   1

Include code for OSMboxDel()

◆ OS_MBOX_EN

#define OS_MBOX_EN   1

Enable (1) or Disable (0) code generation for MAILBOXES

◆ OS_MBOX_POST_EN

#define OS_MBOX_POST_EN   1

Include code for OSMboxPost()

◆ OS_MBOX_POST_OPT_EN

#define OS_MBOX_POST_OPT_EN   1

Include code for OSMboxPostOpt()

◆ OS_MBOX_QUERY_EN

#define OS_MBOX_QUERY_EN   1

Include code for OSMboxQuery()

◆ OS_MEM_EN

#define OS_MEM_EN   0

Enable (1) or Disable (0) code generation for MEMORY MANAGER

◆ OS_MEM_QUERY_EN

#define OS_MEM_QUERY_EN   1

Include code for OSMemQuery()

◆ OS_MUTEX_ACCEPT_EN

#define OS_MUTEX_ACCEPT_EN   1

Include code for OSMutexAccept()

◆ OS_MUTEX_DEL_EN

#define OS_MUTEX_DEL_EN   1

Include code for OSMutexDel()

◆ OS_MUTEX_EN

#define OS_MUTEX_EN   0

Enable (1) or Disable (0) code generation for MUTEX

◆ OS_MUTEX_QUERY_EN

#define OS_MUTEX_QUERY_EN   1

Include code for OSMutexQuery()

◆ OS_Q_ACCEPT_EN

#define OS_Q_ACCEPT_EN   1

Include code for OSQAccept()

◆ OS_Q_DEL_EN

#define OS_Q_DEL_EN   1

Include code for OSQDel()

◆ OS_Q_EN

#define OS_Q_EN   0

Enable (1) or Disable (0) code generation for QUEUES

◆ OS_Q_FLUSH_EN

#define OS_Q_FLUSH_EN   1

Include code for OSQFlush()

◆ OS_Q_POST_EN

#define OS_Q_POST_EN   1

Include code for OSQPost()

◆ OS_Q_POST_FRONT_EN

#define OS_Q_POST_FRONT_EN   1

Include code for OSQPostFront()

◆ OS_Q_POST_OPT_EN

#define OS_Q_POST_OPT_EN   1

Include code for OSQPostOpt()

◆ OS_Q_QUERY_EN

#define OS_Q_QUERY_EN   1

Include code for OSQQuery()

◆ OS_SCHED_LOCK_EN

#define OS_SCHED_LOCK_EN   1

Include code for OSSchedLock() and OSSchedUnlock()

◆ OS_SEM_ACCEPT_EN

#define OS_SEM_ACCEPT_EN   1

Include code for OSSemAccept()

◆ OS_SEM_DEL_EN

#define OS_SEM_DEL_EN   1

Include code for OSSemDel()

◆ OS_SEM_EN

#define OS_SEM_EN   1

Enable (1) or Disable (0) code generation for SEMAPHORES

◆ OS_SEM_QUERY_EN

#define OS_SEM_QUERY_EN   1

Include code for OSSemQuery()

◆ OS_TASK_CHANGE_PRIO_EN

#define OS_TASK_CHANGE_PRIO_EN   0

Include code for OSTaskChangePrio()

◆ OS_TASK_CREATE_EN

#define OS_TASK_CREATE_EN   1

Include code for OSTaskCreate()

◆ OS_TASK_CREATE_EXT_EN

#define OS_TASK_CREATE_EXT_EN   0

Include code for OSTaskCreateExt()

◆ OS_TASK_DEL_EN

#define OS_TASK_DEL_EN   0

Include code for OSTaskDel()

◆ OS_TASK_IDLE_STK_SIZE

#define OS_TASK_IDLE_STK_SIZE   100L

Idle task stack size (# of OS_STK wide entries)

◆ OS_TASK_QUERY_EN

#define OS_TASK_QUERY_EN   0

Include code for OSTaskQuery()

◆ OS_TASK_STAT_EN

#define OS_TASK_STAT_EN   0

Enable (1) or Disable(0) the statistics task

◆ OS_TASK_STAT_STK_SIZE

#define OS_TASK_STAT_STK_SIZE   100L

Statistics task stack size (# of OS_STK wide entries)

◆ OS_TASK_SUSPEND_EN

#define OS_TASK_SUSPEND_EN   1

Include code for OSTaskSuspend() and OSTaskResume()

◆ OS_TICKS_PER_SEC

#define OS_TICKS_PER_SEC   100L

Set the number of ticks in one second

◆ OS_TIME_DLY_HMSM_EN

#define OS_TIME_DLY_HMSM_EN   1

Include code for OSTimeDlyHMSM()

◆ OS_TIME_DLY_RESUME_EN

#define OS_TIME_DLY_RESUME_EN   1

Include code for OSTimeDlyResume()

◆ OS_TIME_GET_SET_EN

#define OS_TIME_GET_SET_EN   1

Include code for OSTimeGet() and OSTimeSet()

Typedef Documentation

◆ OS_FLAGS

typedef INT16U OS_FLAGS

Date type for event flag bits (8, 16 or 32 bits)