www.pudn.com > SEEDVPM642_esam.rar > seeddm642_esam.h


/* 
 *  Copyright 2004 by SEED Incorporated. 
 *  All rights reserved. Property of SEED Incorporated. 
 */ 
 
/* 
 *  ======== seeddm642_esam.h ======== 
 * 
 */ 
#include  
#include  
#include  
#include  
  
/***********************************************************************/ 
/*																	   */ 
/*	seeddm642_esam_open												   */ 
/*		描述:	初始化定时器,为读写ESAM进行初始化					   */ 
/*      参数:  无													   */ 
/*      返回:  无													   */ 
/*																	   */ 
/***********************************************************************/ 
void seeddm642_esam_open(); 
/***********************************************************************/ 
/*																	   */ 
/*	seeddm642_esam_reset 											   */ 
/*		描述:	使ESAM卡复位										   */ 
/*      参数:  无													   */ 
/*      返回:  无													   */ 
/*																	   */ 
/***********************************************************************/ 
void seeddm642_esam_reset(); 
/***********************************************************************/ 
/*																	   */ 
/*	seeddm642_esam_read 											   */ 
/*		描述:	读取ESAM的数据										   */ 
/*      参数:  src  :接收数据缓冲区								   */ 
/*              length :接收到的数据的个数                             */ 
/*      返回:  无													   */ 
/*																	   */ 
/***********************************************************************/ 
int seeddm642_esam_read(Uint32 src, Uint32 length); 
/***********************************************************************/ 
/*																	   */ 
/*	seeddm642_esam_write 											   */ 
/*		描述:	写入ESAM的数据										   */ 
/*      参数:  src  :接收数据缓冲区								   */ 
/*              length :发送的数据的个数                               */ 
/*      返回:  无													   */ 
/***********************************************************************/ 
void seeddm642_esam_write(Uint32 src, Uint32 length);