aic23_test.c

来自「dm270 source code」· C语言 代码 · 共 38 行

C
38
字号
/*
Module Name	: aic23_test.c

Functions	: AIC23_TEST
    
Purpose		: Test aic23

Notes		: 
This function is setting bypass mode.
*/

// Local header files
#include <demo/uart270.h>

// Extern global variables
extern char UART_outBuff[1024];
extern volatile unsigned short	UART0IntFlag;

//
// Test aic23 bypass function

void AIC23_TEST(void) {
    
	UART_sendString( UART0, "\r\n ***************AIC23  TEST***************" );
	AIC23_BYPASS_Init();
	UART_sendString( UART0, "\r\n Voice source insert mic in" );
	UART_sendString( UART0, "\r\n Trumpet line insert audio out" );
	
	UART_sendString( UART0, "\r\n Push Any Key(PC) Exit Test" );
	while(UART0IntFlag);
	UART0IntFlag = 1;
	AIC23_stop();
	UART_sendString( UART0, "\r\n END" );
	UART_sendString( UART0, "\r\n " );
}


⌨️ 快捷键说明

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