⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 aic23powerdown.c

📁 CHP 2 - Real-Time Digital Signal Processing: Implementations and Applications, Second Edition by Sen
💻 C
字号:
// 
//  Project: Experiment 2.10.7 Use AIC23 via McBSP - Chapter 2 
//  File name: aic23Powerdown.c   
//  Function(s): aic23Powerdown()        
//
//  Description: This function will power down the C55x DSK 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(aic23Powerdown, ".text:example:aic23Powerdown");

void aic23Powerdown(void)
{
  ioport volatile unsigned short*p;      
    
  p = (ioport volatile unsigned short*)(McBSP_BASE+McBSP1_OFFSET+DXR1); 
  mcbsp1CtlTx(p, (short)(AIC23_POWERDOWN_CTL|AIC23_POWERDOWN_OFF_VAL));
}

⌨️ 快捷键说明

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