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

📄 dvb_e2p.h

📁 DVB软件,基于CT216软件的开发源程序.
💻 H
字号:
/**************************************************************************

        (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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -