An example of importing Embedded Coder code into the mbed IDE. Currently doesn't connect IO to PWM, ADC, and Encoder, instead provides random inputs and measures execution time.

Dependencies:   mbed-dsp mbed Nucleo_pmsmfoc

Dependents:   Nucleo_pmsmfoc

html/html/define.js

Committer:
paulcox
Date:
2014-11-25
Revision:
2:bbc155b0b886

File content as of revision 2:bbc155b0b886:

function CodeDefine() { 
this.def = new Array();
this.def["IsrOverrun"] = {file: "ert_main_c.html",line:19,type:"var"};
this.def["OverrunFlag"] = {file: "ert_main_c.html",line:20,type:"var"};
this.def["rt_OneStep"] = {file: "ert_main_c.html",line:21,type:"fcn"};
this.def["main"] = {file: "ert_main_c.html",line:63,type:"fcn"};
this.def["phase_currents"] = {file: "rtwdemo_pmsmfoc_c.html",line:36,type:"var"};
this.def["rotor_position"] = {file: "rtwdemo_pmsmfoc_c.html",line:37,type:"var"};
this.def["velocity_measured"] = {file: "rtwdemo_pmsmfoc_c.html",line:38,type:"var"};
this.def["d_current_error"] = {file: "rtwdemo_pmsmfoc_c.html",line:39,type:"var"};
this.def["q_current_command"] = {file: "rtwdemo_pmsmfoc_c.html",line:40,type:"var"};
this.def["q_current_measured"] = {file: "rtwdemo_pmsmfoc_c.html",line:41,type:"var"};
this.def["q_current_error"] = {file: "rtwdemo_pmsmfoc_c.html",line:42,type:"var"};
this.def["phase_voltages"] = {file: "rtwdemo_pmsmfoc_c.html",line:43,type:"var"};
this.def["velocity_error"] = {file: "rtwdemo_pmsmfoc_c.html",line:44,type:"var"};
this.def["controller_mode"] = {file: "rtwdemo_pmsmfoc_c.html",line:45,type:"var"};
this.def["ctrlParams"] = {file: "rtwdemo_pmsmfoc_c.html",line:48,type:"var"};
this.def["ConstP"] = {file: "rtwdemo_pmsmfoc_c.html",line:81,type:"var"};
this.def["DWork"] = {file: "rtwdemo_pmsmfoc_c.html",line:89,type:"var"};
this.def["M_"] = {file: "rtwdemo_pmsmfoc_c.html",line:92,type:"var"};
this.def["M"] = {file: "rtwdemo_pmsmfoc_c.html",line:93,type:"var"};
this.def["rate_scheduler"] = {file: "rtwdemo_pmsmfoc_c.html",line:103,type:"fcn"};
this.def["rt_roundf"] = {file: "rtwdemo_pmsmfoc_c.html",line:115,type:"fcn"};
this.def["rt_modf"] = {file: "rtwdemo_pmsmfoc_c.html",line:133,type:"fcn"};
this.def["Controller"] = {file: "rtwdemo_pmsmfoc_c.html",line:155,type:"fcn"};
this.def["Controller_Init"] = {file: "rtwdemo_pmsmfoc_c.html",line:1250,type:"fcn"};
this.def["RT_MODEL"] = {file: "rtwdemo_pmsmfoc_h.html",line:34,type:"type"};
this.def["EnumErrorType"] = {file: "rtwdemo_pmsmfoc_h.html",line:42,type:"type"};
this.def["EnumCommandType"] = {file: "rtwdemo_pmsmfoc_h.html",line:53,type:"type"};
this.def["EnumControllerMode"] = {file: "rtwdemo_pmsmfoc_h.html",line:66,type:"type"};
this.def["SENSORS_STRUCT"] = {file: "rtwdemo_pmsmfoc_h.html",line:77,type:"type"};
this.def["CTRLPARAMS_STRUCT"] = {file: "rtwdemo_pmsmfoc_h.html",line:98,type:"type"};
this.def["D_Work"] = {file: "rtwdemo_pmsmfoc_h.html",line:132,type:"type"};
this.def["ConstParam"] = {file: "rtwdemo_pmsmfoc_h.html",line:140,type:"type"};
this.def["int8_T"] = {file: "rtwtypes_h.html",line:58,type:"type"};
this.def["uint8_T"] = {file: "rtwtypes_h.html",line:59,type:"type"};
this.def["int16_T"] = {file: "rtwtypes_h.html",line:60,type:"type"};
this.def["uint16_T"] = {file: "rtwtypes_h.html",line:61,type:"type"};
this.def["int32_T"] = {file: "rtwtypes_h.html",line:62,type:"type"};
this.def["uint32_T"] = {file: "rtwtypes_h.html",line:63,type:"type"};
this.def["real32_T"] = {file: "rtwtypes_h.html",line:64,type:"type"};
this.def["real64_T"] = {file: "rtwtypes_h.html",line:65,type:"type"};
this.def["real_T"] = {file: "rtwtypes_h.html",line:71,type:"type"};
this.def["time_T"] = {file: "rtwtypes_h.html",line:72,type:"type"};
this.def["boolean_T"] = {file: "rtwtypes_h.html",line:73,type:"type"};
this.def["int_T"] = {file: "rtwtypes_h.html",line:74,type:"type"};
this.def["uint_T"] = {file: "rtwtypes_h.html",line:75,type:"type"};
this.def["ulong_T"] = {file: "rtwtypes_h.html",line:76,type:"type"};
this.def["char_T"] = {file: "rtwtypes_h.html",line:77,type:"type"};
this.def["uchar_T"] = {file: "rtwtypes_h.html",line:78,type:"type"};
this.def["byte_T"] = {file: "rtwtypes_h.html",line:79,type:"type"};
this.def["int8_T"] = {file: "rtwtypes_h.html",line:89,type:"type"};
this.def["uint8_T"] = {file: "rtwtypes_h.html",line:90,type:"type"};
this.def["int16_T"] = {file: "rtwtypes_h.html",line:91,type:"type"};
this.def["uint16_T"] = {file: "rtwtypes_h.html",line:92,type:"type"};
this.def["int32_T"] = {file: "rtwtypes_h.html",line:93,type:"type"};
this.def["uint32_T"] = {file: "rtwtypes_h.html",line:94,type:"type"};
this.def["real32_T"] = {file: "rtwtypes_h.html",line:95,type:"type"};
this.def["real64_T"] = {file: "rtwtypes_h.html",line:96,type:"type"};
this.def["real_T"] = {file: "rtwtypes_h.html",line:102,type:"type"};
this.def["time_T"] = {file: "rtwtypes_h.html",line:103,type:"type"};
this.def["boolean_T"] = {file: "rtwtypes_h.html",line:104,type:"type"};
this.def["int_T"] = {file: "rtwtypes_h.html",line:105,type:"type"};
this.def["uint_T"] = {file: "rtwtypes_h.html",line:106,type:"type"};
this.def["ulong_T"] = {file: "rtwtypes_h.html",line:107,type:"type"};
this.def["char_T"] = {file: "rtwtypes_h.html",line:108,type:"type"};
this.def["uchar_T"] = {file: "rtwtypes_h.html",line:109,type:"type"};
this.def["byte_T"] = {file: "rtwtypes_h.html",line:110,type:"type"};
this.def["creal32_T"] = {file: "rtwtypes_h.html",line:122,type:"type"};
this.def["creal64_T"] = {file: "rtwtypes_h.html",line:127,type:"type"};
this.def["creal_T"] = {file: "rtwtypes_h.html",line:132,type:"type"};
this.def["cint8_T"] = {file: "rtwtypes_h.html",line:139,type:"type"};
this.def["cuint8_T"] = {file: "rtwtypes_h.html",line:146,type:"type"};
this.def["cint16_T"] = {file: "rtwtypes_h.html",line:153,type:"type"};
this.def["cuint16_T"] = {file: "rtwtypes_h.html",line:160,type:"type"};
this.def["cint32_T"] = {file: "rtwtypes_h.html",line:167,type:"type"};
this.def["cuint32_T"] = {file: "rtwtypes_h.html",line:174,type:"type"};
this.def["pointer_T"] = {file: "rtwtypes_h.html",line:195,type:"type"};
this.def["ZCDirection"] = {file: "rtwtypes_h.html",line:206,type:"type"};
this.def["ZCSigState"] = {file: "rtwtypes_h.html",line:209,type:"type"};
this.def["ZCEventType"] = {file: "rtwtypes_h.html",line:222,type:"type"};
}
CodeDefine.instance = new CodeDefine();
function Html2SrcLink() {
	this.html2SrcPath = new Array;
	this.html2Root = new Array;
	this.html2SrcPath["ert_main_c.html"] = "../ert_main.c";
	this.html2Root["ert_main_c.html"] = "ert_main_c.html";
	this.html2SrcPath["rtwdemo_pmsmfoc_c.html"] = "../rtwdemo_pmsmfoc.c";
	this.html2Root["rtwdemo_pmsmfoc_c.html"] = "rtwdemo_pmsmfoc_c.html";
	this.html2SrcPath["rtwdemo_pmsmfoc_h.html"] = "../rtwdemo_pmsmfoc.h";
	this.html2Root["rtwdemo_pmsmfoc_h.html"] = "rtwdemo_pmsmfoc_h.html";
	this.html2SrcPath["rtwtypes_h.html"] = "../rtwtypes.h";
	this.html2Root["rtwtypes_h.html"] = "rtwtypes_h.html";
	this.html2SrcPath["MW_target_hardware_resources_h.html"] = "../MW_target_hardware_resources.h";
	this.html2Root["MW_target_hardware_resources_h.html"] = "MW_target_hardware_resources_h.html";
	this.html2SrcPath["mw_cmsis_h.html"] = "../mw_cmsis.h";
	this.html2Root["mw_cmsis_h.html"] = "mw_cmsis_h.html";
	this.getLink2Src = function (htmlFileName) {
		 if (this.html2SrcPath[htmlFileName])
			 return this.html2SrcPath[htmlFileName];
		 else
			 return null;
	}
	this.getLinkFromRoot = function (htmlFileName) {
		 if (this.html2Root[htmlFileName])
			 return this.html2Root[htmlFileName];
		 else
			 return null;
	}
}
Html2SrcLink.instance = new Html2SrcLink();
var fileList = [
"ert_main_c.html","rtwdemo_pmsmfoc_c.html","rtwdemo_pmsmfoc_h.html","rtwtypes_h.html","MW_target_hardware_resources_h.html","mw_cmsis_h.html"];