ap89021.h

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

H
24
字号
#ifndef AP89021_H
#define AP89021_H

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

//======Port Definition=============
#define PIN_APBUSY	PINA
#define PORT_APCTL	PORTC

#define AP_S1	0x01
#define AP_S2	0x02
#define	AP_S3	0x40
#define AP_SBT	0x80
#define AP_BUSY	0x80


//=========Functions====================
void apPlay(unsigned char num);
unsigned char apIsBusy();

#endif

⌨️ 快捷键说明

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