blob: b628983ce3155c14c5c2f32a03843c1f805d4f35 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
/*
* Copyright (c) 2006-2021, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
* Change Logs:
* Date Author Notes
* 2017-12-04 Haley the first version
*/
#ifndef __FLASH_H_
#define __FLASH_H_
#include <rtthread.h>
/* Erase feature struct define */
struct rom_control_erase
{
rt_uint8_t type;
rt_uint32_t addrstart;
rt_uint32_t pagenums;
};
/**
* @brief External function definitions
*
*/
int rt_hw_rom_init(void);
#endif // __FLASH_H_
|