上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 39 下一页
摘要: shell 在shell中,可以使用export修改当前进程的环境变量: export PATH=.:$PATH 1 就可以将当前路径加入可执行文件查找路径中,这样你就不要敲命令的时候就不用敲路径了。 makefile export的作用是传递该变量到下级的Makefile中。 不放在目标的时候才会 阅读全文
posted @ 2020-07-31 15:07 aspirs 阅读(129) 评论(0) 推荐(0)
摘要: Repeated Start Condition A way to claim the bus During an I2C transfer there is often the need to first send a command and then read back an answer ri 阅读全文
posted @ 2020-07-16 21:33 aspirs 阅读(673) 评论(0) 推荐(0)
摘要: Q: What are the sysfs structures for Linux USB? A: For example the directory will have something like: # ls /sys/bus/usb/devices/ 1-0:1.0 1-1.3 1-1.3. 阅读全文
posted @ 2020-07-01 14:48 aspirs 阅读(254) 评论(0) 推荐(0)
摘要: 另外一种调节亮度的方式叫“DC调光”。 DC调光的原理非常简单,就是通过提高或降低电路功率来改变屏幕的亮度。功率 = 电压 x 电流,所以改变电压或电流都能改变屏幕亮度。 from: https://zhuanlan.zhihu.com/p/62725255 阅读全文
posted @ 2020-06-17 21:36 aspirs 阅读(1002) 评论(0) 推荐(0)
摘要: NT72334为MEMC芯片,(NT72315)为画质芯片 阅读全文
posted @ 2020-06-16 22:26 aspirs 阅读(188) 评论(0) 推荐(0)
摘要: uboot中fdt命令的使用 转载:https://blog.csdn.net/voice_shen/article/details/7441894 依linux community的要求,从linux-3.5后,新提交的code必须对device tree进行支持。下面介绍如何使u-boot支持d 阅读全文
posted @ 2020-06-12 15:04 aspirs 阅读(1583) 评论(0) 推荐(0)
摘要: 1、compat_ioctl:支持64bit的driver必须要实现的ioctl,当有32bit的userspace application call 64bit kernel的IOCTL的时候,这个callback会被调用到。如果没有实现compat_ioctl,那么32位的用户程序在64位的ke 阅读全文
posted @ 2020-06-11 19:58 aspirs 阅读(780) 评论(0) 推荐(1)
摘要: 在最近的编程过程中,会经常使用I2C来读写数据,用示波器来查看I2C的波形,所以想总结一下I2C中关于ACK和NACK的几点东西。 I2C简介I2C是由Philips公司发明的一种串行数据通信协议,仅使用两根信号线:SerialClock(简称SCL)和SerialData(简称SDA)。I2C是总 阅读全文
posted @ 2020-06-10 19:54 aspirs 阅读(11063) 评论(0) 推荐(2)
摘要: 对IIC总线时序的一点理解以及ACK和NACK(NAK) 参考自:http://blog.chinaunix.net/uid-16100003-id-3059814.html 关于IIC的响应问题:对于每一个接收设备(从设备,slaver),当它被寻址后,都要求在接收到每一个字节后产生一个响应。因此 阅读全文
posted @ 2020-06-09 23:30 aspirs 阅读(1609) 评论(0) 推荐(0)
摘要: [USB] interface[0] conf:1 value 9: value 9的含义如下表格: 表格来自:https://www.usb.org/defined-class-codes Base Class Descriptor Usage Description 00h Device Use 阅读全文
posted @ 2020-06-09 20:43 aspirs 阅读(239) 评论(0) 推荐(0)
上一页 1 ··· 17 18 19 20 21 22 23 24 25 ··· 39 下一页