UCOS_TI_LM3S_Keil
 全部 结构体 文件 函数 变量 类型定义 宏定义 
app_cfg.h 文件参考
#include <cpu.h>
#include <lib_def.h>
app_cfg.h 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

宏定义

#define APP_TASK_START_PRIO   3
 
#define APP_TASK_USER_IF_PRIO   4
 
#define APP_TASK_KBD_PRIO   5
 
#define APP_TASK_START_STK_SIZE   256
 
#define APP_TASK_USER_IF_STK_SIZE   256
 
#define APP_TASK_KBD_STK_SIZE   256
 
#define LIB_STR_CFG_FP_EN   DEF_DISABLED
 
#define LIB_MEM_CFG_ARG_CHK_EXT_EN   DEF_ENABLED
 
#define LIB_MEM_CFG_OPTIMIZE_ASM_EN   DEF_ENABLED
 
#define LIB_MEM_CFG_ALLOC_EN   DEF_ENABLED
 
#define LIB_MEM_CFG_HEAP_SIZE   800u
 
#define TRACE_LEVEL_OFF   0
 
#define TRACE_LEVEL_INFO   1
 
#define TRACE_LEVEL_DBG   2
 
#define APP_TRACE_LEVEL   TRACE_LEVEL_OFF
 
#define APP_TRACE   BSP_Print
 
#define APP_TRACE_INFO(x)   ((APP_TRACE_LEVEL >= TRACE_LEVEL_INFO) ? (void)(APP_TRACE x) : (void)0)
 
#define APP_TRACE_DBG(x)   ((APP_TRACE_LEVEL >= TRACE_LEVEL_DBG) ? (void)(APP_TRACE x) : (void)0)
 

函数

int BSP_Print (const char *fmt,...)
 

宏定义说明

#define APP_TASK_START_PRIO   3

在文件 app_cfg.h59 行定义.

参考自 main().

#define APP_TASK_USER_IF_PRIO   4

在文件 app_cfg.h60 行定义.

参考自 App_TaskCreate().

#define APP_TASK_KBD_PRIO   5

在文件 app_cfg.h61 行定义.

参考自 App_TaskCreate().

#define APP_TASK_START_STK_SIZE   256

在文件 app_cfg.h72 行定义.

参考自 main().

#define APP_TASK_USER_IF_STK_SIZE   256

在文件 app_cfg.h73 行定义.

参考自 App_TaskCreate().

#define APP_TASK_KBD_STK_SIZE   256

在文件 app_cfg.h74 行定义.

参考自 App_TaskCreate().

#define LIB_STR_CFG_FP_EN   DEF_DISABLED

在文件 app_cfg.h82 行定义.

#define LIB_MEM_CFG_ARG_CHK_EXT_EN   DEF_ENABLED

在文件 app_cfg.h84 行定义.

#define LIB_MEM_CFG_OPTIMIZE_ASM_EN   DEF_ENABLED

在文件 app_cfg.h85 行定义.

#define LIB_MEM_CFG_ALLOC_EN   DEF_ENABLED

在文件 app_cfg.h86 行定义.

#define LIB_MEM_CFG_HEAP_SIZE   800u

在文件 app_cfg.h87 行定义.

参考自 Mem_Init().

#define TRACE_LEVEL_OFF   0

在文件 app_cfg.h96 行定义.

#define TRACE_LEVEL_INFO   1

在文件 app_cfg.h97 行定义.

#define TRACE_LEVEL_DBG   2

在文件 app_cfg.h98 行定义.

#define APP_TRACE_LEVEL   TRACE_LEVEL_OFF

在文件 app_cfg.h100 行定义.

#define APP_TRACE   BSP_Print

在文件 app_cfg.h101 行定义.

#define APP_TRACE_INFO (   x)    ((APP_TRACE_LEVEL >= TRACE_LEVEL_INFO) ? (void)(APP_TRACE x) : (void)0)

在文件 app_cfg.h103 行定义.

#define APP_TRACE_DBG (   x)    ((APP_TRACE_LEVEL >= TRACE_LEVEL_DBG) ? (void)(APP_TRACE x) : (void)0)

在文件 app_cfg.h104 行定义.

函数说明

int BSP_Print ( const char *  fmt,
  ... 
)

在文件 bsp_ser.c575 行定义.

577 {
578  CPU_CHAR buf[128u + 1u];
579  CPU_SIZE_T len;
580  CPU_SIZE_T len_wr;
581  va_list vArgs;
582 
583 
584  buf[0] = (CPU_CHAR)ASCII_CHAR_NULL;
585 
586  va_start(vArgs, format);
587  vsnprintf((char *)buf, sizeof(buf) - 1, (char const *)format, vArgs);
588  va_end(vArgs);
589 
590  len = Str_Len(buf);
591  len_wr = BSP_SerWr ( BSP_SER_ID_UART0,
592  (void *)buf,
593  len);
594 
595  return ((int)len_wr);
596 }