【正文】
esign of Cable Interphone Based on SPCE061A MCUDong Jingjing Abstract:The wiredinterphone is an important branch of munication, it is widely used. On the market pssition, Interphone is different from another wireless munication tools, they are difficult to replace and will be used in a long time. This design is a wiredInterphone which based on LINGYANG SPCE061A. This article describes the tunction, performance indicators and principle of interphone. From the works principle of modern electronic system design through the voice processing module of SPCE061A, then make the specific programs. In the specific hardware design, two 61 board posed of transmitting and receiving parts, munication with UART and the CPU plete the function needed.Keywords: wiredinterphone。 入口參數(shù):無 返 回 值:DVR1600 錄放音狀態(tài)編碼 bit0 1:當(dāng)前處于錄/放音狀態(tài);0:當(dāng)前不處于錄/放音狀態(tài) bit1 1:錄音狀態(tài);0:放音狀態(tài) bit2 1:錄放音暫停狀態(tài);0:正常狀態(tài) bit3 1:播放時可通過 DAC1 輸出;0:播放時不通過 DAC1 輸出 bit4 1:播放時可通過 DAC2 輸出;0:播放時不通過 DAC2 輸出 bit5 1:播放起始時采取漸入方式;0:播放起始時不采取漸入方式 bit6 1:播放結(jié)束時采取漸出方式;0:播放結(jié)束時不采取漸出方式 bit7~bit14 保留 bit15 放音時,如果當(dāng)前處于輸出緩沖區(qū)欠載(不能及時進(jìn)行解碼)則該位為 1, 錄音時,如果當(dāng)前處于輸入緩沖區(qū)溢出狀態(tài)則該位為 1。 入口參數(shù):無 返 回 值:無 實(shí)現(xiàn)功能:DVR1600 中斷服務(wù),應(yīng)在 Timer 中斷服務(wù)程序中執(zhí)行該函數(shù)。 入口參數(shù):無 返 回 值:無 實(shí)現(xiàn)功能:停止 DVR1600 錄音或放音 ?? void SACM_DVR1600_ServiceLoop(void)。 入口參數(shù):SoundIndex: 待播放的語音資源序號 DAC_Channel: 語音