📄 dsk5402_mcbsp_ad50.h
字号:
/*
* 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -