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

📄 tasks.bak

📁 a program that generates a pulse-width modulated (PWM)signal.
💻 BAK
字号:
// Main header file for listing tasks for use in other task
// definitions.   This version is for the time-test program 
// and just has clock definitions in it.
// 10/15/95, DM Auslander

#ifndef TASKS_HPP
#define TASKS_HPP


// Define the timing mode  -- One (and only one) of the
// following should be active
 #define TIMEFREE	// Use the PC's free-running timer
// #define TIMEINTERNAL	// Use internal time calculation only
		// (i.e., calibrated time). TICKRATE sets the internal
		// time increment.

// This is the time granularity if the free running timer
// is not used.  Each scheduler scan, the time is incremented
// by TICKRATE.  You can adjust this value to make the time
// a decent approximation of the real time.
#define TICKRATE 0.001

void DisableInterrupt(void);	// Prototypes
void EnableInterrupt(void);
#endif // TASKS_HPP

⌨️ 快捷键说明

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