/** ****************************************************************************** * @file spi.h * $Author: wdluo $ * $Revision: 17 $ * $Date:: 2012-07-06 11:16:48 +0800 #$ * @brief SPIÇý¶¯º¯ÊýÉùÃ÷. ****************************************************************************** * @attention * *

© Copyright 2009-2012, ViewTool
*
http://www.viewtool.com
*
All Rights Reserved

* ****************************************************************************** */ /* Define to prevent recursive inclusion -------------------------------------*/ #ifndef __SPI_H #define __SPI_H /* Includes ------------------------------------------------------------------*/ #include "stm32f10x_conf.h" /* Exported Functions --------------------------------------------------------*/ void SPI_Configuration(void); void SPI_WriteByte(uint8_t TxData); uint8_t SPI_ReadByte(void); void SPI_CrisEnter(void); void SPI_CrisExit(void); void SPI_CS_Select(void); void SPI_CS_Deselect(void); #endif /* __SPI_H */ /*********************************END OF FILE**********************************/