os_cfg.h

来自「ucos-ii-at90S-icc-avr」· C头文件 代码 · 共 33 行

H
33
字号
/*
********************************************************************************
*                             uC/OS-II
*                         The Real-Time Kernel
*
*                     Configuration for AT90
*
* File:		OS_CFG.H
* By:
* Modified by:
* Revision:		0
*
********************************************************************************
*/

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

/* Set the number of ticks in one second*/
#define OS_TICKS_PER_SEC	50
/* Defines the lowest priority that can be assigned MUST NEVER be higher than 63*/
#define OS_LOWEST_PRIO		2

#define OS_HARDWARE_STACK_SIZE  64

#define OS_TASK_STACK_SIZE (OS_HARDWARE_STACK_SIZE+64)

#define OS_STRICT 1

⌨️ 快捷键说明

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