2013-01-08 22:40:58 +08:00
|
|
|
/*
|
2021-03-20 22:39:00 +08:00
|
|
|
* Copyright (c) 2006-2021, RT-Thread Development Team
|
2013-01-08 22:40:58 +08:00
|
|
|
*
|
2021-03-20 22:39:00 +08:00
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
2013-01-08 22:40:58 +08:00
|
|
|
*
|
|
|
|
* Change Logs:
|
|
|
|
* Date Author Notes
|
|
|
|
* 2011-12-16 aozima the first version
|
|
|
|
* 2012-02-01 mbbill MTD driver version
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef SST25VFXX_MTD_H
|
|
|
|
#define SST25VFXX_MTD_H
|
|
|
|
|
|
|
|
#include <rtthread.h>
|
2024-09-14 05:40:40 +08:00
|
|
|
#include "drivers/dev_spi.h"
|
2013-01-08 22:40:58 +08:00
|
|
|
|
|
|
|
rt_err_t sst25vfxx_mtd_init(const char *spi_device_name, rt_uint32_t block_start, rt_uint32_t block_end);
|
|
|
|
|
|
|
|
#endif
|