security.c

来自「关于XD256的应用实例,用于汽车电子开发之用」· C语言 代码 · 共 16 行

C
16
字号
#include "VTypes.h"

const uint BDKey1 = 0xffff;	/* Backdoor Key word 1 */
const uint BDKey2 = 0xffff;	/* Backdoor Key word 2 */
const uint BDKey3 = 0xffff;	/* Backdoor Key word 3 */
const uint BDKey4 = 0xffff;	/* Backdoor Key word 4 */
const uchar Res08 = 0xff;	/* reserved */
const uchar Res09 = 0xff;	/* reserved */
const uchar BlkPrt3 = 0xff;	/* Protection byte for Flash block 3 */
const uchar BlkPrt2 = 0xff;	/* Protection byte for Flash block 2 */
const uchar BlkPrt1 = 0xff;	/* Protection byte for Flash block 1 */
const uchar BlkPrt0 = 0xff;	/* Protection byte for Flash block 0 */
const uchar Res0e = 0xff;	/* reserved */
const uchar Sec = 0xfe;		/* Security byte */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?