app_cfg.h

来自「基于 ST 公司的 ARM-7 使用之 uC/OS-II 作业系统,此例程是移植」· C头文件 代码 · 共 82 行

H
82
字号
/*
*********************************************************************************************************
*
*                                             EXAMPLE CODE
*
*                          (c) Copyright 2003-2006; Micrium, Inc.; Weston, FL
*
*               All rights reserved.  Protected by international copyright laws.
*
*               Knowledge of the source code may NOT be used to develop a similar product.
*
*               Please help us continue to provide the Embedded community with the finest
*               software available.  Your honesty is greatly appreciated.
*********************************************************************************************************
*/

/*
*********************************************************************************************************
*
*                                     APPLICATION CONFIGURATION
*
* Filename      : app_cfg.h
* Version       : V1.00
* Programmer(s) : Brian Nagel
*********************************************************************************************************
*/

#ifndef  __APP_CFG_H__
#define  __APP_CFG_H__


/*
*********************************************************************************************************
*                                            MODULE ENABLES
*********************************************************************************************************
*/

#define  uC_LCD_MODULE                  DEF_ENABLED


/*
*********************************************************************************************************
*                                            TASK PRIORITIES
*********************************************************************************************************
*/

#define  APP_TASK_START_PRIO                    5
#define  OS_TASK_TMR_PRIO                      10
#define  APP_TASK_USER_IF_PRIO                  6

/*
*********************************************************************************************************
*                                            TASK PRIORITIES
*********************************************************************************************************
*/

#define  DISP_BUS_WIDTH                         8


/*
*********************************************************************************************************
*                                            TASK STACK SIZES
*********************************************************************************************************
*/

#define  APP_TASK_START_STK_SIZE              128
#define  APP_TASK_USER_IF_STK_SIZE            256

/*
*********************************************************************************************************
*                                        uC/OS-View CONFIGURATION
*********************************************************************************************************
*/

#define  OS_VIEW_TMR_32_BITS                    0
#define  OS_VIEW_COMM_SEL               OS_VIEW_UART_0




#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?