NationsHuanghanbin afe6c0386d
[n32] 增加多个BSP支持 (#6543)
add bsp n32g43xcl-stb,n32g45xcl-stb,n32g45xml-stb,n32g45xrl-stb,n32g457qel-stb,n32l40xcl-stb,n32l43xml-stb,n32l43xrl-stb,n32l436_evb,n32wb45xl-evb
2022-10-19 21:40:14 -04:00

35 lines
505 B
C

/*
* Copyright (c) 2006-2022, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2022-10-19 Nations first version
*/
#ifndef __DRV_SPI_H__
#define __DRV_SPI_H__
#include <rthw.h>
#include <rtthread.h>
#include <board.h>
#ifdef __cplusplus
extern "C" {
#endif
struct n32_spi_cs
{
GPIO_Module* GPIOx;
uint32_t GPIO_Pin;
};
int rt_hw_spi_init(void);
#ifdef __cplusplus
}
#endif
#endif /* __DRV_SPI_H__ */