No.69859 作者:heatherzhou 邮件:zhouhuiling007@163.com ID:119842 登陆:7次 文章数:18篇 最后登陆IP:116.24.233.230 最后登陆:2013/4/9 15:18:35 注册:2008/12/17 14:52:18 财富:173 发帖时间:2011/9/2 10:05:40 发贴者IP:119.137.110.47 标题:heatherzhou:[分享]MMA7660脉搏震动检测算法 摘要:No.69859[分享]MMA7660脉搏震动检测算法 / (c) copyright Freescale Semiconductor Ltd. 2008 ALL RIGHTS RESERVED Ver 0.01 Oct.2008 Released Note: This is an example code shows how to handle the interrupt generated by MMA7660 on pulse detection / #include "MMA7660_Pulse.h" #define Pulse_Detection_Condition 1 void MMA7660_Pulse_main(void){ VUINT8 Ans; MMA7660_Pulse_Startup(); Enable_Host_Interrupts_for_MMA7660; //Enable host interrupt to respond to MMA7660 INT pin while(Pulse_Detection_Condition) { ......
>>返回讨论的主题
|