SPI_write_read

所属分类:单片机开发
开发工具:C/C++
文件大小:1KB
下载次数:55
上传日期:2008-07-24 12:34:01
上 传 者蓝色枫
说明:  此函数把SPI的读写功能集成在一块,传递的val既是向SPI写的数据,也是从SPI读取的数据,只需要在执行读或写之前把MCU的I/O脚设置成相应的输出或输入即可。(因为在大部分应用中,是把SPI的DI和DO相连并用MCU的一个IO口来读写)。
(This function of the SPI read and write functionality into a single, transmission of val is not only written to the SPI data is read from the SPI data, only need to read or write in the implementation prior to the MCU)

文件列表:
SPI_write_read.txt (1161, 2008-07-24)

近期下载者

相关文件


收藏者