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

📄 dma_test_misc0.c

📁 MMI层OBJ不能完全编译
💻 C
字号:
/**
 * @file	dma_test_misc0.c
 *
 * Gathers functions used for demonstration of DMA SWE.
 *
 * @author	ICT Embedded B.V.
 * @version 0.1
 */

/*
 * History:
 *
 *	Date       	Author					Modification
 *	-------------------------------------------------------------------
 *	14/08/2003	                        Create.
 *
 * (C) Copyright 2003 by ICT Embedded, All Rights Reserved
 */

#include "rvm/rvm_api.h"
#include "rvm/rvm_use_id_list.h"

#include "dma/dma_api.h"
#include "dma/tests/dma_test_misc.h"


/**
 * Start of a simple test of DMA SWE.
 */
void dma_test_misc_1(void)
{
  rtest_send_result(TEST_PASSED);
}

/**
 * Start of a simple test of DMA SWE.
 */
void dma_test_misc_2(void)
{
  rtest_send_result(TEST_PASSED);
}


/**
 * Main function multiplexing the different demos to process.
 *
 * This function returns the result of the test.
 *
 * @param	test_number		Number of the test to process
 * @return	Result of the test.
 */
T_RV_MISC_RET dma_test_misc0(T_RV_MISC_TEST_NBR test_number)
{
	T_RV_TEST_RET test_verdict;

	switch (test_number)
	{
	case TI_TEST1:
		RV_TEST_TRACE_WARNING("*** DMA MISC 1 BEGINS");
		
		test_verdict = rtest_start_test(dma_test_misc_1);
		rtest_trace_test_verdict(test_verdict);

		return test_verdict;

  case TI_TEST2:
		RV_TEST_TRACE_WARNING("*** DMA MISC 2 BEGINS");
		
		test_verdict = rtest_start_test(dma_test_misc_2);
		rtest_trace_test_verdict(test_verdict);

		return test_verdict;

	default:
		RV_TEST_TRACE_WARNING("DMA Test: Wrong test number");

		return TEST_IRRECOVERABLY_FAILED;
	}
}

⌨️ 快捷键说明

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