<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[Vcracker的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/Vcracker</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; Vcracker]]></copyright><item><title><![CDATA[平台总线（实操）---实现（多个）LED灯的资源传递]]></title><link>https://blog.csdn.net/Vcracker/article/details/134209214</link><guid>https://blog.csdn.net/Vcracker/article/details/134209214</guid><author>Vcracker</author><pubDate>Fri, 03 Nov 2023 21:24:31 +0800</pubDate><description><![CDATA[3、因为有两个设备所以需要将两个设备都注册到平台总线中，所以需要注册两次 


4、在出口函数中，注销设备


driver.c中的修改：

1、首先你注册多个设备和driver.c匹配，你的driver.c就应该能够兼容多个设备


            2、这样改好了以后，可以试一下看能不能调用多次probe，每注册一次pdev会调用一次，这里六个灯就是六次 


Makefile文件




special文件




device.c




driver.c




stm32mp157xxx.]]></description><category></category></item><item><title><![CDATA[平台总线（实操）---实现LED灯的资源传递]]></title><link>https://blog.csdn.net/Vcracker/article/details/134149657</link><guid>https://blog.csdn.net/Vcracker/article/details/134149657</guid><author>Vcracker</author><pubDate>Thu, 02 Nov 2023 21:47:46 +0800</pubDate><description><![CDATA[char *name;// 设备名// 次设备号//操作寄存器的哪一个位//在基地址的基础上偏移多少device.c// 1,头文件//这是在定义自定的资源，因为这些资源会随着硬件的变化而改变.minum =0,struct resource led_resource[]={//具体的地址资源或者中断资源[0]={//RCC的地址资源},[1]={//GPIO的地址资源},]]></description><category></category></item><item><title><![CDATA[Linux初级驱动开发（实操）---STM32MP157点灯]]></title><link>https://blog.csdn.net/Vcracker/article/details/133892741</link><guid>https://blog.csdn.net/Vcracker/article/details/133892741</guid><author>Vcracker</author><pubDate>Sat, 28 Oct 2023 21:16:09 +0800</pubDate><description><![CDATA[点灯]]></description><category></category></item><item><title><![CDATA[STM32F103---DMA]]></title><link>https://blog.csdn.net/Vcracker/article/details/133850095</link><guid>https://blog.csdn.net/Vcracker/article/details/133850095</guid><author>Vcracker</author><pubDate>Mon, 16 Oct 2023 20:28:14 +0800</pubDate><description><![CDATA[DMA用来提供在外设和存储器之间或者存储器和存储器之间的高速数据传输。]]></description><category></category></item><item><title><![CDATA[STM32F103---矩阵按键]]></title><link>https://blog.csdn.net/Vcracker/article/details/133799218</link><guid>https://blog.csdn.net/Vcracker/article/details/133799218</guid><author>Vcracker</author><pubDate>Fri, 13 Oct 2023 21:55:46 +0800</pubDate><description><![CDATA[按下了，只有当行和列都是低电平的时候，检测按键的函数（uint16_t KEY_Scanf_Config）才会检测到低电平，从而确定该按键；4、准备工作都做好后，我们需要写一个检测按键的函数，一直处于检测状态（while(1)）,我们需要将哪个按键按下打印到串口调试助手，就需要该。，因为我初始化了第一行为上拉输入，所以它默认输入高电平，当我“1”按下后，它就会变成低电平输入。，我们所使用的PB3、PB4、PA15是不可用的，只有在JTAG-DP和SW-DP关闭下，我们才能使用，所以我们需要去。]]></description><category></category></item><item><title><![CDATA[STM32F407---配置串口点灯]]></title><link>https://blog.csdn.net/Vcracker/article/details/133320663</link><guid>https://blog.csdn.net/Vcracker/article/details/133320663</guid><author>Vcracker</author><pubDate>Wed, 27 Sep 2023 16:27:18 +0800</pubDate><description><![CDATA[需求：用STM32F407芯片实现在串口调试工具中发送‘open’开灯，发送‘close’关灯分析：1、先点个灯，点灯需要初始化GPIO引脚，然后调用GPIO_ResetBits拉低电平即可点亮2、配置串口。]]></description><category></category></item><item><title><![CDATA[IIC通信-----GPIO模拟IIC协议]]></title><link>https://blog.csdn.net/Vcracker/article/details/133145882</link><guid>https://blog.csdn.net/Vcracker/article/details/133145882</guid><author>Vcracker</author><pubDate>Sun, 24 Sep 2023 19:34:42 +0800</pubDate><description><![CDATA[发送数据信号：高位先行，一个SCL高电平发送一个位的数据，SCL为低电平时，准备数                                         据，SCL为高电平时，数据稳定发送。2，IIC通信是一种两线串行的通信方式：SDA（数据线），SCL（时钟线）起始信号：SCL为高电平期间，SDA由高电平跳变到低电平，产生一个有效的下降沿。停止信号：SCL为高电平期间，SDA由低电平跳变到高电平，产生一个有效的上升沿。10，IIC通信是一种稳定的通信方式，在通信过程中的每一步都有应答。]]></description><category></category></item><item><title><![CDATA[双向循环链表]]></title><link>https://blog.csdn.net/Vcracker/article/details/132176018</link><guid>https://blog.csdn.net/Vcracker/article/details/132176018</guid><author>Vcracker</author><pubDate>Tue, 08 Aug 2023 21:46:51 +0800</pubDate><description><![CDATA[双向循环链表]]></description><category></category></item></channel></rss>