conf_scheduler.h

来自「用AT89C5131A开发USB的框架很好用」· C头文件 代码 · 共 40 行

H
40
字号
//! @file conf_scheduler.h
//!
//! Copyright (c) 2004
//!
//! Please read file license.txt for copyright notice.
//!
//! This file contains the possible external configuration of the scheduler
//! This file will be given to any external customer
//!
//! @version 1.2 (c5131-usb-generic-1_2_0)
//!
//! @todo
//! @bug
#ifndef _CONF_SCHEDULER_H_
#define _CONF_SCHEDULER_H_


//! --- Scheduler Configuration --- 
// ***** Task init *****
#define Scheduler_task_1_init    usb_task_init           // Init the USB task
#define Scheduler_task_2_init    user_application_task_init
//#define Scheduler_task_3_init
//#define Scheduler_task_4_init
//#define Scheduler_task_5_init


// ***** Task definition *****
#define Scheduler_task_1         usb_task                // Mass storage task
#define Scheduler_task_2         user_application_task
//#define Scheduler_task_3
//#define Scheduler_task_4
//#define Scheduler_task_5
                                
// ***** Type of scheduler *****
// Possible value: SCH_TIMED, SCH_TASK, SCH_FREE
#define SCHEDULER_TYPE           SCHEDULER_FREE

#endif  //! _CONF_SCHEDULER_H_

⌨️ 快捷键说明

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