摘要: pthread_create函数:/*创建一个线程*/ 原型:int pthread_create((pthread_t *thread, pthread_attr_t *attr, void *(*start_routine)(void *), void *arg) 用法:#include <pt 阅读全文
posted @ 2021-07-06 23:39 皮特99 阅读(39) 评论(0) 推荐(0) 编辑
摘要: 1.v4l2-core下 kconfig config VIDEO_V4L2 makefile obj-$(CONFIG_VIDEO_V4L2) += videodev.o obj-$(CONFIG_VIDEO_V4L2) += videocommon.o 由此可知 kconfig 里定义的宏,也可 阅读全文
posted @ 2021-07-06 23:29 皮特99 阅读(453) 评论(0) 推荐(0) 编辑
摘要: 外部上拉下拉的意思: For GPIO-IN pin, we can read its status through function DalTlmm_GpioIn(), but it is not easy tell whether it is pulled or driven externall 阅读全文
posted @ 2021-07-06 23:25 皮特99 阅读(894) 评论(0) 推荐(0) 编辑
摘要: 通用的堆排函数思想 : 1.对任意一个点进行调整, 需要往两个方向, 父节点和左右子节点进行比较, 交换 2.传入不同的比较函数使得函数变成通用的 对一堆数据,需要用堆排: (1). 插入方法建堆 (实际工作中这种是更常见) (2). 基于当前数组进行建堆 比较函数 , 交换函数, 打印函数 :\ 阅读全文
posted @ 2021-07-06 23:22 皮特99 阅读(217) 评论(0) 推荐(0) 编辑