USB读卡器(Slave)实验
代码说明:
本实验将实现如下功能:开机的时候先检测SD卡和SPI FLASH是否存在,如果存在则获取其容量,并显示在LCD上面(如果不存在,则报错)。之后开始USB配置,在配置成功之后就可以在电脑上发现两个可移动磁盘。我们用DS1来指示USB正在读写,并在液晶上显示出来,同样,我们还是用DS0来指示程序正在运行。(This experiment will achieve the following functions: when booting, first detect the existence of SD card and SPI FLASH, and if there is, obtain its capacity, and display it on the LCD (if not, report an error). Then the USB configuration is started, and after the configuration is successful, two removable disks can be found on the computer. We use DS1 to indicate that the USB is reading and writing, and display it on the LCD. Similarly, we use DS0 to indicate that the program is running.)
下载说明:请别用迅雷下载,失败请重下,重下不扣分!