1 /* 2 * Copyright (c) 2019 Winner Microelectronics Co., Ltd. 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 * 6 * Change Logs: 7 * Date Author Notes 8 * 2018-11-12 fanwenl 1st version 9 */ 10 11 #ifndef __DRV_SPI_BUS_H__ 12 #define __DRV_SPI_BUS_H__ 13 14 #include <rtthread.h> 15 16 int wm_hw_spi_bus_init(void); 17 rt_err_t wm_spi_bus_attach_device(const char *bus_name, const char *device_name, rt_uint32_t pin); 18 19 #endif 20