1234567891011121314151617181920212223242526272829 |
- /**
- * @file softspi_conf.h
- * @author Myth
- * @version 0.2
- * @date 2021.10.12
- * @brief STM32 SoftSPI Library Config File
- */
- #ifndef DEV_SPI_CONF_H
- #define DEV_SPI_CONF_H
- // Set your HAL Library here.
- #include "stm32f7xx_hal.h"
- //#define USE_OBJ_SOFT_W25QXX
- #ifdef USE_OBJ_SOFT_W25QXX
- #undef USE_OBJ_HAL_W25QXX
- #else
- #define USE_OBJ_HAL_W25QXX
- #endif
- #include "sys_delay.h"
- // Set your owm Delay_us function here.
- #define SoftSPI_Delay_us(__time__) delay_us(__time__)
- #endif
|