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

📄 salvocfg.h

📁 使用PIC16F628和U2280构建的门禁控制机,有原理图
💻 H
字号:
/************************************************************
****                                                     ****
**

project config file


**                                                         **
****                                                     ****
************************************************************/

#define OSBYTES_OF_DELAYS			1
#define OSCOMPILER 					OSHT_PICC	// compiler
#define OSTARGET	 					OSPIC16		// processor type

#define OSEVENTS	        			1				// number of events(binSem,messages) 1 QUEUEU
#define OSTASKS		      		3				// number of running tasks

//---------- MESSAGE QUEUES SUPPORT ---------------------
#define OSENABLE_MESSAGES				FALSE			// enable messages
#define OSBIG_MESSAGE_POINTERS		FALSE			// enable big messages pointing both RAM and ROM
#define OSCOMBINE_EVENT_SERVICES 	FALSE			// to make event services faster and smaller

#define OSENABLE_TIMEOUTS				FALSE		// enable timeout when waiting
#define OSENABLE_BINARY_SEMAPHORES	TRUE		// enable binary semaphores
#define OSENABLE_EVENT_TRYING		TRUE		// to allow OSTRY

#define OSCLEAR_WATCHDOG_TIMER()	asm("clrwdt")			// clear watchdog timer command

//----------- RAM destination of the SALVO resources -----

//#define OSLOC_ALL					bank1			// location of counters of RTOS	

⌨️ 快捷键说明

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