📄 sadma.h
字号:
/*----------------------------------------------------------------------
* Copyright (C) 1999 Intel Corp.
*/
#ifndef _sadma_h
#define _sadma_h
void * SA_AllocateDMA(volatile struct dmareg *ddaP,int source, int endian);
void SA_InitiateDMA(volatile struct dmachannel * ddaP);
void SA_ReleaseDMA(volatile struct dmachannel * ddaP);
void SA_StartDMA(volatile struct dmachannel * p, void * ba, int len, int ie);
int SA_GetChannelDMA(volatile struct dmachannel * p);
int SA_CheckDMA(volatile struct dmachannel * p);
void SA_PumpDMA(volatile struct dmachannel * ddaP, ULONG ba, int len, int use_b);
int SA_GetDMABuffer(volatile struct dmachannel * p);
int SA_SetDMABuffer(volatile struct dmachannel * p, int buf, void * ba);
void SA_PauseDMA(volatile struct dmachannel * p);
void SA_ResumeDMA(volatile struct dmachannel * p);
void SA_ClearDMA(volatile struct dmachannel * p, int buf);
void SA_StopDMA(volatile struct dmachannel * ddaP);
void SA11x0_DMA_Init(volatile struct dmareg *dmaP);
#endif /* _sadma_h */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -