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

📄 wavecpud.h

📁 WinCE 3.0 BSP, 包含Inter SA1110, Intel_815E, Advantech_PCM9574 等
💻 H
字号:
/*

  Copyright(c) 2000 Microsoft

	Module Name:

		WaveCPUDp.h


*/
#ifndef __WAVECPUDP_H_
#define __WAVECPUDP_H_
class DmaObject;

extern DmaObject * CreateDmaObject(BOOL bRecord);

class DmaObject {
public:
	DmaObject();
	virtual ~DmaObject();
	virtual BOOL EnableDma()=0;
	virtual BOOL DisableDma()=0;
	virtual BOOL ArmDma(BOOL bFirstBuffer,DWORD dwPhyAddr)=0;
	virtual BOOL StartDma(BOOL bGenInterrupt=TRUE)=0;
	virtual BOOL ReStartDma()=0;
	virtual BOOL StopDma()=0;
	virtual BOOL SetGlobalAddr(BOOL bFirst)=0;
	virtual DWORD GetDmaPhyAddr(BOOL bFirst)=0;
	virtual DWORD GetDmaSourceReg()=0;
	virtual DWORD GetDmaCountReg()=0;
	virtual DWORD GetAudioDmaPageSize()=0;
	virtual PVOID  GetDmaVirtualAddr()=0;
//  Global Address
	DWORD GetGlobalPlayAddress();
	DWORD SetGlobalPlayAddress(DWORD dwPhysicalAddr);

	USHORT GetGlobalOutInt();
	VOID ResetGlobalOutInt(BOOL bDecrement);

	DWORD GetGlobalRecAddress();
	DWORD SetGlobalRecAddress(DWORD dwPhysicalAddr);

	USHORT GetGlobalInInt();
	VOID ResetGlobalInInt(BOOL bDecrement);
private:
	PVOID pDriverGlobals;
};


#endif

⌨️ 快捷键说明

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