发布时间:2015-08-07 09:49:13
利用SPI驱动框架来编写驱动,并给应用层留出接口来操作SPI<br />1.首先在板子的BSP文件(board_sabresd.c)里面给出<span style="white-space:normal;"> spi_board_info</span><br />static struct spi_board_info spi_device_info[] = {<br />{<br />.modalias= "spidev",<br />//.platform_data= &ads_inf.........【阅读全文】