You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
418 B
20 lines
418 B
5 months ago
|
/*
|
||
|
* Copyright (c) 2019 Winner Microelectronics Co., Ltd.
|
||
|
*
|
||
|
* SPDX-License-Identifier: Apache-2.0
|
||
|
*
|
||
|
* Change Logs:
|
||
|
* Date Author Notes
|
||
|
* 2018-11-12 fanwenl 1st version
|
||
|
*/
|
||
|
|
||
|
#ifndef __DRV_SPI_BUS_H__
|
||
|
#define __DRV_SPI_BUS_H__
|
||
|
|
||
|
#include <rtthread.h>
|
||
|
|
||
|
int wm_hw_spi_bus_init(void);
|
||
|
rt_err_t wm_spi_bus_attach_device(const char *bus_name, const char *device_name, rt_uint32_t pin);
|
||
|
|
||
|
#endif
|