dsk5402_mcbsp_ad50.h

来自「DM642的一些基本功能例程。包括一些图像处理例子」· C头文件 代码 · 共 41 行

H
41
字号
/*
 *  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.10.00.23 07-02-03 (ddk-b12)" */
/*
 *  ======== 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

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?