随笔分类 - linux驱动
摘要:https://www.cnblogs.com/lifexy/p/7542989.html //驱动+应用 https://www.cnblogs.com/xiaojiang1025/p/6414746.html https://www.cnblogs.com/andyfly/p/9512291.h
阅读全文
摘要:https://www.cnblogs.com/lifexy/p/7604011.html https://blog.csdn.net/z961968549/article/details/78821082 https://www.cnblogs.com/silencehuan/p/11202496
阅读全文
摘要:https://www.cnblogs.com/jswang/p/9071847.html
阅读全文
摘要:https://www.cnblogs.com/lifexy/p/7816324.html https://blog.csdn.net/shenlong1356/article/details/89212234 https://blog.csdn.net/m0_37661202/article/de
阅读全文
摘要:spi_register_driver()函数中有设置bus总线类型为spi_bus,然后会调用mathch函数,再去比对boardinfo的信息与driver注册的信息是否一致 一致的话调用driver的probe函数。 SPI驱动模型参考 http://blog.chinaunix.net/ui
阅读全文
摘要:SPI驱动模型参考 http://blog.chinaunix.net/uid 21501855 id 5211900.html https://blog.csdn.net/droidphone/article/details/24353293 https://blog.csdn.net/lizuo
阅读全文
摘要:``` #device方面: platform_device_register(struct platform_device *dev) platform_device_add(pdev); device_add(&pdev->dev); bus_probe_device(dev); device_attach(dev); bus_for_each_drv(dev->bus, NULL, dev,
阅读全文
摘要:1\阻塞与非阻塞由应用层传递flag,驱动层根据flag进行相应的操作,其实现本质还是在驱动层,如果阻塞模式则应用层在open时传入阻塞 参数. 在read数据时,若底层数据尚未准备好,则驱动层就会进行休眠.知道有数据时驱动层此时才会操作/dev/xx设备,对于应用层而言此时才能在/dev/xx对应
阅读全文
摘要:1\bus与platfomr bus区别 https://www.cnblogs.com/reality soul/articles/4633970.html https://blog.csdn.net/yachl882828/article/details/74221889 https://blo
阅读全文
摘要:韦东山判断nor,nand启动时: volatile unsigned int pZeroAddr = (volatitle usnigned int)0; int iValOfZeroAddr = pZeroAddr; //nor flash可以像内存一样去读取。 pZeroAddr = 0x12
阅读全文
摘要:https://www.cnblogs.com/80scd/p/5869334.html https://www.cnblogs.com/kele dad/p/8970103.html https://wenku.baidu.com/view/fde2775e7dd184254b35eefdc8d3
阅读全文