aic23tx.c

来自「CHP 2 - Real-Time Digital Signal Process」· C语言 代码 · 共 26 行

C
26
字号
// 
//  Project: Experiment 2.10.7 Use AIC23 via McBSP - Chapter 2 
//  File name: aic23Tx.c   
//  Function(s): aic23Tx()        
//
//  Description: This function sends 16-bit data to C5510 DSK's board AIC23
//
//  For the book "Real Time Digital Signal Processing: 
//                Implementation and Application, 2nd Ed"
//                By Sen M. Kuo, Bob H. Lee, and Wenshun Tian
//                Publisher: John Wiley and Sons, Ltd
//
//  Tools used: CCS v.2.12.07
//              TMS320VC5510 DSK Rev-C
//

#include "aic23.h"
#include "mcbsp.h"

#pragma CODE_SECTION(aic23Tx,    ".text:example:aic23Tx");

short aic23Tx(short data)
{
  return (mcbsp2DatTx(data));
}

⌨️ 快捷键说明

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