dsk5402_mcbsp_ad50.h
上传用户:dahaojd
上传日期:2008-01-29
资源大小:14357k
文件大小:1k
- /*
- * Copyright 2003 by Texas Instruments Incorporated.
- * All rights reserved. Property of Texas Instruments Incorporated.
- * Restricted rights to use, duplicate or disclose this code are
- * granted through contract.
- *
- */
- /* "@(#) DDK 1.11.00.00 11-04-03 (ddk-b13)" */
- /*
- * ======== dsk5402_mcbsp_ad50.h ========
- *
- * This file declares an implementation of the IO mini-driver interface
- * for performing I/O with the TI AD50 audio codec on the TI 5402 DSP
- * Starter Kit (DSK) using McBSP for sample-by-sample on the 5402 device.
- * The codec is configured for 8khz sample rate, 16 bit data.
- */
- #ifndef DSK5402_MCBSP_AD50_
- #define DSK5402_MCBSP_AD50_
- #include <iom.h>
- #include <ad50.h>
- /* Driver function table to be used by applications. */
- extern IOM_Fxns DSK5402_MCBSP_AD50_FXNS;
- /* Setup structure for the driver (contains only codec registers) */
- typedef struct DSK5402_MCBSP_AD50_DevParams {
- AD50_Params ad50; /* codec parameters (registers) */
- } DSK5402_MCBSP_AD50_DevParams;
- /* Name of the default device params structure, defined in the driver module */
- extern DSK5402_MCBSP_AD50_DevParams DSK5402_MCBSP_AD50_DEVPARAMS;
- /* Mini-driver init function -- initializes driver variables, if any */
- extern Void DSK5402_MCBSP_AD50_init( Void );
- #endif