📄 otp.h
字号:
/*****************************************************************************/
/* */
/* PROJECT : PocketStoreII */
/* FILE : OTP.h */
/* PURPOSE : the routine get Unique ID from NAND flash memory */
/* */
/*---------------------------------------------------------------------------*/
/* */
/* COPYRIGHT 2002 SAMSUNG ELECTRONICS CO., LTD. */
/* ALL RIGHTS RESERVED */
/* */
/* Permission is hereby granted to licensees of Samsung Electronics */
/* Co., Ltd. products to use or abstract this computer program for the */
/* sole purpose of implementing a product based on Samsung */
/* Electronics Co., Ltd. products. No other rights to reproduce, use, */
/* or disseminate this computer program, whether in part or in whole, */
/* are granted. */
/* */
/* Samsung Electronics Co., Ltd. makes no representation or warranties */
/* with respect to the performance of this computer program, and */
/* specifically disclaims any responsibility for any damages, */
/* special or consequential, connected with the use of this program. */
/* */
/*---------------------------------------------------------------------------*/
/* */
/* REVISION HISTORY */
/* */
/* 03-FEB-2006 [Hyunsoo Cho] : OTP functions for user application */
/* */
/*****************************************************************************/
#ifndef _POCKETSTOREII_OTP_H_
#define _POCKETSTOREII_OTP_H_
/*****************************************************************************/
/* Header File Include */
/*****************************************************************************/
#include <windows.h>
#include <XSR.h>
/*****************************************************************************/
/* Global Variable Declaration */
/*****************************************************************************/
/*****************************************************************************/
/* Debug Definitions */
/*****************************************************************************/
extern "C"
{
BOOL
OndOTPRead( UINT32 nPsn, UCHAR* pData );
BOOL
OndOTPWrite( UINT nPsn, UCHAR* pData );
BOOL
OndOTPLock( UINT32 nLock);
BOOL
OndOTPStatus( UINT32 nLock );
}
#endif _POCKETSTOREII_OTP_H_
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -