下面的这个文件才是SPI的驱动,同上面的文件一样在演示代码的工程里面可以找到: /******************** (C) COPYRIGHT 2007 STMicroelectronics ******************** * File Name : spi_flash.c * Author : MCD Application Team * Version : V1.1 * Date : 11/26/2007 * Description : This file provides a set of functions needed to manage the * communication between SPI peripheral and SPI M25P64 FLASH.