⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 drvflash.h

📁 mstar 776 开发的车载dvd
💻 H
字号:
////////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2006-2007 MStar Semiconductor, Inc.
// All rights reserved.
//
// Unless otherwise stipulated in writing, any and all information contained
// herein regardless in any format shall remain the sole proprietary of
// MStar Semiconductor Inc. and be kept in strict confidence
// (¨MStar Confidential Information〃) by the recipient.
// Any unauthorized act including without limitation unauthorized disclosure,
// copying, use, reproduction, sale, distribution, modification, disassembling,
// reverse engineering and compiling of the contents of MStar Confidential
// Information is unlawful and strictly prohibited. MStar hereby reserves the
// rights to any and all damages, losses, costs and expenses resulting therefrom.
//
////////////////////////////////////////////////////////////////////////////////

#ifndef _DRVFLASH_H_
#define _DRVFLASH_H_

extern BOOLEAN MDrv_Flash_Write(U32 u32addr, U32 u32size, U8* pdat);
extern BOOLEAN MDrv_Flash_Read(U32 u32addr, U32 u32size, U8* pdat);
extern BOOLEAN MDrv_Flash_WriteProtect(BOOLEAN);
extern void MDrv_SerFlash_Init(void);
extern BOOLEAN MDrv_SerFlash_ReadID(U8 *pu8Data, U8 u32Size);
//extern BOOLEAN MDrv_SerFlash_EraseSec(U16 u32StartSec, U16 u32EndSec);
extern BOOLEAN MDrv_Flash_Erase(U16 u32StartSec, U16 u32EndSec, U8 u8Wait);
extern BOOLEAN MDrv_Flash_CheckWriteDone(void);
//extern U8 MDrv_Flash_GetFactoryTestSetting( void );

#endif // _DRVFLASH_H_

⌨️ 快捷键说明

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