#ifndef __HAL_SPI_H__ #define __HAL_SPI_H__ #include "stm32f10x.h" uint8_t Spi1Init(void); uint8_t HALSpi1InOut(uint8_t data); #endif //end of __HAL_SPI_H__