1234567891011121314151617181920212223242526272829303132333435 |
- /**
- ******************************************************************************
- * @file spi.h
- * $Author: wdluo $
- * $Revision: 17 $
- * $Date:: 2012-07-06 11:16:48 +0800 #$
- * @brief SPIÇý¶¯º¯ÊýÉùÃ÷.
- ******************************************************************************
- * @attention
- *
- *<h3><center>© Copyright 2009-2012, ViewTool</center>
- *<center><a href="http:\\www.viewtool.com">http://www.viewtool.com</a></center>
- *<center>All Rights Reserved</center></h3>
- *
- ******************************************************************************
- */
- /* 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**********************************/
|