isdtask.h

来自「加速度采集器。基于ATMega16L.AVRSTUIDIO4」· C头文件 代码 · 共 22 行

H
22
字号
#ifndef ISD_TASK_H
#define ISD_TASK_H

#include <iom16v.h>
#include <macros.h>


#define PORTISD PORTC
#define PINISD 	PINC
#define ISDPLAY 	0x01
#define ISDFWD		0x02
#define ISDRESET	0x40
#define ISDRDY		0x80

#define ISDDELAY	3 	// *0.01s

void isdTaskInit();
void isdTask();
unsigned char isdBusy();

#endif

⌨️ 快捷键说明

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