上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 41 下一页
摘要: 分配一个urb,并初始化之。返回这个urb的指针usb_alloc_urb(int iso_packets, gfp_t mem_flags) (core/message.c) ->urb = kmalloc(...); 分配一个urb ->usb_init_urb(urb); 初始化这个urb:初 阅读全文
posted @ 2020-09-09 22:18 aspirs 阅读(345) 评论(0) 推荐(0) 编辑
摘要: open: filp_open() ioctl: vfs_ioctl() 阅读全文
posted @ 2020-09-06 19:00 aspirs 阅读(161) 评论(0) 推荐(0) 编辑
摘要: 對 51 微控制器記憶體的認識,很多人有誤解,最常見的是以下兩種① 超過變數128後必須使用compact模式編譯 實際的情況是隻要記憶體佔用量不超過 256.0 就可以用 small 模式編譯② 128以上的某些地址為特殊暫存器使用,不能給程式用 與 PC 機不同,51 微控制器不使用線性編址,特 阅读全文
posted @ 2020-09-01 10:47 aspirs 阅读(1615) 评论(0) 推荐(0) 编辑
摘要: The xdata memory type may be used to declare variables only. You may not declare xdata functions. This memory is indirectly accessed using 16-bit addr 阅读全文
posted @ 2020-09-01 10:45 aspirs 阅读(216) 评论(0) 推荐(0) 编辑
摘要: Android.bp // Android.bp sample cc_defaults( deps = [ "libc", ], ) cc_library( name = "cmd", srcs = [ "main.c", ], ) subdirs = ["subdir1", "subdir2"] 阅读全文
posted @ 2020-08-24 20:26 aspirs 阅读(626) 评论(0) 推荐(1) 编辑
摘要: android / platform / bionic from: https://android.googlesource.com/platform/bionic/ readelf -d (so或者bin) |grep libclibc.so.6 代表是glibclibc.so 代表是bionic 阅读全文
posted @ 2020-08-20 17:19 aspirs 阅读(166) 评论(0) 推荐(0) 编辑
摘要: echo +80 > /sys/class/rtc/rtc0/wakealarm 上面指令执行的函数如下: drivers/rtc/rtc-sysfs.c static ssize_t wakealarm_store(struct device *dev, struct device_attribu 阅读全文
posted @ 2020-08-19 15:21 aspirs 阅读(1689) 评论(0) 推荐(0) 编辑
摘要: 高清地图下载 http://bzdt.ch.mnr.gov.cn/ 广东高清地图下载 http://nr.gd.gov.cn/gdlr_public/map/3/gz/index.html 阅读全文
posted @ 2020-08-09 13:21 aspirs 阅读(153) 评论(0) 推荐(0) 编辑
摘要: shell 在shell中,可以使用export修改当前进程的环境变量: export PATH=.:$PATH 1 就可以将当前路径加入可执行文件查找路径中,这样你就不要敲命令的时候就不用敲路径了。 makefile export的作用是传递该变量到下级的Makefile中。 不放在目标的时候才会 阅读全文
posted @ 2020-07-31 15:07 aspirs 阅读(117) 评论(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 阅读(541) 评论(0) 推荐(0) 编辑
上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 41 下一页