上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 67 下一页
摘要: 背景: ota升级过程中不上报脉冲类、模拟量类数据时,升级过程没问题;(接收到升级数据包,发送应答) ota升级过程中上报脉冲类、模拟量数据时,偶尔会接收数据包不完整; 现象: ota升级过程中,接收到的蓝牙数据,只能接收到后半部分; 解决思路: 要确定是发送方发送数据是否完整或接收方接收数据是否完 阅读全文
posted @ 2023-11-01 17:28 我爱茜茜公主 阅读(97) 评论(0) 推荐(0)
摘要: 假设需要采集并处理传感器ABC的数据,则一般的系统会按照顺序轮询传感器;而基于事件驱动的系统中,系统不会主动询问传感器,而是等待传感器产生数据并传输过来,相关程序才会被调用并在结束后立即释放。因此,从程序执行的角度看,程序不是主动运行,而是被相关事件调用执行。 跳转到事件驱动型范例 参考文章: 文章 阅读全文
posted @ 2023-10-11 09:59 我爱茜茜公主 阅读(27) 评论(0) 推荐(0)
摘要: 网址:https://www.hdsc.com.cn/Category83-1491 网盘:正点原子 freertos https://www.ngui.cc/el/3151854.html?action=onClick 阅读全文
posted @ 2023-09-20 22:28 我爱茜茜公主 阅读(18) 评论(0) 推荐(0)
摘要: typedef struct pmpi_s *pmpi; pmpi ps1=null; 制作库的时候,不希望将结构体暴露在.h中,怎么办呢? 由void handle_s(struct pmpi_s *p) 变为 void handle_s(pmpi *p) 参考文章1 使用typedef来抽象存在 阅读全文
posted @ 2023-09-19 17:08 我爱茜茜公主 阅读(31) 评论(0) 推荐(0)
摘要: 面向对象的概念,在c语言时期就有了;比如某些操作系统内核、通信协议 参考文章1 参考文章2 阅读全文
posted @ 2023-09-15 09:08 我爱茜茜公主 阅读(40) 评论(0) 推荐(0)
摘要: 点击查看代码 /** * rt_container_of - return the member address of ptr, if the type of ptr is the * struct type. */ #define rt_container_of(ptr, type, member 阅读全文
posted @ 2023-09-13 10:02 我爱茜茜公主 阅读(30) 评论(0) 推荐(0)
摘要: // 阅读全文
posted @ 2023-09-08 10:45 我爱茜茜公主 阅读(15) 评论(0) 推荐(0)
摘要: 参考地址: [文章1](https://blog.csdn.net/ybhuangfugui/article/details/130333532 "文章1") 1、当注水速度大于放水速度或放水速度突然变大时,为了保证水不溢出,就需要水池来处理这种突发情况; 2、为了降低CPU负担,提高数据处理效率, 阅读全文
posted @ 2023-09-05 09:05 我爱茜茜公主 阅读(157) 评论(0) 推荐(0)
摘要: 参考文章: [文章1](https://www.eefocus.com/e/1472503.html "文章1") [文章2](http://m.biancheng.net/view/256.html "文章2") 逻辑非! > 算术 > 逻辑与&& 逻辑或|| > 赋值 = 阅读全文
posted @ 2023-09-01 08:51 我爱茜茜公主 阅读(29) 评论(0) 推荐(0)
摘要: ![image](https://img2023.cnblogs.com/blog/1974974/202308/1974974-20230830153652096-917966250.png) 1、可在map文件中查找某某函数地址; 2、在Disassembly窗口内,右键,选择Show Code 阅读全文
posted @ 2023-08-30 15:42 我爱茜茜公主 阅读(1806) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 67 下一页