fdma.h
上传用户:fy98168
上传日期:2015-06-26
资源大小:13771k
文件大小:1k
- /*****************************************************************************
- File Name : fdma.h
- Description : 5100 FDMA header
- COPYRIGHT (C) 2004 STMicroelectronics
- *****************************************************************************/
- #ifndef __FDMA_H
- #define __FDMA_H
- /* Includes --------------------------------------------------------------- */
- #include "stddefs.h" /* STAPI includes */
- #include "stfdma.h"
- /* Definitions ------------------------------------------------------------ */
- #define KB_FDMA_INST 1
- #define KB_FDMA_DEVICE_TYPE STFDMA_DEVICE_FDMA_2
- #ifndef KB_FDMA_BASE_ADDRESS
- #define KB_FDMA_BASE_ADDRESS ST5105_FDMA_BASE_ADDRESS
- #endif
- #ifndef KB_FDMA_INTERRUPT
- #define KB_FDMA_INTERRUPT ST5105_FDMA_INTERRUPT
- #endif
- #ifndef KB_FDMA_INTERRUPT_LEVEL
- #define KB_FDMA_INTERRUPT_LEVEL 14
- #endif
- /* Global ----------------------------------------------------------------- */
- extern ST_DeviceName_t g_KB_FDMADeviceName[KB_FDMA_INST];
- /* Prototypes ------------------------------------------------------------- */
- ST_ErrorCode_t KB_FDMASetup(void);
- #endif /* __FDMA_H */
- /* EOF --------------------------------------------------------------------- */