91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 257KB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發(fā)布日期: 2021-05-27
  • 語言: 其他
  • 標(biāo)簽:

資源簡介

基于凌陽SPCE061A的語音播報程序。

資源截圖

代碼片段和文件信息

//========================================================
// The?information?contained?herein?is?the?exclusive?property?of
// Sunnnorth?Technology?Co.?And?shall?not?be?distributed?reproduced
// or?disclosed?in?whole?in?part?without?prior?written?permission.
// (C)?COPYRIGHT?2003?SUNNORTH?TECHNOLOGY?CO.
// ALL?RIGHTS?RESERVED
// The?entire?notice?above?must?be?reproduced?on?all?authorized?copies.
//========================================================

//========================================================
// 工程名稱: ex1_A2000_Auto
// 功能描述: 《實驗指導(dǎo)書》語音部分第一個實驗
// 通過自動、手動兩種方式播放兩段語音資源
// 涉及的庫: CMacro1016.lib
// sacmv26e.lib
// 組成文件: main.c
// hardware.asmisr.asm
// hardware.inca2000.inc
// a2000.hhardware.h
// 硬件連接: DAC音頻跳線短接
// 維護(hù)記錄: 2005-09-12 v1.0
//
//========================================================

//========================================================
// 文件名稱: main.c
// 功能描述: 通過自動方式播放兩段語音資源
// 維護(hù)記錄: 2005-09-12 v1.0
//========================================================

#include?“a2000.h“

#define?P_Watchdog_Clear (volatile?unsigned?int?*)0x7012

void?PlaySnd_Auto(unsigned?int?uiSndIndexunsigned?int?uiDAC_Channel);

//========================================================
// 語法格式: int?main(void)
// 實現(xiàn)功能: 調(diào)用語音播放函數(shù),通過自動方式播放兩段語音資源
// 參數(shù): 無
// 返回值: 無
//========================================================

int?main(void)
{
while(1)
{
PlaySnd_Auto(01); //調(diào)用播放程序,播放第0段語音,采用DAC1播放
PlaySnd_Auto(11); //調(diào)用播放程序,播放第1段語音,采用DAC1播放
//播放序號的列表在Resource.asm文件的最后的表中定義
*P_Watchdog_Clear?=?0x0001;
}
}

//========================================================
// 語法格式: void?PlaySnd_Auto(unsigned?int?uiSndIndexunsigned?int?uiDAC_Channel)
// 實現(xiàn)功能: 通過自動方式播放語音資源
// 參數(shù): 1.uiSndIndex:語音資源序號?2.uiDAC_Channel:語音播放通道
// 返回值: 無
//========================================================

void?PlaySnd_Auto(unsigned?int?uiSndIndexunsigned?int?uiDAC_Channel)
{
SACM_A2000_Initial(1); //初始化語音播放,自動方式
SACM_A2000_Play(uiSndIndexuiDAC_Channel3); //播放語音
while((SACM_A2000_Status()?&?0x0001)?!=?0) //判斷當(dāng)前是否在播放?返回最低位為1則表示當(dāng)前在播放
{
SACM_A2000_ServiceLoop(); //服務(wù)程序
*P_Watchdog_Clear?=?0x0001;
}
SACM_A2000_Stop(); //停止
}

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件???????1445??2008-04-18?12:07??ex1_A2000_Auto\a2000.h

?????文件???????1370??2008-04-18?12:07??ex1_A2000_Auto\a2000.inc

?????文件??????19796??2010-11-16?16:35??ex1_A2000_Auto\Debug\d1_24K.res

?????文件???????1299??2010-11-16?16:35??ex1_A2000_Auto\Debug\ex1_A2000_Auto.ary

?????文件??????57181??2010-11-16?16:35??ex1_A2000_Auto\Debug\ex1_A2000_Auto.map

?????文件?????152988??2010-11-16?16:35??ex1_A2000_Auto\Debug\ex1_A2000_Auto.S37

?????文件??????15742??2010-11-16?16:35??ex1_A2000_Auto\Debug\ex1_A2000_Auto.sbm

?????文件???????3614??2010-11-16?16:35??ex1_A2000_Auto\Debug\ex1_A2000_Auto.smy

?????文件???????6918??2010-11-16?16:35??ex1_A2000_Auto\Debug\ex1_A2000_Auto.sym

?????文件??????57172??2010-11-16?16:35??ex1_A2000_Auto\Debug\hardware.lst

?????文件??????45485??2010-11-16?16:35??ex1_A2000_Auto\Debug\hardware.obj

?????文件??????21898??2010-11-16?16:35??ex1_A2000_Auto\Debug\isr.lst

?????文件??????18527??2010-11-16?16:35??ex1_A2000_Auto\Debug\isr.obj

?????文件???????6266??2010-11-16?16:35??ex1_A2000_Auto\Debug\main.asm

?????文件??????33415??2010-11-16?16:35??ex1_A2000_Auto\Debug\main.lst

?????文件???????9891??2010-11-16?16:35??ex1_A2000_Auto\Debug\main.obj

?????文件???????1818??2010-11-16?16:35??ex1_A2000_Auto\Debug\Resource.lst

?????文件???????4101??2010-11-16?16:35??ex1_A2000_Auto\Debug\Resource.obj

?????文件??????22244??2010-11-16?16:35??ex1_A2000_Auto\Debug\ww_24k.res

?????文件???????1536??2008-04-18?12:07??ex1_A2000_Auto\Device.env

?????文件????????567??2010-11-16?16:48??ex1_A2000_Auto\ex1_A2000_Auto.env

?????文件?????????97??2008-04-18?12:07??ex1_A2000_Auto\ex1_A2000_Auto.h

?????文件???????2121??2010-11-16?16:35??ex1_A2000_Auto\ex1_A2000_Auto.lik

?????文件????????916??2010-11-16?16:48??ex1_A2000_Auto\ex1_A2000_Auto.opt

?????文件????????312??2008-04-18?12:07??ex1_A2000_Auto\ex1_A2000_Auto.rc

?????文件????????744??2008-04-18?12:07??ex1_A2000_Auto\ex1_A2000_Auto.set

?????文件???????3729??2008-04-18?12:07??ex1_A2000_Auto\ex1_A2000_Auto.spj

?????文件??????28435??2008-04-18?12:07??ex1_A2000_Auto\hardware.asm

?????文件???????6328??2008-04-18?12:07??ex1_A2000_Auto\hardware.h

?????文件??????10310??2008-04-18?12:07??ex1_A2000_Auto\hardware.inc

............此處省略14個文件信息

評論

共有 條評論

相關(guān)資源