main.h 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. /**
  2. ******************************************************************************
  3. * @file SPI/SPI_MSD/main.h
  4. * @author MCD Application Team
  5. * @version V1.0.0
  6. * @date 18-May-2012
  7. * @brief Header for main.c module
  8. ******************************************************************************
  9. * @attention
  10. *
  11. * <h2><center>&copy; COPYRIGHT 2012 STMicroelectronics</center></h2>
  12. *
  13. * Licensed under MCD-ST Liberty SW License Agreement V2, (the "License");
  14. * You may not use this file except in compliance with the License.
  15. * You may obtain a copy of the License at:
  16. *
  17. * http://www.st.com/software_license_agreement_liberty_v2
  18. *
  19. * Unless required by applicable law or agreed to in writing, software
  20. * distributed under the License is distributed on an "AS IS" BASIS,
  21. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  22. * See the License for the specific language governing permissions and
  23. * limitations under the License.
  24. *
  25. ******************************************************************************
  26. */
  27. /* Define to prevent recursive inclusion -------------------------------------*/
  28. #ifndef __MAIN_H
  29. #define __MAIN_H
  30. /* Includes ------------------------------------------------------------------*/
  31. #include <stdint.h>
  32. #include "stm32f10x_gpio.h"
  33. #include "stm32f10x_spi.h"
  34. #include "stm32f10x_rcc.h"
  35. #include "stm32_eval_spi_sd.h"
  36. #include "stm32f10x_conf.h"
  37. #include "stm32f10x_gpio.c"
  38. #include "stm32f10x_rcc.c"
  39. #include "stm32f10x_spi.c"
  40. #include "stm32_eval_spi_sd.c"
  41. /* Exported types ------------------------------------------------------------*/
  42. typedef enum {FAILED = 0, PASSED = !FAILED} TestStatus;
  43. /* Exported constants --------------------------------------------------------*/
  44. #define BUFFERSIZE 512
  45. /* Exported macro ------------------------------------------------------------*/
  46. /* Exported functions ------------------------------------------------------- */
  47. #endif /* __MAIN_H */
  48. /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/