#include "usmart.h"
#include "usmart_str.h"
////////////////////////////用户配置区///////////////////////////////////////////////
//这下面要包含所用到的函数所申明的头文件(用户自己添加) 
#include "delay.h"
#include "debug.h"
#include "cnn_model.h"
#include "cnn.h"

//函数名列表初始化(用户自己添加)
//用户直接在这里输入要执行的函数名及其查找串
struct _m_usmart_nametab usmart_nametab[]=
{
	(void*)DEBUG,"void DEBUG(void)",
	(void*)SDRAM_USED,"void SDRAM_USED(void)",
	(void*)scan_files,"void scan_files(u8 * path)",

	(void*)modelmym_init,"float* modelmym_init(char* model_name)",
	(void*)modelmym_free,"u8 modelmym_free(char* model_name)",
	(void*)model_write,"u8 model_write(char* model_name)",
	(void*)model_read,"u8 model_read(char* model_name, u32 start, u32 end, u32 gap)",
	(void*)model_switchdata,"u8 model_switchdata(char* model_name)",
	(void*)model_info,"u8 model_info(char* model_name)",
	(void*)model_dataset,"void model_dataset(void)",
	(void*)model_init,"void model_init(void)",

	(void*)_cnn_run,"void _cnn_run(void)",
};						  
///////////////////////////////////END///////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////
//函数控制管理器初始化
//得到各个受控函数的名字
//得到函数总数量
struct _m_usmart_dev usmart_dev=
{
	usmart_nametab,
	usmart_init,
	usmart_cmd_rec,
	usmart_exe,
	usmart_scan,
	sizeof(usmart_nametab)/sizeof(struct _m_usmart_nametab),//函数数量
	0,	  	//参数数量
	0,	 	//函数ID
	1,		//参数显示类型,0,10进制;1,16进制
	0,		//参数类型.bitx:,0,数字;1,字符串	    
	0,	  	//每个参数的长度暂存表,需要MAX_PARM个0初始化
	0,		//函数的参数,需要PARM_LEN个0初始化
};   



















