omap3530/beagle_drivers/wb/api/include/cyashalcb.h
changeset 27 117faf51deac
equal deleted inserted replaced
26:b7e488c49d0d 27:117faf51deac
       
     1 /* Cypress West Bridge API header file (cyashalcb.h)
       
     2  ## ===========================
       
     3  ##
       
     4  ##  Copyright Cypress Semiconductor Corporation, 2006-2009,
       
     5  ##  All Rights Reserved
       
     6  ##  UNPUBLISHED, LICENSED SOFTWARE.
       
     7  ##
       
     8  ##  CONFIDENTIAL AND PROPRIETARY INFORMATION
       
     9  ##  WHICH IS THE PROPERTY OF CYPRESS.
       
    10  ##
       
    11  ##  Use of this file is governed
       
    12  ##  by the license agreement included in the file
       
    13  ##
       
    14  ##     <install>/license/license.txt
       
    15  ##
       
    16  ##  where <install> is the Cypress software
       
    17  ##  installation root directory path.
       
    18  ##
       
    19  ## ===========================
       
    20 */
       
    21 
       
    22 #ifndef _INCLUDED_CYASHALCB_H_
       
    23 #define _INCLUDED_CYASHALCB_H_
       
    24 
       
    25 /* Summary
       
    26    This type defines a callback function type called when a DMA operation has completed.
       
    27 
       
    28    Description
       
    29 
       
    30    See Also
       
    31    * CyAsHalDmaRegisterCallback
       
    32    * CyAsHalDmaSetupWrite
       
    33    * CyAsHalDmaSetupRead
       
    34 */
       
    35 typedef void (*CyAsHalDmaCompleteCallback)(
       
    36 	CyAsHalDeviceTag tag,
       
    37 	CyAsEndPointNumber_t ep, 
       
    38 	uint32_t cnt,
       
    39 	CyAsReturnStatus_t ret) ;
       
    40 
       
    41 typedef CyAsHalDmaCompleteCallback CyAnHalDmaCompleteCallback;
       
    42 #endif