摘要: struct mcu_data{ struct spi_device* spi; struct input_dev *input; struct keymcu_platform_data* keymcu_data; struct delayed_work work; int irq;}; 阅读全文
posted @ 2016-07-05 15:51 emlslxl 阅读(1083) 评论(0) 推荐(0) 编辑
摘要: 根据网上资料,整理验证C程序代码。 接口函数: 1 /****************************************************** 2 *函数名称:Compute_data_md5 3 *输 入:data 校验数据首地址 4 len 校验数据长度 5 md5_str 阅读全文
posted @ 2016-07-05 14:04 emlslxl 阅读(1644) 评论(0) 推荐(0) 编辑
摘要: 1 /****************************************************** 2 *函数名称:CheckSumSum16 3 *输 入:buf 要校验的数据 4 len 校验数据的长 5 *输 出:校验和 6 *功 能:校验和-16 7 ************ 阅读全文
posted @ 2016-07-05 13:50 emlslxl 阅读(3914) 评论(0) 推荐(0) 编辑