dvb_e2p.h

来自「DVB软件,基于CT216软件的开发源程序.」· C头文件 代码 · 共 54 行

H
54
字号
/**************************************************************************

        (C)Copyright Cheertek Inc. 2002-2004,
           K000, all right reserved.

        Product : STB Firmware

****************************************************************************/

#ifndef __DVB_NVRAM_H
#define __DVB_NVRAM_H
/*! 
\file
This module provides the API to access NVRAM(Non-Volatile RAM).
*/

#include "dvb_type.h"

bool8 DVB_NVRAM_SetParameter(u8 u8IIC_Addr, u16 u16StartPos, u16 u16Totalsize);
/*! 
\fn 	bool8 DVB_NVRAM_SetParameter(u8 u8IIC_Addr, u16 u16StartPos, u16 u16Totalsize)
\brief 	Set the NVRAM parameter.
\param 	u8IIC_Addr (Input) the address of NVRAM.  This parameter is for EEPROM, otherwise is no used.
\param 	u16StartPos (Input) the start position of NVRAM.
\param 	u16Totalsize (Input) the total size of NVRAM.
\return TRUE - success.
\return FALSE - fail.
*/


bool8 DVB_NVRAM_Read(u8 *pData, u16 u16Length, u16 u16Offset);
/*! 
\fn 	bool8 DVB_NVRAM_Read(u8 *pData, u16 u16Length, u16 u16Offset)
\brief	Read the data from NVRAM.
\param	pData (Output) pointer to a buffer that receives the data read from NVRAM.
\param	u16Length (Input) Number of bytes to be read from NVRAM.
\param	u16Offset (Input) the start offset in NVRAM.
\return TRUE - success.
\return FALSE - fail.
*/

bool8 DVB_NVRAM_Write(u8 *pData, u16 u16Length, u16 u16Offset);
/*! 
\fn 	bool8 DVB_NVRAM_Write(u8 *pData, u16 u16Length, u16 u16Offset)
\brief 	Write the data to NVRAM.
\param 	pData (Input) pointer to a buffer containing data to be written to the NVRAM.
\param 	u16Length (Input) Number of bytes to be written to the NVRAM.
\param	u16Offset (Input) the start offset in NVRAM
\return	TRUE - success.
\return	FALSE - fail.
*/

#endif

⌨️ 快捷键说明

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