tasks.bak

来自「a program that generates a pulse-width m」· BAK 代码 · 共 27 行

BAK
27
字号
// 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 + =
减小字号Ctrl + -
显示快捷键?