write_erase_secure_gnu.h
来自「擦写ARM7单片机lpc2364.lpc2366.lpc2368.lpc2378」· C头文件 代码 · 共 17 行
H
17 行
#ifndef _WRITE_ERASE_SECURE_H
#define _WRITE_ERASE_SECURE_H
typedef enum
{
SUCCESS=300,
INVALID_SECTOR=301,
SECTOR_ALREADY_SECURED=302,
NOT_EXECUTING_IN_RAM=303,
WRONG_PART=304
}WES_Return_Code;
extern WES_Return_Code __attribute__((section("ramrun"),long_call)) write_erase_secure_user_sector(unsigned start, unsigned end, unsigned cclk);
extern WES_Return_Code __attribute__((section("ramrun"),long_call)) write_erase_secure_boot_sector(unsigned cclk);
extern unsigned __attribute__((section("ramrun"),long_call)) write_erase_secure_get_version(void);
#endif /* _WRITE_ERASE_SECURE_H Do not add any thing below this line */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?