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

📄 freescale

📁 Freescale 系列单片机常用模块与综合系统设计
💻
字号:
#ifndef __AD_Process_H
#define __AD_Process_H

extern unsigned int dark_buffer[4];            // buffer for 4 ADC samples
extern unsigned int light_buffer[4];           // buffer for 4 ADC samples
extern unsigned int dark_average;              // Average 4 samples with no IRLED
extern unsigned int light_average;             // Average 4 samples with IRLED on
extern unsigned char smoke_detect_count ;   // Counter for smoke detections
extern unsigned char alarm_flag;           // Alarm status. 1 means smoke

void Sample (void);
void Average (void);

/* END Events */
#endif /* __Events_H*/

/*
** ###################################################################
**
**     This file was created by UNIS Processor Expert 3.03 [04.07]
**     for the Freescale HCS08 series of microcontrollers.
**
** ###################################################################
*/

⌨️ 快捷键说明

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