Omega Engineering OME-A826PG 사용자 설명서

다운로드
페이지 60
OME-A-826PG Software Manual [Win 95/98/NT] 
 
3.6.8 
Diagram of AD , DMA Mode 
 
 
The 3.6.1 to 3.6.7 are functions to perform the A/D conversion with DMA  
transfer. The flow chart to program these function is giver as follows: 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
   
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
    
 
 
 
 
 
 
 
 
 
 
 
 
A826_DriverInit 
       
      ……. 
      A826_AD_DMA_InstallIrq ( … ) 
       
      ……… 
 
      A826_AD_DMA_Start ( … ) 
 
      …… 
 
            A826_AD_DMA_IsNotFinished ()
   
             ……….. 
 
 
            A826_AD_DMA_GetBuffer ( ) 
 
      …… 
 
      A826_AD_DMA_Stop 
 
       ……… 
 
      A826_AD_DMA_RemoveIrq 
 
      ……… 
 
 
A826_DriverClose 
 
 
 
 
 
 
 
 
  
     
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
  
    
 
 
 
 
 
Stop the interrupt transfer 
Check if finished of data transfer. 
To copy data into user's buffer 
Initialize the Device-Driver 
Install the IRQ 
Close the Device-Driver 
Remove the interrupt handler. 
Start the Interrupt Transfer 
Date: Aug-15-2000             Ver: 2.2                                                                                         Page  53