Return to previous page Return to menu Go to next page

[Low level CPU]

  Title  
Data specifications
  Data  
DMA channel
  Data name  
None
No
3

Use the following constants when specifying the DMA channel of the CPU.

 Constant 
 Description 
 DMA_CPU_CH0 
 Channel 0 
 DMA_CPU_CH1 
 Channel 1 

  Title  
Data specifications
  Data  
Common transfer parameters
  Data name  
DmaCpuComPrm
No
4

Common transfer parameters have the following structure.

struct     {
     Uint32 pr; / * Priority mode * /
     Uint32 dme; / * DMA master enable * /
     Uint32 msk; / * Mask bit * /
}DmaCpuComPrm;

The following constants can be used for each member.

 pr / * Priority mode * / 

 Constant 
 Description 
 DMA_CPU_FIX 
 priority fixed 
 DMA_CPU_ROR 
 Priority is round robin 

 dme / * DMA master enable * / 

 Constant 
 Description 
 DMA_CPU_DIS 
 Disallow DMA transfer on all channels 
 DMA_CPU_ENA 
 Allow DMA transfer on all channels 

 msk / * Mask bit * / 

Member write mask bits. The bits specified by the following constants are not written (set). Multiple specification by logical sum is possible.

 Constant 
 Description 
 DMA_CPU_M_PR 
 Priority mode 
 DMA_CPU_M_AE 
 Address error flag 
 DMA_CPU_M_NMIF 
 NMI flag 
 DMA_CPU_M_DME 
 DMA master enable 


Return to previous page Return to menu |