forked from lucysrausch/hoverboard-firmware-hack
Added Matlab model for BLDC control
This commit is contained in:
100
01_Matlab/BLDC_controller_ert_rtw/html/define.js
Normal file
100
01_Matlab/BLDC_controller_ert_rtw/html/define.js
Normal file
@@ -0,0 +1,100 @@
|
||||
function CodeDefine() {
|
||||
this.def = new Array();
|
||||
this.def["rt_OneStep"] = {file: "ert_main_c.html",line:42,type:"fcn"};
|
||||
this.def["main"] = {file: "ert_main_c.html",line:78,type:"fcn"};
|
||||
this.def["rtDW"] = {file: "BLDC_controller_c.html",line:89,type:"var"};
|
||||
this.def["rtPrevZCX"] = {file: "BLDC_controller_c.html",line:92,type:"var"};
|
||||
this.def["rtU"] = {file: "BLDC_controller_c.html",line:95,type:"var"};
|
||||
this.def["rtY"] = {file: "BLDC_controller_c.html",line:98,type:"var"};
|
||||
this.def["plook_u8s32u32n31_evenc_s"] = {file: "BLDC_controller_c.html",line:129,type:"fcn"};
|
||||
this.def["intrp1d_s16s32s32u8u32n31l_s"] = {file: "BLDC_controller_c.html",line:163,type:"fcn"};
|
||||
this.def["div_nde_s32_floor"] = {file: "BLDC_controller_c.html",line:179,type:"fcn"};
|
||||
this.def["F01_03_Direction_Detection"] = {file: "BLDC_controller_c.html",line:190,type:"fcn"};
|
||||
this.def["Edge_counter_Reset"] = {file: "BLDC_controller_c.html",line:238,type:"fcn"};
|
||||
this.def["Edge_counter_Disable"] = {file: "BLDC_controller_c.html",line:249,type:"fcn"};
|
||||
this.def["Edge_counter"] = {file: "BLDC_controller_c.html",line:266,type:"fcn"};
|
||||
this.def["Moving_Average_Filter"] = {file: "BLDC_controller_c.html",line:319,type:"fcn"};
|
||||
this.def["Raw_Speed_calculation"] = {file: "BLDC_controller_c.html",line:357,type:"fcn"};
|
||||
this.def["rising_edge"] = {file: "BLDC_controller_c.html",line:391,type:"fcn"};
|
||||
this.def["F03_01_Pure_Trapezoidal_Method"] = {file: "BLDC_controller_c.html",line:408,type:"fcn"};
|
||||
this.def["F03_02_Sinusoidal_Method"] = {file: "BLDC_controller_c.html",line:436,type:"fcn"};
|
||||
this.def["F03_02_Sinusoidal3rd_Method"] = {file: "BLDC_controller_c.html",line:464,type:"fcn"};
|
||||
this.def["F02_Electrical_Angle_Ca_Disable"] = {file: "BLDC_controller_c.html",line:492,type:"fcn"};
|
||||
this.def["F02_Electrical_Angle_Calculatio"] = {file: "BLDC_controller_c.html",line:507,type:"fcn"};
|
||||
this.def["rising_edge_f"] = {file: "BLDC_controller_c.html",line:576,type:"fcn"};
|
||||
this.def["BLDC_controller_step"] = {file: "BLDC_controller_c.html",line:589,type:"fcn"};
|
||||
this.def["BLDC_controller_initialize"] = {file: "BLDC_controller_c.html",line:1284,type:"fcn"};
|
||||
this.def["DW_F01_03_Direction_Detection"] = {file: "BLDC_controller_h.html",line:39,type:"type"};
|
||||
this.def["DW_Edge_counter"] = {file: "BLDC_controller_h.html",line:45,type:"type"};
|
||||
this.def["DW_Moving_Average_Filter"] = {file: "BLDC_controller_h.html",line:51,type:"type"};
|
||||
this.def["ZCE_Moving_Average_Filter"] = {file: "BLDC_controller_h.html",line:56,type:"type"};
|
||||
this.def["ZCE_Raw_Speed_calculation"] = {file: "BLDC_controller_h.html",line:61,type:"type"};
|
||||
this.def["DW"] = {file: "BLDC_controller_h.html",line:113,type:"type"};
|
||||
this.def["PrevZCX"] = {file: "BLDC_controller_h.html",line:121,type:"type"};
|
||||
this.def["ConstP"] = {file: "BLDC_controller_h.html",line:208,type:"type"};
|
||||
this.def["ExtU"] = {file: "BLDC_controller_h.html",line:220,type:"type"};
|
||||
this.def["ExtY"] = {file: "BLDC_controller_h.html",line:234,type:"type"};
|
||||
this.def["P"] = {file: "BLDC_controller_h.html",line:298,type:"type"};
|
||||
this.def["rtP"] = {file: "BLDC_controller_data_c.html",line:27,type:"var"};
|
||||
this.def["rtConstP"] = {file: "BLDC_controller_data_c.html",line:109,type:"var"};
|
||||
this.def["int8_T"] = {file: "rtwtypes_h.html",line:55,type:"type"};
|
||||
this.def["uint8_T"] = {file: "rtwtypes_h.html",line:56,type:"type"};
|
||||
this.def["int16_T"] = {file: "rtwtypes_h.html",line:57,type:"type"};
|
||||
this.def["uint16_T"] = {file: "rtwtypes_h.html",line:58,type:"type"};
|
||||
this.def["int32_T"] = {file: "rtwtypes_h.html",line:59,type:"type"};
|
||||
this.def["uint32_T"] = {file: "rtwtypes_h.html",line:60,type:"type"};
|
||||
this.def["int64_T"] = {file: "rtwtypes_h.html",line:61,type:"type"};
|
||||
this.def["uint64_T"] = {file: "rtwtypes_h.html",line:62,type:"type"};
|
||||
this.def["real32_T"] = {file: "rtwtypes_h.html",line:63,type:"type"};
|
||||
this.def["real64_T"] = {file: "rtwtypes_h.html",line:64,type:"type"};
|
||||
this.def["real_T"] = {file: "rtwtypes_h.html",line:70,type:"type"};
|
||||
this.def["time_T"] = {file: "rtwtypes_h.html",line:71,type:"type"};
|
||||
this.def["boolean_T"] = {file: "rtwtypes_h.html",line:72,type:"type"};
|
||||
this.def["int_T"] = {file: "rtwtypes_h.html",line:73,type:"type"};
|
||||
this.def["uint_T"] = {file: "rtwtypes_h.html",line:74,type:"type"};
|
||||
this.def["ulong_T"] = {file: "rtwtypes_h.html",line:75,type:"type"};
|
||||
this.def["ulonglong_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["pointer_T"] = {file: "rtwtypes_h.html",line:100,type:"type"};
|
||||
this.def["ZCDirection"] = {file: "zero_crossing_types_h.html",line:33,type:"type"};
|
||||
this.def["ZCSigState"] = {file: "zero_crossing_types_h.html",line:36,type:"type"};
|
||||
this.def["ZCEventType"] = {file: "zero_crossing_types_h.html",line:49,type:"type"};
|
||||
}
|
||||
CodeDefine.instance = new CodeDefine();
|
||||
var testHarnessInfo = {OwnerFileName: "", HarnessOwner: "", HarnessName: "", IsTestHarness: "0"};
|
||||
var relPathToBuildDir = "../ert_main.c";
|
||||
var fileSep = "\\";
|
||||
var isPC = true;
|
||||
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["BLDC_controller_c.html"] = "../BLDC_controller.c";
|
||||
this.html2Root["BLDC_controller_c.html"] = "BLDC_controller_c.html";
|
||||
this.html2SrcPath["BLDC_controller_h.html"] = "../BLDC_controller.h";
|
||||
this.html2Root["BLDC_controller_h.html"] = "BLDC_controller_h.html";
|
||||
this.html2SrcPath["BLDC_controller_data_c.html"] = "../BLDC_controller_data.c";
|
||||
this.html2Root["BLDC_controller_data_c.html"] = "BLDC_controller_data_c.html";
|
||||
this.html2SrcPath["rtwtypes_h.html"] = "../rtwtypes.h";
|
||||
this.html2Root["rtwtypes_h.html"] = "rtwtypes_h.html";
|
||||
this.html2SrcPath["zero_crossing_types_h.html"] = "../zero_crossing_types.h";
|
||||
this.html2Root["zero_crossing_types_h.html"] = "zero_crossing_types_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","BLDC_controller_c.html","BLDC_controller_h.html","BLDC_controller_data_c.html","rtwtypes_h.html","zero_crossing_types_h.html"];
|
Reference in New Issue
Block a user