2010-06-22 20:36:28 +00:00
|
|
|
class CDMA
|
|
|
|
{
|
|
|
|
CDMA();
|
|
|
|
|
2010-09-22 21:43:42 +00:00
|
|
|
public:
|
|
|
|
void SP_DMA_READ ( void );
|
|
|
|
void SP_DMA_WRITE ( void );
|
|
|
|
void PI_DMA_READ ( void );
|
|
|
|
void PI_DMA_WRITE ( void );
|
|
|
|
|
2010-06-22 20:36:28 +00:00
|
|
|
protected:
|
|
|
|
CDMA (CFlashram & FlashRam, CSram & Sram);
|
|
|
|
|
|
|
|
//void SI_DMA_READ ( void );
|
|
|
|
//void SI_DMA_WRITE ( void );
|
|
|
|
|
|
|
|
private:
|
|
|
|
CFlashram & m_FlashRam;
|
|
|
|
CSram & m_Sram;
|
|
|
|
|
|
|
|
void OnFirstDMA ( void );
|
|
|
|
};
|
|
|
|
|
|
|
|
|