// #pragma once // /* Includes ----------------------------------------------------------------- */ // #include // #include "bsp/bsp.h" // /* Exported constants ------------------------------------------------------- */ // /* Exported macro ----------------------------------------------------------- */ // /* Exported types ----------------------------------------------------------- */ // /* 要添加使用SPI的新设备,需要先在此添加对应的枚举值 */ // /* SPI实体枚举,与设备对应 */ // typedef enum { // BSP_SPI_LCD, // } BSP_SPI_t; // /* Exported functions prototypes -------------------------------------------- */ // SPI_HandleTypeDef *BSP_SPI_GetHandle(BSP_SPI_t spi);