?? app_cfg.h
字號:
/*
*********************************************************************************************************
* APPLICATION CONFIGURATION
*
* (c) Copyright 2005, Micrium, Inc., Weston, FL
* All Rights Reserved
*
* Sample Code
*********************************************************************************************************
*/
#ifndef APP_CFG_H
#define APP_CFG_H
/*
*********************************************************************************************************
* ADDITIONAL uC/MODULE ENABLES
*********************************************************************************************************
*/
#define LIB_CFG_CUSTOM_EN DEF_ENABLED
#define LIB_STR_CFG_FP_EN DEF_ENABLED
/*
*********************************************************************************************************
* CONSTANTS
*********************************************************************************************************
*/
#define TRUE 1
#define FALSE 0
#ifndef DEF_ENABLED
#define DEF_ENABLED 1
#endif
#ifndef DEF_DISABLED
#define DEF_DISABLED 0
#endif
/*
*********************************************************************************************************
* TASK PRIORITIES
*********************************************************************************************************
*/
#define TASK_START_PRIO 5
#define OS_VIEW_TASK_PRIO 7
#define OS_VIEW_TASK_ID 7
#define LCD_TEST_TASK_PRIO 10
#define OS_TASK_TMR_PRIO 20
/*
*********************************************************************************************************
* TASK STACK SIZES
*********************************************************************************************************
*/
#define START_TASK_STK_SIZE 256
#define OS_VIEW_TASK_STK_SIZE 128
#define LCD_TASK_STK_SIZE 1000
/*
*********************************************************************************************************
* uC/LCD CONFIGURATION
*********************************************************************************************************
*/
#define DISP_BUS_WIDTH 4 /* LCD controller is accessed with a 4 bit bus */
/*
*********************************************************************************************************
* uC/OS-View CONSTANTS
*********************************************************************************************************
*/
#define OS_VIEW_PARSE_TASK 0 /* 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
#define OS_VIEW_UART_1 1
#define OS_VIEW_COMM_SEL OS_VIEW_UART_1 /* Select UART to be used with uC/OS-View */
#endif /* End of file */
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -