用于EagleEye3.0 规则集漏报和误报测试的示例项目,项目收集于github和gitee
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.
|
|
/*
|
|
|
* @ : Copyright (c) 2021 Phytium Information Technology, Inc.
|
|
|
*
|
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
|
*
|
|
|
* @Date: 2021-04-25 14:01:39
|
|
|
* @LastEditTime: 2021-04-29 09:40:13
|
|
|
* @Description: This files is for
|
|
|
*
|
|
|
* @Modify History:
|
|
|
* Ver Who Date Changes
|
|
|
* ----- ------ -------- --------------------------------------
|
|
|
*/
|
|
|
#ifndef FT_DRIVERS_RTT_SPI_H
|
|
|
#define FT_DRIVERS_RTT_SPI_H
|
|
|
|
|
|
#include <rtthread.h>
|
|
|
|
|
|
#define SPI_BUS_NAME "spi0"
|
|
|
#define SPI_DEV_NAME "S25FS256"
|
|
|
|
|
|
rt_err_t rt_hw_spi_device_attach(const char *bus_name, const char *device_name, rt_uint16_t cs_gpio_pin);
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
extern "C"
|
|
|
{
|
|
|
#endif
|
|
|
|
|
|
#endif
|
|
|
|