⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 app_cfg.h

📁 lpc2478+ucosII
💻 H
字号:
/*
*********************************************************************************************************
*                                              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
*
*                                             NXP LPC2468
*                                                on the
*                                  Embedded Artists LPC2468 OEM Board
*
* Filename      : app_cfg.h
* Version       : V1.00
* Programmer(s) : Brian Nagel
*********************************************************************************************************
*/

#ifndef  __APP_CFG_H__
#define  __APP_CFG_H__

/*
*********************************************************************************************************
*                                       ADDITIONAL uC/MODULE ENABLES
*********************************************************************************************************
*/

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

#define  APP_TASK_START_PRIO                   1
#define  APP_TASK_Led_PRIO                     2
#define  OS_VIEW_TASK_PRIO                     3
#define  OS_VIEW_TASK_ID                       3
#define  OS_TASK_TMR_PRIO                      4

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

#define  APP_TASK_START_STK_SIZE             512
#define  APP_TASK_LED_STK_SIZE               512
#define  OS_VIEW_TASK_STK_SIZE               512


/*
*********************************************************************************************************
*                                           uC/OS-View CONSTANTS
*********************************************************************************************************
*/

#define  OS_VIEW_PARSE_TASK                    1                /* Parsing of received packets will be done by a task       */
#define  OS_VIEW_TMR_32_BITS                   1                /* uC/OS-View timer is 32 bits                              */

#define  OS_VIEW_UART_0                        0                /* UART0 selected                                           */
#define  OS_VIEW_UART_1                        1                /* UART1 selected                                           */

#define  OS_VIEW_COMM_SEL         OS_VIEW_UART_1                /* Select UART1 for uC/OS-View to use                       */

/*
*********************************************************************************************************
*                                           RS-232 CONSTANTS
*********************************************************************************************************
*/

#define  SER_UART_0                            0                /* UART0 selected                                           */
#define  SER_UART_1                            1                /* UART1 selected                                           */
#define  SER_COMM_SEL                 SER_UART_0                /* Select UART0 for printing                                */

/*
*********************************************************************************************************
*                                       uC/OS-II DCC CONFIGURATION
*********************************************************************************************************
*/

#define  OS_CPU_ARM_DCC_EN                     1




#endif

⌨️ 快捷键说明

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