码迷,mamicode.com
首页 >  
搜索关键字:kernel唤醒系统    ( 1个结果
安卓kernel自主唤醒系统方法——设置alarm
#include 1:定义alarm变量: struct alarm  xx_alarm; 2:alarm绑定: alarm 触发时callback: static void xx_callback(struct alarm *alarm) {      structchip *chip = container_of(alarm, structchip,...
分类:移动开发   时间:2014-09-17 23:22:22    阅读次数:521
1条  
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!