?? dsk5402_dma_ad50.h
字號(hào):
/*
* Copyright 2002 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.
*
*/
/*
* ======== dsk5402_dma_ad50.h ========
*
* This file declares an implementation of the LIO interface for
* performaing streaming I/O with the TI AD50 audio codec on the TI
* 5402 DSP Starter Kit (DSK) using DMA and McBSP. The codec is
* configured by default for 8khz sample rate, 16 bit data.
*/
#ifndef DSK5402_DMA_AD50_
#define DSK5402_DMA_AD50_
#include "ad50.h"
/* Setup structure for the driver (contains only codec registers) */
typedef struct DSK5402_DMA_AD50_Setup {
AD50_Params ad50; /* codec parameters (registers) */
} DSK5402_DMA_AD50_Setup;
/* Name of the default setup data object, defined in the driver module */
extern DSK5402_DMA_AD50_Setup DSK5402_DMA_AD50_SETUP;
/* Controller init function -- initializes driver variables, if any */
extern Void DSK5402_DMA_AD50_init( Void );
/*
* Driver setup() function, called by the user after the init() function
* above. Either the address of a driver setup object is passed, or NULL,
* in which case the function will use the default setup object, declared
* above.
*/
extern Void DSK5402_DMA_AD50_setup( DSK5402_DMA_AD50_Setup *setup );
Void startDma(Ptr, Ptr, Uns);
#endif
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -