Added Matlab model for BLDC control
BIN
01_Matlab/01_Libraries/01_Controller/BLDC_controller_Lib.slx
Normal file
BIN
01_Matlab/01_Libraries/01_Controller/BLDC_controller_Lib_old.slx
Normal file
BIN
01_Matlab/01_Libraries/02_Plant/BLDC_model_sf.mexw64
Normal file
BIN
01_Matlab/01_Libraries/02_Plant/BLDCmotorControl_data.mat
Normal file
BIN
01_Matlab/01_Libraries/02_Plant/PWM_generator_sf.mexw64
Normal file
BIN
01_Matlab/02_Figures/control_methods.png
Normal file
After Width: | Height: | Size: 216 KiB |
12
01_Matlab/BLDC_controller_ert_rtw/BLDC_controller.bat
Normal file
@ -0,0 +1,12 @@
|
||||
@if not "%MINGW_ROOT%" == "" (@set "PATH=%PATH%;%MINGW_ROOT%")
|
||||
|
||||
cd .
|
||||
|
||||
if "%1"=="" ("C:\PROGRA~1\MATLAB\R2017b\bin\win64\gmake" -f BLDC_controller.mk all) else ("C:\PROGRA~1\MATLAB\R2017b\bin\win64\gmake" -f BLDC_controller.mk %1)
|
||||
@if errorlevel 1 goto error_exit
|
||||
|
||||
exit /B 0
|
||||
|
||||
:error_exit
|
||||
echo The make command returned an error of %errorlevel%
|
||||
An_error_occurred_during_the_call_to_make
|
1313
01_Matlab/BLDC_controller_ert_rtw/BLDC_controller.c
Normal file
444
01_Matlab/BLDC_controller_ert_rtw/BLDC_controller.h
Normal file
@ -0,0 +1,444 @@
|
||||
/*
|
||||
* Academic License - for use in teaching, academic research, and meeting
|
||||
* course requirements at degree granting institutions only. Not for
|
||||
* government, commercial, or other organizational use.
|
||||
*
|
||||
* File: BLDC_controller.h
|
||||
*
|
||||
* Code generated for Simulink model 'BLDC_controller'.
|
||||
*
|
||||
* Model version : 1.800
|
||||
* Simulink Coder version : 8.13 (R2017b) 24-Jul-2017
|
||||
* C/C++ source code generated on : Sat May 25 21:42:39 2019
|
||||
*
|
||||
* Target selection: ert.tlc
|
||||
* Embedded hardware selection: ARM Compatible->ARM Cortex
|
||||
* Emulation hardware selection:
|
||||
* Differs from embedded hardware (MATLAB Host)
|
||||
* Code generation objectives:
|
||||
* 1. Execution efficiency
|
||||
* 2. RAM efficiency
|
||||
* Validation result: Not run
|
||||
*/
|
||||
|
||||
#ifndef RTW_HEADER_BLDC_controller_h_
|
||||
#define RTW_HEADER_BLDC_controller_h_
|
||||
#include "rtwtypes.h"
|
||||
#include "zero_crossing_types.h"
|
||||
#ifndef BLDC_controller_COMMON_INCLUDES_
|
||||
# define BLDC_controller_COMMON_INCLUDES_
|
||||
#include "rtwtypes.h"
|
||||
#include "zero_crossing_types.h"
|
||||
#endif /* BLDC_controller_COMMON_INCLUDES_ */
|
||||
|
||||
/* Macros for accessing real-time model data structure */
|
||||
|
||||
/* Block signals and states (auto storage) for system '<S12>/F01_03_Direction_Detection' */
|
||||
typedef struct {
|
||||
int8_T UnitDelay1_DSTATE; /* '<S22>/UnitDelay1' */
|
||||
} DW_F01_03_Direction_Detection;
|
||||
|
||||
/* Block signals and states (auto storage) for system '<S23>/Edge_counter' */
|
||||
typedef struct {
|
||||
uint8_T UnitDelay1_DSTATE; /* '<S38>/UnitDelay1' */
|
||||
boolean_T Edge_counter_MODE; /* '<S23>/Edge_counter' */
|
||||
} DW_Edge_counter;
|
||||
|
||||
/* Block signals and states (auto storage) for system '<S23>/Moving_Average_Filter' */
|
||||
typedef struct {
|
||||
int32_T UnitDelay5_DSTATE; /* '<S28>/UnitDelay5' */
|
||||
int32_T UnitDelay1_DSTATE; /* '<S28>/UnitDelay1' */
|
||||
} DW_Moving_Average_Filter;
|
||||
|
||||
/* Zero-crossing (trigger) state for system '<S23>/Moving_Average_Filter' */
|
||||
typedef struct {
|
||||
ZCSigState Moving_Average_Filter_Trig_ZCE;/* '<S23>/Moving_Average_Filter' */
|
||||
} ZCE_Moving_Average_Filter;
|
||||
|
||||
/* Zero-crossing (trigger) state for system '<S23>/Raw_ Speed_calculation' */
|
||||
typedef struct {
|
||||
ZCSigState Raw_Speed_calculation_Trig_ZCE;/* '<S23>/Raw_ Speed_calculation' */
|
||||
} ZCE_Raw_Speed_calculation;
|
||||
|
||||
/* Block signals and states (auto storage) for system '<Root>' */
|
||||
typedef struct {
|
||||
DW_Moving_Average_Filter Moving_Average_Filter_n;/* '<S63>/Moving_Average_Filter' */
|
||||
DW_Edge_counter Edge_counter_l; /* '<S63>/Edge_counter' */
|
||||
DW_F01_03_Direction_Detection F01_03_Direction_Detection_j;/* '<S52>/F01_03_Direction_Detection' */
|
||||
DW_Moving_Average_Filter Moving_Average_Filter_l;/* '<S23>/Moving_Average_Filter' */
|
||||
DW_Edge_counter Edge_counter_f; /* '<S23>/Edge_counter' */
|
||||
DW_F01_03_Direction_Detection F01_03_Direction_Detection_o;/* '<S12>/F01_03_Direction_Detection' */
|
||||
int32_T Switch_PhaAdv; /* '<S53>/Switch_PhaAdv' */
|
||||
int32_T rpm_signed; /* '<S69>/Product2' */
|
||||
int32_T Switch_PhaAdv_a; /* '<S13>/Switch_PhaAdv' */
|
||||
int32_T rpm_signed_c; /* '<S29>/Product2' */
|
||||
int16_T Merge; /* '<S14>/Merge' */
|
||||
int16_T Merge1; /* '<S14>/Merge1' */
|
||||
int16_T Merge2; /* '<S14>/Merge2' */
|
||||
int16_T Merge_j; /* '<S54>/Merge' */
|
||||
int16_T Merge1_m; /* '<S54>/Merge1' */
|
||||
int16_T Merge2_d; /* '<S54>/Merge2' */
|
||||
int16_T z_counterRawPrev_DSTATE; /* '<S23>/z_counterRawPrev' */
|
||||
int16_T z_counter2_DSTATE; /* '<S23>/z_counter2' */
|
||||
int16_T UnitDelay1_DSTATE; /* '<S32>/UnitDelay1' */
|
||||
int16_T z_counterRawPrev_DSTATE_p; /* '<S63>/z_counterRawPrev' */
|
||||
int16_T z_counter2_DSTATE_h; /* '<S63>/z_counter2' */
|
||||
int16_T UnitDelay1_DSTATE_k; /* '<S72>/UnitDelay1' */
|
||||
int8_T UnitDelay1; /* '<S62>/UnitDelay1' */
|
||||
int8_T Switch2; /* '<S62>/Switch2' */
|
||||
int8_T UnitDelay1_k; /* '<S22>/UnitDelay1' */
|
||||
int8_T Switch2_e; /* '<S22>/Switch2' */
|
||||
int8_T If1_ActiveSubsystem; /* '<S2>/If1' */
|
||||
int8_T If1_ActiveSubsystem_j; /* '<S3>/If1' */
|
||||
uint8_T Sum2_i; /* '<S67>/Sum2' */
|
||||
uint8_T Sum2_l; /* '<S27>/Sum2' */
|
||||
uint8_T UnitDelay_DSTATE; /* '<S20>/UnitDelay' */
|
||||
uint8_T UnitDelay1_DSTATE_p; /* '<S20>/UnitDelay1' */
|
||||
uint8_T UnitDelay2_DSTATE; /* '<S20>/UnitDelay2' */
|
||||
uint8_T UnitDelay1_DSTATE_g; /* '<S21>/UnitDelay1' */
|
||||
uint8_T UnitDelay_DSTATE_j; /* '<S60>/UnitDelay' */
|
||||
uint8_T UnitDelay1_DSTATE_f; /* '<S60>/UnitDelay1' */
|
||||
uint8_T UnitDelay2_DSTATE_b; /* '<S60>/UnitDelay2' */
|
||||
uint8_T UnitDelay1_DSTATE_j; /* '<S61>/UnitDelay1' */
|
||||
boolean_T RelationalOperator4; /* '<S63>/Relational Operator4' */
|
||||
boolean_T LogicalOperator; /* '<S71>/Logical Operator' */
|
||||
boolean_T UnitDelay8_DSTATE; /* '<S23>/UnitDelay8' */
|
||||
boolean_T UnitDelay8_DSTATE_p; /* '<S63>/UnitDelay8' */
|
||||
boolean_T UnitDelay_DSTATE_k; /* '<S71>/UnitDelay' */
|
||||
boolean_T UnitDelay_DSTATE_l; /* '<S31>/UnitDelay' */
|
||||
boolean_T Memory_PreviousInput; /* '<S30>/Memory' */
|
||||
boolean_T Relay_Mode; /* '<S15>/Relay' */
|
||||
boolean_T Memory_PreviousInput_i; /* '<S70>/Memory' */
|
||||
boolean_T Relay_Mode_m; /* '<S55>/Relay' */
|
||||
} DW;
|
||||
|
||||
/* Zero-crossing (trigger) state */
|
||||
typedef struct {
|
||||
ZCE_Raw_Speed_calculation Raw_Speed_calculation_k;/* '<S63>/Raw_ Speed_calculation' */
|
||||
ZCE_Moving_Average_Filter Moving_Average_Filter_n;/* '<S63>/Moving_Average_Filter' */
|
||||
ZCE_Raw_Speed_calculation Raw_Speed_calculation_m;/* '<S23>/Raw_ Speed_calculation' */
|
||||
ZCE_Moving_Average_Filter Moving_Average_Filter_l;/* '<S23>/Moving_Average_Filter' */
|
||||
} PrevZCX;
|
||||
|
||||
/* Constant parameters (auto storage) */
|
||||
typedef struct {
|
||||
/* Pooled Parameter (Expression: r_trapPhaA_M1)
|
||||
* Referenced by:
|
||||
* '<S43>/r_trapPhaA_M1'
|
||||
* '<S83>/r_trapPhaA_M1'
|
||||
*/
|
||||
int16_T pooled8[7];
|
||||
|
||||
/* Pooled Parameter (Expression: r_trapPhaB_M1)
|
||||
* Referenced by:
|
||||
* '<S43>/r_trapPhaB_M1'
|
||||
* '<S83>/r_trapPhaB_M1'
|
||||
*/
|
||||
int16_T pooled9[7];
|
||||
|
||||
/* Pooled Parameter (Expression: r_trapPhaC_M1)
|
||||
* Referenced by:
|
||||
* '<S43>/r_trapPhaC_M1'
|
||||
* '<S83>/r_trapPhaC_M1'
|
||||
*/
|
||||
int16_T pooled10[7];
|
||||
|
||||
/* Pooled Parameter (Expression: r_sinPhaA_M1)
|
||||
* Referenced by:
|
||||
* '<S45>/r_sinPhaA_M1'
|
||||
* '<S85>/r_sinPhaA_M1'
|
||||
*/
|
||||
int16_T pooled11[37];
|
||||
|
||||
/* Pooled Parameter (Expression: r_sinPhaB_M1)
|
||||
* Referenced by:
|
||||
* '<S45>/r_sinPhaB_M1'
|
||||
* '<S85>/r_sinPhaB_M1'
|
||||
*/
|
||||
int16_T pooled12[37];
|
||||
|
||||
/* Pooled Parameter (Expression: r_sinPhaC_M1)
|
||||
* Referenced by:
|
||||
* '<S45>/r_sinPhaC_M1'
|
||||
* '<S85>/r_sinPhaC_M1'
|
||||
*/
|
||||
int16_T pooled13[37];
|
||||
|
||||
/* Pooled Parameter (Expression: r_sin3PhaA_M1)
|
||||
* Referenced by:
|
||||
* '<S44>/r_sin3PhaA_M1'
|
||||
* '<S84>/r_sin3PhaA_M1'
|
||||
*/
|
||||
int16_T pooled14[37];
|
||||
|
||||
/* Pooled Parameter (Expression: r_sin3PhaB_M1)
|
||||
* Referenced by:
|
||||
* '<S44>/r_sin3PhaB_M1'
|
||||
* '<S84>/r_sin3PhaB_M1'
|
||||
*/
|
||||
int16_T pooled15[37];
|
||||
|
||||
/* Pooled Parameter (Expression: r_sin3PhaC_M1)
|
||||
* Referenced by:
|
||||
* '<S44>/r_sin3PhaC_M1'
|
||||
* '<S84>/r_sin3PhaC_M1'
|
||||
*/
|
||||
int16_T pooled16[37];
|
||||
|
||||
/* Pooled Parameter (Expression: z_commutMap_M1)
|
||||
* Referenced by:
|
||||
* '<S15>/z_commutMap_M1'
|
||||
* '<S55>/z_commutMap_M1'
|
||||
*/
|
||||
int16_T pooled17[18];
|
||||
|
||||
/* Pooled Parameter (Expression: vec_hallToPos)
|
||||
* Referenced by:
|
||||
* '<S21>/vec_hallToPos'
|
||||
* '<S61>/vec_hallToPos'
|
||||
*/
|
||||
uint8_T pooled27[8];
|
||||
|
||||
/* Pooled Parameter (Expression: [0 1;1 0;0 1;0 1;1 0;1 0;0 0;0 0])
|
||||
* Referenced by:
|
||||
* '<S30>/Logic'
|
||||
* '<S70>/Logic'
|
||||
*/
|
||||
boolean_T pooled31[16];
|
||||
} ConstP;
|
||||
|
||||
/* External inputs (root inport signals with auto storage) */
|
||||
typedef struct {
|
||||
uint8_T b_hallALeft; /* '<Root>/b_hallALeft ' */
|
||||
uint8_T b_hallBLeft; /* '<Root>/b_hallBLeft' */
|
||||
uint8_T b_hallCLeft; /* '<Root>/b_hallCLeft' */
|
||||
int32_T r_DCLeft; /* '<Root>/r_DCLeft' */
|
||||
uint8_T b_hallARight; /* '<Root>/b_hallARight' */
|
||||
uint8_T b_hallBRight; /* '<Root>/b_hallBRight' */
|
||||
uint8_T b_hallCRight; /* '<Root>/b_hallCRight' */
|
||||
int32_T r_DCRight; /* '<Root>/r_DCRight' */
|
||||
} ExtU;
|
||||
|
||||
/* External outputs (root outports fed by signals with auto storage) */
|
||||
typedef struct {
|
||||
int32_T DC_phaALeft; /* '<Root>/DC_phaALeft' */
|
||||
int32_T DC_phaBLeft; /* '<Root>/DC_phaBLeft' */
|
||||
int32_T DC_phaCLeft; /* '<Root>/DC_phaCLeft' */
|
||||
int32_T n_motLeft; /* '<Root>/n_motLeft' */
|
||||
int32_T a_elecAngleLeft; /* '<Root>/a_elecAngleLeft' */
|
||||
int32_T DC_phaARight; /* '<Root>/DC_phaARight' */
|
||||
int32_T DC_phaBRight; /* '<Root>/DC_phaBRight' */
|
||||
int32_T DC_phaCRight; /* '<Root>/DC_phaCRight' */
|
||||
int32_T n_motRight; /* '<Root>/n_motRight' */
|
||||
int32_T a_elecAngleRight; /* '<Root>/a_elecAngleRight' */
|
||||
} ExtY;
|
||||
|
||||
/* Parameters (auto storage) */
|
||||
struct P_ {
|
||||
int32_T cf_spdCoef; /* Variable: cf_spdCoef
|
||||
* Referenced by:
|
||||
* '<S29>/cf_spdCoef'
|
||||
* '<S69>/cf_spdCoef'
|
||||
*/
|
||||
int32_T n_commAcvLo; /* Variable: n_commAcvLo
|
||||
* Referenced by:
|
||||
* '<S15>/Relay'
|
||||
* '<S55>/Relay'
|
||||
*/
|
||||
int32_T n_commDeacvHi; /* Variable: n_commDeacvHi
|
||||
* Referenced by:
|
||||
* '<S15>/Relay'
|
||||
* '<S55>/Relay'
|
||||
*/
|
||||
int32_T n_thresSpdDeacv; /* Variable: n_thresSpdDeacv
|
||||
* Referenced by:
|
||||
* '<S23>/n_thresSpdDeacv'
|
||||
* '<S63>/n_thresSpdDeacv'
|
||||
*/
|
||||
int32_T r_commDCDeacv; /* Variable: r_commDCDeacv
|
||||
* Referenced by:
|
||||
* '<S15>/r_commDCDeacv'
|
||||
* '<S55>/r_commDCDeacv'
|
||||
*/
|
||||
int32_T r_phaAdvDC_XA[11]; /* Variable: r_phaAdvDC_XA
|
||||
* Referenced by:
|
||||
* '<S13>/r_phaAdvDC_XA'
|
||||
* '<S53>/r_phaAdvDC_XA'
|
||||
*/
|
||||
int16_T a_phaAdv_M1[11]; /* Variable: a_phaAdv_M1
|
||||
* Referenced by:
|
||||
* '<S13>/a_phaAdv_M2'
|
||||
* '<S53>/a_phaAdv_M2'
|
||||
*/
|
||||
int16_T z_maxCntRst; /* Variable: z_maxCntRst
|
||||
* Referenced by:
|
||||
* '<S23>/z_maxCntRst'
|
||||
* '<S63>/z_maxCntRst'
|
||||
* '<S29>/z_maxCntRst'
|
||||
* '<S69>/z_maxCntRst'
|
||||
*/
|
||||
uint8_T z_ctrlTypSel; /* Variable: z_ctrlTypSel
|
||||
* Referenced by:
|
||||
* '<S12>/z_ctrlTypSel1'
|
||||
* '<S52>/z_ctrlTypSel1'
|
||||
*/
|
||||
uint8_T z_nrEdgeSpdAcv; /* Variable: z_nrEdgeSpdAcv
|
||||
* Referenced by:
|
||||
* '<S23>/z_nrEdgeSpdAcv'
|
||||
* '<S63>/z_nrEdgeSpdAcv'
|
||||
*/
|
||||
boolean_T b_phaAdvEna; /* Variable: b_phaAdvEna
|
||||
* Referenced by:
|
||||
* '<S13>/a_elecPeriod1'
|
||||
* '<S53>/a_elecPeriod1'
|
||||
*/
|
||||
};
|
||||
|
||||
/* Parameters (auto storage) */
|
||||
typedef struct P_ P;
|
||||
|
||||
/* Block parameters (auto storage) */
|
||||
extern P rtP;
|
||||
|
||||
/* Block signals and states (auto storage) */
|
||||
extern DW rtDW;
|
||||
|
||||
/* External inputs (root inport signals with auto storage) */
|
||||
extern ExtU rtU;
|
||||
|
||||
/* External outputs (root outports fed by signals with auto storage) */
|
||||
extern ExtY rtY;
|
||||
|
||||
/* Constant parameters (auto storage) */
|
||||
extern const ConstP rtConstP;
|
||||
|
||||
/* Model entry point functions */
|
||||
extern void BLDC_controller_initialize(void);
|
||||
extern void BLDC_controller_step(void);
|
||||
|
||||
/*-
|
||||
* These blocks were eliminated from the model due to optimizations:
|
||||
*
|
||||
* Block '<S23>/Scope2' : Unused code path elimination
|
||||
* Block '<S13>/Scope' : Unused code path elimination
|
||||
* Block '<S63>/Scope2' : Unused code path elimination
|
||||
* Block '<S53>/Scope' : Unused code path elimination
|
||||
*/
|
||||
|
||||
/*-
|
||||
* The generated code includes comments that allow you to trace directly
|
||||
* back to the appropriate location in the model. The basic format
|
||||
* is <system>/block_name, where system is the system number (uniquely
|
||||
* assigned by Simulink) and block_name is the name of the block.
|
||||
*
|
||||
* Note that this particular code originates from a subsystem build,
|
||||
* and has its own system numbers different from the parent model.
|
||||
* Refer to the system hierarchy for this subsystem below, and use the
|
||||
* MATLAB hilite_system command to trace the generated code back
|
||||
* to the parent model. For example,
|
||||
*
|
||||
* hilite_system('BLDCmotorControl_R2017b/BLDC_controller') - opens subsystem BLDCmotorControl_R2017b/BLDC_controller
|
||||
* hilite_system('BLDCmotorControl_R2017b/BLDC_controller/Kp') - opens and selects block Kp
|
||||
*
|
||||
* Here is the system hierarchy for this model
|
||||
*
|
||||
* '<Root>' : 'BLDCmotorControl_R2017b'
|
||||
* '<S1>' : 'BLDCmotorControl_R2017b/BLDC_controller'
|
||||
* '<S2>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left'
|
||||
* '<S3>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right'
|
||||
* '<S4>' : 'BLDCmotorControl_R2017b/BLDC_controller/signal_log1'
|
||||
* '<S5>' : 'BLDCmotorControl_R2017b/BLDC_controller/signal_log2'
|
||||
* '<S6>' : 'BLDCmotorControl_R2017b/BLDC_controller/signal_log3'
|
||||
* '<S7>' : 'BLDCmotorControl_R2017b/BLDC_controller/signal_log4'
|
||||
* '<S8>' : 'BLDCmotorControl_R2017b/BLDC_controller/signal_log5'
|
||||
* '<S9>' : 'BLDCmotorControl_R2017b/BLDC_controller/signal_log6'
|
||||
* '<S10>' : 'BLDCmotorControl_R2017b/BLDC_controller/signal_log7'
|
||||
* '<S11>' : 'BLDCmotorControl_R2017b/BLDC_controller/signal_log8'
|
||||
* '<S12>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations'
|
||||
* '<S13>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F02_Electrical_Angle_Calculation'
|
||||
* '<S14>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F03_Control_Method_Selection'
|
||||
* '<S15>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F04_Control_Type_Management'
|
||||
* '<S16>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/signal_log1'
|
||||
* '<S17>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/signal_log2'
|
||||
* '<S18>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/signal_log3'
|
||||
* '<S19>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/signal_log6'
|
||||
* '<S20>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_01_Edge_Detector'
|
||||
* '<S21>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_02_Position_Calculation'
|
||||
* '<S22>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_03_Direction_Detection'
|
||||
* '<S23>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_04_Speed_Calculation'
|
||||
* '<S24>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_01_Edge_Detector/signal_log6'
|
||||
* '<S25>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_02_Position_Calculation/signal_log6'
|
||||
* '<S26>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_03_Direction_Detection/signal_log6'
|
||||
* '<S27>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_04_Speed_Calculation/Edge_counter'
|
||||
* '<S28>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_04_Speed_Calculation/Moving_Average_Filter'
|
||||
* '<S29>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_04_Speed_Calculation/Raw_ Speed_calculation'
|
||||
* '<S30>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_04_Speed_Calculation/S-R Flip-Flop'
|
||||
* '<S31>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_04_Speed_Calculation/rising_edge'
|
||||
* '<S32>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_04_Speed_Calculation/rst_Delay'
|
||||
* '<S33>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_04_Speed_Calculation/signal_log1'
|
||||
* '<S34>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_04_Speed_Calculation/signal_log2'
|
||||
* '<S35>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_04_Speed_Calculation/signal_log3'
|
||||
* '<S36>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_04_Speed_Calculation/signal_log4'
|
||||
* '<S37>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_04_Speed_Calculation/signal_log6'
|
||||
* '<S38>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_04_Speed_Calculation/Edge_counter/rst_Delay'
|
||||
* '<S39>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F02_Electrical_Angle_Calculation/Modulo_Calculation'
|
||||
* '<S40>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F02_Electrical_Angle_Calculation/signal_log1'
|
||||
* '<S41>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F02_Electrical_Angle_Calculation/signal_log2'
|
||||
* '<S42>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F02_Electrical_Angle_Calculation/signal_log6'
|
||||
* '<S43>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F03_Control_Method_Selection/F03_01_Pure_Trapezoidal_Method'
|
||||
* '<S44>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F03_Control_Method_Selection/F03_02_Sinusoidal3rd_Method'
|
||||
* '<S45>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F03_Control_Method_Selection/F03_02_Sinusoidal_Method'
|
||||
* '<S46>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F03_Control_Method_Selection/signal_log1'
|
||||
* '<S47>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F03_Control_Method_Selection/signal_log2'
|
||||
* '<S48>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F03_Control_Method_Selection/signal_log6'
|
||||
* '<S49>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F04_Control_Type_Management/signal_log1'
|
||||
* '<S50>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F04_Control_Type_Management/signal_log2'
|
||||
* '<S51>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F04_Control_Type_Management/signal_log6'
|
||||
* '<S52>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations'
|
||||
* '<S53>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F02_Electrical_Angle_Calculation'
|
||||
* '<S54>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F03_Control_Method_Selection'
|
||||
* '<S55>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F04_Control_Type_Management'
|
||||
* '<S56>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/signal_log1'
|
||||
* '<S57>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/signal_log2'
|
||||
* '<S58>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/signal_log3'
|
||||
* '<S59>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/signal_log6'
|
||||
* '<S60>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_01_Edge_Detector'
|
||||
* '<S61>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_02_Position_Calculation'
|
||||
* '<S62>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_03_Direction_Detection'
|
||||
* '<S63>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_04_Speed_Calculation'
|
||||
* '<S64>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_01_Edge_Detector/signal_log6'
|
||||
* '<S65>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_02_Position_Calculation/signal_log6'
|
||||
* '<S66>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_03_Direction_Detection/signal_log6'
|
||||
* '<S67>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_04_Speed_Calculation/Edge_counter'
|
||||
* '<S68>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_04_Speed_Calculation/Moving_Average_Filter'
|
||||
* '<S69>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_04_Speed_Calculation/Raw_ Speed_calculation'
|
||||
* '<S70>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_04_Speed_Calculation/S-R Flip-Flop'
|
||||
* '<S71>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_04_Speed_Calculation/rising_edge'
|
||||
* '<S72>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_04_Speed_Calculation/rst_Delay'
|
||||
* '<S73>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_04_Speed_Calculation/signal_log1'
|
||||
* '<S74>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_04_Speed_Calculation/signal_log2'
|
||||
* '<S75>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_04_Speed_Calculation/signal_log3'
|
||||
* '<S76>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_04_Speed_Calculation/signal_log4'
|
||||
* '<S77>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_04_Speed_Calculation/signal_log6'
|
||||
* '<S78>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_04_Speed_Calculation/Edge_counter/rst_Delay'
|
||||
* '<S79>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F02_Electrical_Angle_Calculation/Modulo_Calculation'
|
||||
* '<S80>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F02_Electrical_Angle_Calculation/signal_log1'
|
||||
* '<S81>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F02_Electrical_Angle_Calculation/signal_log2'
|
||||
* '<S82>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F02_Electrical_Angle_Calculation/signal_log6'
|
||||
* '<S83>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F03_Control_Method_Selection/F03_01_Pure_Trapezoidal_Method'
|
||||
* '<S84>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F03_Control_Method_Selection/F03_02_Sinusoidal3rd_Method'
|
||||
* '<S85>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F03_Control_Method_Selection/F03_02_Sinusoidal_Method'
|
||||
* '<S86>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F03_Control_Method_Selection/signal_log1'
|
||||
* '<S87>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F03_Control_Method_Selection/signal_log2'
|
||||
* '<S88>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F03_Control_Method_Selection/signal_log6'
|
||||
* '<S89>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F04_Control_Type_Management/signal_log1'
|
||||
* '<S90>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F04_Control_Type_Management/signal_log2'
|
||||
* '<S91>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F04_Control_Type_Management/signal_log6'
|
||||
*/
|
||||
#endif /* RTW_HEADER_BLDC_controller_h_ */
|
||||
|
||||
/*
|
||||
* File trailer for generated code.
|
||||
*
|
||||
* [EOF]
|
||||
*/
|
441
01_Matlab/BLDC_controller_ert_rtw/BLDC_controller.mk
Normal file
@ -0,0 +1,441 @@
|
||||
###########################################################################
|
||||
## Makefile generated for Simulink model 'BLDC_controller'.
|
||||
##
|
||||
## Makefile : BLDC_controller.mk
|
||||
## Generated on : Fri May 24 22:25:17 2019
|
||||
## MATLAB Coder version: 3.4 (R2017b)
|
||||
##
|
||||
## Build Info:
|
||||
##
|
||||
## Final product: $(RELATIVE_PATH_TO_ANCHOR)/BLDC_controller.exe
|
||||
## Product type : executable
|
||||
## Build type : Top-Level Standalone Executable
|
||||
##
|
||||
###########################################################################
|
||||
|
||||
###########################################################################
|
||||
## MACROS
|
||||
###########################################################################
|
||||
|
||||
# Macro Descriptions:
|
||||
# PRODUCT_NAME Name of the system to build
|
||||
# MAKEFILE Name of this makefile
|
||||
# COMPUTER Computer type. See the MATLAB "computer" command.
|
||||
# MODELREF_LINK_RSPFILE Include paths for the model reference build
|
||||
# GEN_LINKER_RESPONSE Command to generate a linker response file
|
||||
# CMD_FILE Command file
|
||||
|
||||
PRODUCT_NAME = BLDC_controller
|
||||
MAKEFILE = BLDC_controller.mk
|
||||
COMPUTER = PCWIN64
|
||||
MATLAB_ROOT = C:/PROGRA~1/MATLAB/R2017b
|
||||
MATLAB_BIN = C:/PROGRA~1/MATLAB/R2017b/bin
|
||||
MATLAB_ARCH_BIN = $(MATLAB_BIN)/win64
|
||||
MASTER_ANCHOR_DIR =
|
||||
START_DIR = D:/Work_home/Projects_STM32/01_Motor_control
|
||||
ARCH = win64
|
||||
SOLVER =
|
||||
SOLVER_OBJ =
|
||||
CLASSIC_INTERFACE = 0
|
||||
TGT_FCN_LIB = None
|
||||
MODEL_HAS_DYNAMICALLY_LOADED_SFCNS = 0
|
||||
MODELREF_LINK_RSPFILE_NAME = BLDC_controller_ref.rsp
|
||||
RELATIVE_PATH_TO_ANCHOR = ..
|
||||
MODELREF_LINK_RSPFILE = BLDC_controller_ref.rsp
|
||||
GEN_LINKER_RESPONSE = $(MATLAB_ARCH_BIN)/createResponseFile.exe 1
|
||||
CMD_FILE = $(PRODUCT_NAME).rsp
|
||||
C_STANDARD_OPTS = -ansi -pedantic -Wno-long-long -fwrapv
|
||||
CPP_STANDARD_OPTS = -std=c++98 -pedantic -Wno-long-long -fwrapv
|
||||
|
||||
###########################################################################
|
||||
## TOOLCHAIN SPECIFICATIONS
|
||||
###########################################################################
|
||||
|
||||
# Toolchain Name: MinGW64 | gmake (64-bit Windows)
|
||||
# Supported Version(s): 5.x
|
||||
# ToolchainInfo Version: R2017b
|
||||
# Specification Revision: 1.0
|
||||
#
|
||||
#-------------------------------------------
|
||||
# Macros assumed to be defined elsewhere
|
||||
#-------------------------------------------
|
||||
|
||||
# C_STANDARD_OPTS
|
||||
# CPP_STANDARD_OPTS
|
||||
# MINGW_ROOT
|
||||
# MINGW_C_STANDARD_OPTS
|
||||
|
||||
#-----------
|
||||
# MACROS
|
||||
#-----------
|
||||
|
||||
WARN_FLAGS = -Wall -W -Wwrite-strings -Winline -Wstrict-prototypes -Wnested-externs -Wpointer-arith -Wcast-align
|
||||
WARN_FLAGS_MAX = $(WARN_FLAGS) -Wcast-qual -Wshadow
|
||||
CPP_WARN_FLAGS = -Wall -W -Wwrite-strings -Winline -Wpointer-arith -Wcast-align
|
||||
CPP_WARN_FLAGS_MAX = $(CPP_WARN_FLAGS) -Wcast-qual -Wshadow
|
||||
MEX_OPTS_FILE = $(MATLAB_ROOT)/bin/win64/mexopts/mingw64.xml
|
||||
MEX_CPP_OPTS_FILE = $(MATLAB_ROOT)/bin/win64/mexopts/mingw64_g++.xml
|
||||
MW_EXTERNLIB_DIR = $(MATLAB_ROOT)/extern/lib/win64/mingw64
|
||||
SHELL = %SystemRoot%/system32/cmd.exe
|
||||
|
||||
TOOLCHAIN_SRCS =
|
||||
TOOLCHAIN_INCS =
|
||||
TOOLCHAIN_LIBS = -lws2_32
|
||||
|
||||
#------------------------
|
||||
# BUILD TOOL COMMANDS
|
||||
#------------------------
|
||||
|
||||
# C Compiler: GNU C Compiler
|
||||
CC_PATH = $(MINGW_ROOT)
|
||||
CC = "$(CC_PATH)/gcc"
|
||||
|
||||
# Linker: GNU Linker
|
||||
LD_PATH = $(MINGW_ROOT)
|
||||
LD = "$(LD_PATH)/gcc"
|
||||
|
||||
# C++ Compiler: GNU C++ Compiler
|
||||
CPP_PATH = $(MINGW_ROOT)
|
||||
CPP = "$(CPP_PATH)/g++"
|
||||
|
||||
# C++ Linker: GNU C++ Linker
|
||||
CPP_LD_PATH = $(MINGW_ROOT)
|
||||
CPP_LD = "$(CPP_LD_PATH)/g++"
|
||||
|
||||
# Archiver: GNU Archiver
|
||||
AR_PATH = $(MINGW_ROOT)
|
||||
AR = "$(AR_PATH)/ar"
|
||||
|
||||
# MEX Tool: MEX Tool
|
||||
MEX_PATH = $(MATLAB_BIN)/win64
|
||||
MEX = "$(MEX_PATH)/mex"
|
||||
|
||||
# Download: Download
|
||||
DOWNLOAD =
|
||||
|
||||
# Execute: Execute
|
||||
EXECUTE = $(PRODUCT)
|
||||
|
||||
# Builder: GMAKE Utility
|
||||
MAKE_PATH = %MATLAB%/bin/win64
|
||||
MAKE = "$(MAKE_PATH)/gmake"
|
||||
|
||||
|
||||
#-------------------------
|
||||
# Directives/Utilities
|
||||
#-------------------------
|
||||
|
||||
CDEBUG = -g
|
||||
C_OUTPUT_FLAG = -o
|
||||
LDDEBUG = -g
|
||||
OUTPUT_FLAG = -o
|
||||
CPPDEBUG = -g
|
||||
CPP_OUTPUT_FLAG = -o
|
||||
CPPLDDEBUG = -g
|
||||
OUTPUT_FLAG = -o
|
||||
ARDEBUG =
|
||||
STATICLIB_OUTPUT_FLAG =
|
||||
MEX_DEBUG = -g
|
||||
RM = @del
|
||||
ECHO = @echo
|
||||
MV = @move
|
||||
RUN =
|
||||
|
||||
#--------------------------------------
|
||||
# "Faster Runs" Build Configuration
|
||||
#--------------------------------------
|
||||
|
||||
ARFLAGS = ruvs
|
||||
CFLAGS = -c $(MINGW_C_STANDARD_OPTS) \
|
||||
-O3 -fno-loop-optimize -fno-aggressive-loop-optimizations
|
||||
CPPFLAGS = -c $(CPP_STANDARD_OPTS) \
|
||||
-O3 -fno-loop-optimize -fno-aggressive-loop-optimizations
|
||||
CPP_LDFLAGS = -Wl,-rpath,"$(MATLAB_ARCH_BIN)",-L"$(MATLAB_ARCH_BIN)" -static
|
||||
CPP_SHAREDLIB_LDFLAGS = -shared -Wl,-rpath,"$(MATLAB_ARCH_BIN)",-L"$(MATLAB_ARCH_BIN)" -Wl,--no-undefined \
|
||||
-Wl,--out-implib,$(basename $(PRODUCT))$(STATICLIB_EXT)
|
||||
DOWNLOAD_FLAGS =
|
||||
EXECUTE_FLAGS =
|
||||
LDFLAGS = -Wl,-rpath,"$(MATLAB_ARCH_BIN)",-L"$(MATLAB_ARCH_BIN)" -static
|
||||
MEX_CPPFLAGS = -MATLAB_ARCH=$(ARCH) $(INCLUDES) \
|
||||
\
|
||||
COPTIMFLAGS="$(MINGW_C_STANDARD_OPTS) \
|
||||
-O3 -fno-loop-optimize -fno-aggressive-loop-optimizations \
|
||||
$(DEFINES)" \
|
||||
\
|
||||
-silent
|
||||
MEX_CPPLDFLAGS = LDFLAGS=='$$LDFLAGS'
|
||||
MEX_CFLAGS = -MATLAB_ARCH=$(ARCH) $(INCLUDES) \
|
||||
\
|
||||
COPTIMFLAGS="$(MINGW_C_STANDARD_OPTS) \
|
||||
-O3 -fno-loop-optimize -fno-aggressive-loop-optimizations \
|
||||
$(DEFINES)" \
|
||||
\
|
||||
-silent
|
||||
MEX_LDFLAGS = LDFLAGS=='$$LDFLAGS'
|
||||
MAKE_FLAGS = -f $(MAKEFILE)
|
||||
SHAREDLIB_LDFLAGS = -shared -Wl,-rpath,"$(MATLAB_ARCH_BIN)",-L"$(MATLAB_ARCH_BIN)" -Wl,--no-undefined \
|
||||
-Wl,--out-implib,$(basename $(PRODUCT))$(STATICLIB_EXT)
|
||||
|
||||
#--------------------
|
||||
# File extensions
|
||||
#--------------------
|
||||
|
||||
H_EXT = .h
|
||||
OBJ_EXT = .obj
|
||||
C_EXT = .c
|
||||
EXE_EXT = .exe
|
||||
SHAREDLIB_EXT = .dll
|
||||
HPP_EXT = .hpp
|
||||
OBJ_EXT = .obj
|
||||
CPP_EXT = .cpp
|
||||
EXE_EXT = .exe
|
||||
SHAREDLIB_EXT = .dll
|
||||
STATICLIB_EXT = .lib
|
||||
MEX_EXT = .mexw64
|
||||
MAKE_EXT = .mk
|
||||
|
||||
|
||||
###########################################################################
|
||||
## OUTPUT INFO
|
||||
###########################################################################
|
||||
|
||||
PRODUCT = $(RELATIVE_PATH_TO_ANCHOR)/BLDC_controller.exe
|
||||
PRODUCT_TYPE = "executable"
|
||||
BUILD_TYPE = "Top-Level Standalone Executable"
|
||||
|
||||
###########################################################################
|
||||
## INCLUDE PATHS
|
||||
###########################################################################
|
||||
|
||||
INCLUDES_BUILDINFO = -I$(START_DIR) -I$(MATLAB_ROOT)/simulink/include/sf_runtime -I$(START_DIR)/BLDC_controller_ert_rtw -I$(MATLAB_ROOT)/extern/include -I$(MATLAB_ROOT)/simulink/include -I$(MATLAB_ROOT)/rtw/c/src -I$(MATLAB_ROOT)/rtw/c/src/ext_mode/common -I$(MATLAB_ROOT)/rtw/c/ert
|
||||
|
||||
INCLUDES = $(INCLUDES_BUILDINFO)
|
||||
|
||||
###########################################################################
|
||||
## DEFINES
|
||||
###########################################################################
|
||||
|
||||
DEFINES_BUILD_ARGS = -DTERMFCN=0 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0
|
||||
DEFINES_IMPLIED = -DTID01EQ=0
|
||||
DEFINES_STANDARD = -DMODEL=BLDC_controller -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO
|
||||
|
||||
DEFINES = $(DEFINES_BUILD_ARGS) $(DEFINES_IMPLIED) $(DEFINES_STANDARD)
|
||||
|
||||
###########################################################################
|
||||
## SOURCE FILES
|
||||
###########################################################################
|
||||
|
||||
SRCS = $(START_DIR)/BLDC_controller_ert_rtw/BLDC_controller.c $(START_DIR)/BLDC_controller_ert_rtw/BLDC_controller_data.c
|
||||
|
||||
MAIN_SRC = $(START_DIR)/BLDC_controller_ert_rtw/ert_main.c
|
||||
|
||||
ALL_SRCS = $(SRCS) $(MAIN_SRC)
|
||||
|
||||
###########################################################################
|
||||
## OBJECTS
|
||||
###########################################################################
|
||||
|
||||
OBJS = BLDC_controller.obj BLDC_controller_data.obj
|
||||
|
||||
MAIN_OBJ = ert_main.obj
|
||||
|
||||
ALL_OBJS = $(OBJS) $(MAIN_OBJ)
|
||||
|
||||
###########################################################################
|
||||
## PREBUILT OBJECT FILES
|
||||
###########################################################################
|
||||
|
||||
PREBUILT_OBJS =
|
||||
|
||||
###########################################################################
|
||||
## LIBRARIES
|
||||
###########################################################################
|
||||
|
||||
LIBS =
|
||||
|
||||
###########################################################################
|
||||
## SYSTEM LIBRARIES
|
||||
###########################################################################
|
||||
|
||||
SYSTEM_LIBS =
|
||||
|
||||
###########################################################################
|
||||
## ADDITIONAL TOOLCHAIN FLAGS
|
||||
###########################################################################
|
||||
|
||||
#---------------
|
||||
# C Compiler
|
||||
#---------------
|
||||
|
||||
CFLAGS_BASIC = $(DEFINES) $(INCLUDES)
|
||||
|
||||
CFLAGS += $(CFLAGS_BASIC)
|
||||
|
||||
#-----------------
|
||||
# C++ Compiler
|
||||
#-----------------
|
||||
|
||||
CPPFLAGS_BASIC = $(DEFINES) $(INCLUDES)
|
||||
|
||||
CPPFLAGS += $(CPPFLAGS_BASIC)
|
||||
|
||||
###########################################################################
|
||||
## INLINED COMMANDS
|
||||
###########################################################################
|
||||
|
||||
|
||||
ifdef SIM_TARGET_BUILD
|
||||
MINGW_C_STANDARD_OPTS = $(filter-out -ansi, $(C_STANDARD_OPTS))
|
||||
else
|
||||
MINGW_C_STANDARD_OPTS = $(C_STANDARD_OPTS)
|
||||
endif
|
||||
|
||||
|
||||
###########################################################################
|
||||
## PHONY TARGETS
|
||||
###########################################################################
|
||||
|
||||
.PHONY : all build buildobj clean info prebuild download execute
|
||||
|
||||
|
||||
all : build
|
||||
@echo "### Successfully generated all binary outputs."
|
||||
|
||||
|
||||
build : prebuild $(PRODUCT)
|
||||
|
||||
|
||||
buildobj : prebuild $(OBJS) $(PREBUILT_OBJS)
|
||||
@echo "### Successfully generated all binary outputs."
|
||||
|
||||
|
||||
prebuild :
|
||||
|
||||
|
||||
download : build
|
||||
|
||||
|
||||
execute : download
|
||||
@echo "### Invoking postbuild tool "Execute" ..."
|
||||
$(EXECUTE) $(EXECUTE_FLAGS)
|
||||
@echo "### Done invoking postbuild tool."
|
||||
|
||||
|
||||
###########################################################################
|
||||
## FINAL TARGET
|
||||
###########################################################################
|
||||
|
||||
#-------------------------------------------
|
||||
# Create a standalone executable
|
||||
#-------------------------------------------
|
||||
|
||||
$(PRODUCT) : $(OBJS) $(PREBUILT_OBJS) $(MAIN_OBJ)
|
||||
$(GEN_LINKER_RESPONSE) $(CMD_FILE) $(OBJS)
|
||||
@echo "### Creating standalone executable "$(PRODUCT)" ..."
|
||||
$(LD) $(LDFLAGS) -o $(PRODUCT) @$(CMD_FILE) $(MAIN_OBJ) $(SYSTEM_LIBS) $(TOOLCHAIN_LIBS)
|
||||
@echo "### Created: $(PRODUCT)"
|
||||
$(RM) $(CMD_FILE)
|
||||
|
||||
|
||||
###########################################################################
|
||||
## INTERMEDIATE TARGETS
|
||||
###########################################################################
|
||||
|
||||
#---------------------
|
||||
# SOURCE-TO-OBJECT
|
||||
#---------------------
|
||||
|
||||
%.obj : %.c
|
||||
$(CC) $(CFLAGS) -o "$@" "$<"
|
||||
|
||||
|
||||
%.obj : %.cpp
|
||||
$(CPP) $(CPPFLAGS) -o "$@" "$<"
|
||||
|
||||
|
||||
%.obj : $(RELATIVE_PATH_TO_ANCHOR)/%.c
|
||||
$(CC) $(CFLAGS) -o "$@" "$<"
|
||||
|
||||
|
||||
%.obj : $(RELATIVE_PATH_TO_ANCHOR)/%.cpp
|
||||
$(CPP) $(CPPFLAGS) -o "$@" "$<"
|
||||
|
||||
|
||||
%.obj : $(START_DIR)/%.c
|
||||
$(CC) $(CFLAGS) -o "$@" "$<"
|
||||
|
||||
|
||||
%.obj : $(START_DIR)/%.cpp
|
||||
$(CPP) $(CPPFLAGS) -o "$@" "$<"
|
||||
|
||||
|
||||
%.obj : $(START_DIR)/BLDC_controller_ert_rtw/%.c
|
||||
$(CC) $(CFLAGS) -o "$@" "$<"
|
||||
|
||||
|
||||
%.obj : $(START_DIR)/BLDC_controller_ert_rtw/%.cpp
|
||||
$(CPP) $(CPPFLAGS) -o "$@" "$<"
|
||||
|
||||
|
||||
%.obj : $(MATLAB_ROOT)/rtw/c/src/%.c
|
||||
$(CC) $(CFLAGS) -o "$@" "$<"
|
||||
|
||||
|
||||
%.obj : $(MATLAB_ROOT)/rtw/c/src/%.cpp
|
||||
$(CPP) $(CPPFLAGS) -o "$@" "$<"
|
||||
|
||||
|
||||
%.obj : $(MATLAB_ROOT)/simulink/src/%.c
|
||||
$(CC) $(CFLAGS) -o "$@" "$<"
|
||||
|
||||
|
||||
%.obj : $(MATLAB_ROOT)/simulink/src/%.cpp
|
||||
$(CPP) $(CPPFLAGS) -o "$@" "$<"
|
||||
|
||||
|
||||
###########################################################################
|
||||
## DEPENDENCIES
|
||||
###########################################################################
|
||||
|
||||
$(ALL_OBJS) : $(MAKEFILE) rtw_proj.tmw
|
||||
|
||||
|
||||
###########################################################################
|
||||
## MISCELLANEOUS TARGETS
|
||||
###########################################################################
|
||||
|
||||
info :
|
||||
@echo "### PRODUCT = $(PRODUCT)"
|
||||
@echo "### PRODUCT_TYPE = $(PRODUCT_TYPE)"
|
||||
@echo "### BUILD_TYPE = $(BUILD_TYPE)"
|
||||
@echo "### INCLUDES = $(INCLUDES)"
|
||||
@echo "### DEFINES = $(DEFINES)"
|
||||
@echo "### ALL_SRCS = $(ALL_SRCS)"
|
||||
@echo "### ALL_OBJS = $(ALL_OBJS)"
|
||||
@echo "### LIBS = $(LIBS)"
|
||||
@echo "### MODELREF_LIBS = $(MODELREF_LIBS)"
|
||||
@echo "### SYSTEM_LIBS = $(SYSTEM_LIBS)"
|
||||
@echo "### TOOLCHAIN_LIBS = $(TOOLCHAIN_LIBS)"
|
||||
@echo "### CFLAGS = $(CFLAGS)"
|
||||
@echo "### LDFLAGS = $(LDFLAGS)"
|
||||
@echo "### SHAREDLIB_LDFLAGS = $(SHAREDLIB_LDFLAGS)"
|
||||
@echo "### CPPFLAGS = $(CPPFLAGS)"
|
||||
@echo "### CPP_LDFLAGS = $(CPP_LDFLAGS)"
|
||||
@echo "### CPP_SHAREDLIB_LDFLAGS = $(CPP_SHAREDLIB_LDFLAGS)"
|
||||
@echo "### ARFLAGS = $(ARFLAGS)"
|
||||
@echo "### MEX_CFLAGS = $(MEX_CFLAGS)"
|
||||
@echo "### MEX_CPPFLAGS = $(MEX_CPPFLAGS)"
|
||||
@echo "### MEX_LDFLAGS = $(MEX_LDFLAGS)"
|
||||
@echo "### MEX_CPPLDFLAGS = $(MEX_CPPLDFLAGS)"
|
||||
@echo "### DOWNLOAD_FLAGS = $(DOWNLOAD_FLAGS)"
|
||||
@echo "### EXECUTE_FLAGS = $(EXECUTE_FLAGS)"
|
||||
@echo "### MAKE_FLAGS = $(MAKE_FLAGS)"
|
||||
|
||||
|
||||
clean :
|
||||
$(ECHO) "### Deleting all derived files..."
|
||||
$(RM) $(subst /,\,$(PRODUCT))
|
||||
$(RM) $(subst /,\,$(ALL_OBJS))
|
||||
$(ECHO) "### Deleted all derived files."
|
||||
|
||||
|
212
01_Matlab/BLDC_controller_ert_rtw/BLDC_controller_data.c
Normal file
@ -0,0 +1,212 @@
|
||||
/*
|
||||
* Academic License - for use in teaching, academic research, and meeting
|
||||
* course requirements at degree granting institutions only. Not for
|
||||
* government, commercial, or other organizational use.
|
||||
*
|
||||
* File: BLDC_controller_data.c
|
||||
*
|
||||
* Code generated for Simulink model 'BLDC_controller'.
|
||||
*
|
||||
* Model version : 1.800
|
||||
* Simulink Coder version : 8.13 (R2017b) 24-Jul-2017
|
||||
* C/C++ source code generated on : Sat May 25 21:42:39 2019
|
||||
*
|
||||
* Target selection: ert.tlc
|
||||
* Embedded hardware selection: ARM Compatible->ARM Cortex
|
||||
* Emulation hardware selection:
|
||||
* Differs from embedded hardware (MATLAB Host)
|
||||
* Code generation objectives:
|
||||
* 1. Execution efficiency
|
||||
* 2. RAM efficiency
|
||||
* Validation result: Not run
|
||||
*/
|
||||
|
||||
#include "BLDC_controller.h"
|
||||
|
||||
/* Block parameters (auto storage) */
|
||||
P rtP = {
|
||||
/* Variable: cf_spdCoef
|
||||
* Referenced by:
|
||||
* '<S29>/cf_spdCoef'
|
||||
* '<S69>/cf_spdCoef'
|
||||
*/
|
||||
66667,
|
||||
|
||||
/* Variable: n_commAcvLo
|
||||
* Referenced by:
|
||||
* '<S15>/Relay'
|
||||
* '<S55>/Relay'
|
||||
*/
|
||||
100,
|
||||
|
||||
/* Variable: n_commDeacvHi
|
||||
* Referenced by:
|
||||
* '<S15>/Relay'
|
||||
* '<S55>/Relay'
|
||||
*/
|
||||
180,
|
||||
|
||||
/* Variable: n_thresSpdDeacv
|
||||
* Referenced by:
|
||||
* '<S23>/n_thresSpdDeacv'
|
||||
* '<S63>/n_thresSpdDeacv'
|
||||
*/
|
||||
5,
|
||||
|
||||
/* Variable: r_commDCDeacv
|
||||
* Referenced by:
|
||||
* '<S15>/r_commDCDeacv'
|
||||
* '<S55>/r_commDCDeacv'
|
||||
*/
|
||||
70,
|
||||
|
||||
/* Variable: r_phaAdvDC_XA
|
||||
* Referenced by:
|
||||
* '<S13>/r_phaAdvDC_XA'
|
||||
* '<S53>/r_phaAdvDC_XA'
|
||||
*/
|
||||
{ 0, 100, 200, 300, 400, 500, 600, 700, 800, 900, 1000 },
|
||||
|
||||
/* Variable: a_phaAdv_M1
|
||||
* Referenced by:
|
||||
* '<S13>/a_phaAdv_M2'
|
||||
* '<S53>/a_phaAdv_M2'
|
||||
*/
|
||||
{ 0, 0, 7, 2, 2, 2, 4, 5, 9, 16, 25 },
|
||||
|
||||
/* Variable: z_maxCntRst
|
||||
* Referenced by:
|
||||
* '<S23>/z_maxCntRst'
|
||||
* '<S63>/z_maxCntRst'
|
||||
* '<S29>/z_maxCntRst'
|
||||
* '<S69>/z_maxCntRst'
|
||||
*/
|
||||
2000,
|
||||
|
||||
/* Variable: z_ctrlTypSel
|
||||
* Referenced by:
|
||||
* '<S12>/z_ctrlTypSel1'
|
||||
* '<S52>/z_ctrlTypSel1'
|
||||
*/
|
||||
3U,
|
||||
|
||||
/* Variable: z_nrEdgeSpdAcv
|
||||
* Referenced by:
|
||||
* '<S23>/z_nrEdgeSpdAcv'
|
||||
* '<S63>/z_nrEdgeSpdAcv'
|
||||
*/
|
||||
5U,
|
||||
|
||||
/* Variable: b_phaAdvEna
|
||||
* Referenced by:
|
||||
* '<S13>/a_elecPeriod1'
|
||||
* '<S53>/a_elecPeriod1'
|
||||
*/
|
||||
1
|
||||
};
|
||||
|
||||
/* Constant parameters (auto storage) */
|
||||
const ConstP rtConstP = {
|
||||
/* Pooled Parameter (Expression: r_trapPhaA_M1)
|
||||
* Referenced by:
|
||||
* '<S43>/r_trapPhaA_M1'
|
||||
* '<S83>/r_trapPhaA_M1'
|
||||
*/
|
||||
{ 1000, 1000, 1000, -1000, -1000, -1000, 1000 },
|
||||
|
||||
/* Pooled Parameter (Expression: r_trapPhaB_M1)
|
||||
* Referenced by:
|
||||
* '<S43>/r_trapPhaB_M1'
|
||||
* '<S83>/r_trapPhaB_M1'
|
||||
*/
|
||||
{ -1000, -1000, 1000, 1000, 1000, -1000, -1000 },
|
||||
|
||||
/* Pooled Parameter (Expression: r_trapPhaC_M1)
|
||||
* Referenced by:
|
||||
* '<S43>/r_trapPhaC_M1'
|
||||
* '<S83>/r_trapPhaC_M1'
|
||||
*/
|
||||
{ 1000, -1000, -1000, -1000, 1000, 1000, 1000 },
|
||||
|
||||
/* Pooled Parameter (Expression: r_sinPhaA_M1)
|
||||
* Referenced by:
|
||||
* '<S45>/r_sinPhaA_M1'
|
||||
* '<S85>/r_sinPhaA_M1'
|
||||
*/
|
||||
{ 500, 643, 766, 866, 940, 985, 1000, 985, 940, 866, 766, 643, 500, 342, 174,
|
||||
0, -174, -342, -500, -643, -766, -866, -940, -985, -1000, -985, -940, -866,
|
||||
-766, -643, -500, -342, -174, 0, 174, 342, 500 },
|
||||
|
||||
/* Pooled Parameter (Expression: r_sinPhaB_M1)
|
||||
* Referenced by:
|
||||
* '<S45>/r_sinPhaB_M1'
|
||||
* '<S85>/r_sinPhaB_M1'
|
||||
*/
|
||||
{ -1000, -985, -940, -866, -766, -643, -500, -342, -174, 0, 174, 342, 500, 643,
|
||||
766, 866, 940, 985, 1000, 985, 940, 866, 766, 643, 500, 342, 174, 0, -174,
|
||||
-342, -500, -643, -766, -866, -940, -985, -1000 },
|
||||
|
||||
/* Pooled Parameter (Expression: r_sinPhaC_M1)
|
||||
* Referenced by:
|
||||
* '<S45>/r_sinPhaC_M1'
|
||||
* '<S85>/r_sinPhaC_M1'
|
||||
*/
|
||||
{ 500, 342, 174, 0, -174, -342, -500, -643, -766, -866, -940, -985, -1000,
|
||||
-985, -940, -866, -766, -643, -500, -342, -174, 0, 174, 342, 500, 643, 766,
|
||||
866, 940, 985, 1000, 985, 940, 866, 766, 643, 500 },
|
||||
|
||||
/* Pooled Parameter (Expression: r_sin3PhaA_M1)
|
||||
* Referenced by:
|
||||
* '<S44>/r_sin3PhaA_M1'
|
||||
* '<S84>/r_sin3PhaA_M1'
|
||||
*/
|
||||
{ 795, 930, 991, 996, 971, 942, 930, 942, 971, 996, 991, 930, 795, 584, 310, 0,
|
||||
-310, -584, -795, -930, -991, -996, -971, -942, -930, -942, -971, -996, -991,
|
||||
-930, -795, -584, -310, 0, 310, 584, 795 },
|
||||
|
||||
/* Pooled Parameter (Expression: r_sin3PhaB_M1)
|
||||
* Referenced by:
|
||||
* '<S44>/r_sin3PhaB_M1'
|
||||
* '<S84>/r_sin3PhaB_M1'
|
||||
*/
|
||||
{ -930, -942, -971, -996, -991, -930, -795, -584, -310, 0, 310, 584, 795, 930,
|
||||
991, 996, 971, 942, 930, 942, 971, 996, 991, 930, 795, 584, 310, 0, -310,
|
||||
-584, -795, -930, -991, -996, -971, -942, -930 },
|
||||
|
||||
/* Pooled Parameter (Expression: r_sin3PhaC_M1)
|
||||
* Referenced by:
|
||||
* '<S44>/r_sin3PhaC_M1'
|
||||
* '<S84>/r_sin3PhaC_M1'
|
||||
*/
|
||||
{ 795, 584, 310, 0, -310, -584, -795, -930, -991, -996, -971, -942, -930, -942,
|
||||
-971, -996, -991, -930, -795, -584, -310, 0, 310, 584, 795, 930, 991, 996,
|
||||
971, 942, 930, 942, 971, 996, 991, 930, 795 },
|
||||
|
||||
/* Pooled Parameter (Expression: z_commutMap_M1)
|
||||
* Referenced by:
|
||||
* '<S15>/z_commutMap_M1'
|
||||
* '<S55>/z_commutMap_M1'
|
||||
*/
|
||||
{ 1000, -1000, 0, 1000, 0, -1000, 0, 1000, -1000, -1000, 1000, 0, -1000, 0,
|
||||
1000, 0, -1000, 1000 },
|
||||
|
||||
/* Pooled Parameter (Expression: vec_hallToPos)
|
||||
* Referenced by:
|
||||
* '<S21>/vec_hallToPos'
|
||||
* '<S61>/vec_hallToPos'
|
||||
*/
|
||||
{ 0U, 5U, 3U, 4U, 1U, 0U, 2U, 0U },
|
||||
|
||||
/* Pooled Parameter (Expression: [0 1;1 0;0 1;0 1;1 0;1 0;0 0;0 0])
|
||||
* Referenced by:
|
||||
* '<S30>/Logic'
|
||||
* '<S70>/Logic'
|
||||
*/
|
||||
{ 0, 1, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0, 0, 0, 0 }
|
||||
};
|
||||
|
||||
/*
|
||||
* File trailer for generated code.
|
||||
*
|
||||
* [EOF]
|
||||
*/
|
BIN
01_Matlab/BLDC_controller_ert_rtw/buildInfo.mat
Normal file
BIN
01_Matlab/BLDC_controller_ert_rtw/codeInfo.mat
Normal file
BIN
01_Matlab/BLDC_controller_ert_rtw/codedescriptor.dmr
Normal file
13
01_Matlab/BLDC_controller_ert_rtw/defines.txt
Normal file
@ -0,0 +1,13 @@
|
||||
MODEL=BLDC_controller
|
||||
NUMST=1
|
||||
NCSTATES=0
|
||||
HAVESTDIO
|
||||
TERMFCN=0
|
||||
ONESTEPFCN=1
|
||||
MAT_FILE=0
|
||||
MULTI_INSTANCE_CODE=0
|
||||
INTEGER_CODE=0
|
||||
MT=0
|
||||
CLASSIC_INTERFACE=0
|
||||
ALLOCATIONFCN=0
|
||||
TID01EQ=0
|
116
01_Matlab/BLDC_controller_ert_rtw/ert_main.c
Normal file
@ -0,0 +1,116 @@
|
||||
/*
|
||||
* Academic License - for use in teaching, academic research, and meeting
|
||||
* course requirements at degree granting institutions only. Not for
|
||||
* government, commercial, or other organizational use.
|
||||
*
|
||||
* File: ert_main.c
|
||||
*
|
||||
* Code generated for Simulink model 'BLDC_controller'.
|
||||
*
|
||||
* Model version : 1.800
|
||||
* Simulink Coder version : 8.13 (R2017b) 24-Jul-2017
|
||||
* C/C++ source code generated on : Sat May 25 21:42:39 2019
|
||||
*
|
||||
* Target selection: ert.tlc
|
||||
* Embedded hardware selection: ARM Compatible->ARM Cortex
|
||||
* Emulation hardware selection:
|
||||
* Differs from embedded hardware (MATLAB Host)
|
||||
* Code generation objectives:
|
||||
* 1. Execution efficiency
|
||||
* 2. RAM efficiency
|
||||
* Validation result: Not run
|
||||
*/
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdio.h> /* This ert_main.c example uses printf/fflush */
|
||||
#include "BLDC_controller.h" /* Model's header file */
|
||||
#include "rtwtypes.h"
|
||||
#include "zero_crossing_types.h"
|
||||
|
||||
/*
|
||||
* Associating rt_OneStep with a real-time clock or interrupt service routine
|
||||
* is what makes the generated code "real-time". The function rt_OneStep is
|
||||
* always associated with the base rate of the model. Subrates are managed
|
||||
* by the base rate from inside the generated code. Enabling/disabling
|
||||
* interrupts and floating point context switches are target specific. This
|
||||
* example code indicates where these should take place relative to executing
|
||||
* the generated code step function. Overrun behavior should be tailored to
|
||||
* your application needs. This example simply sets an error status in the
|
||||
* real-time model and returns from rt_OneStep.
|
||||
*/
|
||||
void rt_OneStep(void);
|
||||
void rt_OneStep(void)
|
||||
{
|
||||
static boolean_T OverrunFlag = false;
|
||||
|
||||
/* Disable interrupts here */
|
||||
|
||||
/* Check for overrun */
|
||||
if (OverrunFlag) {
|
||||
return;
|
||||
}
|
||||
|
||||
OverrunFlag = true;
|
||||
|
||||
/* Save FPU context here (if necessary) */
|
||||
/* Re-enable timer or interrupt here */
|
||||
/* Set model inputs here */
|
||||
|
||||
/* Step the model */
|
||||
BLDC_controller_step();
|
||||
|
||||
/* Get model outputs here */
|
||||
|
||||
/* Indicate task complete */
|
||||
OverrunFlag = false;
|
||||
|
||||
/* Disable interrupts here */
|
||||
/* Restore FPU context here (if necessary) */
|
||||
/* Enable interrupts here */
|
||||
}
|
||||
|
||||
/*
|
||||
* The example "main" function illustrates what is required by your
|
||||
* application code to initialize, execute, and terminate the generated code.
|
||||
* Attaching rt_OneStep to a real-time clock is target specific. This example
|
||||
* illustrates how you do this relative to initializing the model.
|
||||
*/
|
||||
int_T main(int_T argc, const char *argv[])
|
||||
{
|
||||
/* Unused arguments */
|
||||
(void)(argc);
|
||||
(void)(argv);
|
||||
|
||||
/* Initialize model */
|
||||
BLDC_controller_initialize();
|
||||
|
||||
/* Attach rt_OneStep to a timer or interrupt service routine with
|
||||
* period 1.0E-5 seconds (the model's base sample time) here. The
|
||||
* call syntax for rt_OneStep is
|
||||
*
|
||||
* rt_OneStep();
|
||||
*/
|
||||
printf("Warning: The simulation will run forever. "
|
||||
"Generated ERT main won't simulate model step behavior. "
|
||||
"To change this behavior select the 'MAT-file logging' option.\n");
|
||||
fflush((NULL));
|
||||
while (1) {
|
||||
/* Perform other application tasks here */
|
||||
}
|
||||
|
||||
/* The option 'Remove error status field in real-time model data structure'
|
||||
* is selected, therefore the following code does not need to execute.
|
||||
*/
|
||||
#if 0
|
||||
|
||||
/* Disable rt_OneStep() here */
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* File trailer for generated code.
|
||||
*
|
||||
* [EOF]
|
||||
*/
|
1333
01_Matlab/BLDC_controller_ert_rtw/html/BLDC_controller_c.html
Normal file
@ -0,0 +1,27 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" /><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><link rel="stylesheet" type="text/css" href="rtwreport.css" /><script type="text/javascript" src="rtwhilite.js"></script><script type="text/javascript" src="rtwshrink.js"></script><script type="text/javascript">var reportModel = "BLDCmotorControl_R2017b:29"; </script><script type="text/javascript">var TargetLang = "C"; </script><script type="text/javascript" src="webview_codegen.js"></script><script type="text/javascript" src="BLDC_controller_traceInfo.js"></script><script type="text/javascript" src="requirements.js"></script><script type="text/javascript" src="BLDC_controller_sid_map.js"></script><script type="text/javascript" src="define.js"></script><script type="text/javascript" src="traceInfo_flag.js"></script><title>
|
||||
BLDC_controller Code Generation Report
|
||||
</title>
|
||||
|
||||
</head>
|
||||
<frameset cols="25%,75%" id="rtw_report_frameset">
|
||||
<frame scrolling="auto" src="BLDC_controller_contents.html" name="rtwreport_contents_frame" id="rtwreport_contents_frame">
|
||||
|
||||
</frame>
|
||||
<frameset rows="50%,50%" id="rtw_webviewMidFrame">
|
||||
<frame scrolling="auto" name="rtwreport_document_frame" id="rtwreport_document_frame">
|
||||
|
||||
</frame>
|
||||
<frame scrolling="auto" src="webview/webview.html" name="rtw_webview" id="rtw_webview" onload="webviewToCodeInit()">
|
||||
|
||||
</frame>
|
||||
|
||||
</frameset>
|
||||
|
||||
</frameset>
|
||||
<body>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
@ -0,0 +1,307 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><link rel="stylesheet" type="text/css" href="rtwreport.css" /><script language="JavaScript" type="text/javascript" defer="defer">
|
||||
function rtwFileListShrink(o, category, numFiles)
|
||||
{
|
||||
var indent = document.getElementById(category + "_indent");
|
||||
var fileTable = document.getElementById(category + "_table");
|
||||
var catName = document.getElementById(category + "_name");
|
||||
if (fileTable.style.display == "none") {
|
||||
fileTable.style.display = "";
|
||||
indent.style.display = "";
|
||||
o.innerHTML = '<span style="font-family:monospace" id = "' + category + '_button">[-]</span>';
|
||||
catName.innerHTML = "<b>" + category + "</b>";
|
||||
} else {
|
||||
fileTable.style.display = "none";
|
||||
indent.style.display = "none";
|
||||
o.innerHTML = '<span style="font-family:monospace" id = "' + category + '_button">[+]</span>';
|
||||
catName.innerHTML = "<b>" + category + " (" + numFiles + ")" + "</b>";
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
</head>
|
||||
<body bgcolor="#eeeeee" link="#0033cc" vlink="#666666" rightmargin="0">
|
||||
<table class="toc" border="1">
|
||||
<tr>
|
||||
<td align="left" valign="top">
|
||||
<b>
|
||||
Contents
|
||||
</b>
|
||||
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left" valign="top">
|
||||
<a href="rtwmsg.html" id="rtwIdMsgFileLink" style="display: none" target="rtwreport_document_frame" onclick="if (top) if (top.tocHiliteMe) top.tocHiliteMe(window, this, true);" name="TOC_List">
|
||||
Block-to-code Message
|
||||
</a>
|
||||
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left" valign="top">
|
||||
<a href="BLDC_controller_survey.html" id="rtwIdSummaryPage" target="rtwreport_document_frame" onclick="if (top) if (top.tocHiliteMe) top.tocHiliteMe(window, this, true);" name="TOC_List">
|
||||
Summary
|
||||
</a>
|
||||
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left" valign="top">
|
||||
<a href="BLDC_controller_subsystems.html" id="rtwIdSubsystem" target="rtwreport_document_frame" onclick="if (top) if (top.tocHiliteMe) top.tocHiliteMe(window, this, true);" name="TOC_List">
|
||||
Subsystem Report
|
||||
</a>
|
||||
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left" valign="top">
|
||||
<a href="BLDC_controller_interface.html" id="rtwIdCodeInterface" target="rtwreport_document_frame" onclick="if (top) if (top.tocHiliteMe) top.tocHiliteMe(window, this, true);" name="TOC_List">
|
||||
Code Interface Report
|
||||
</a>
|
||||
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left" valign="top">
|
||||
<a href="BLDC_controller_trace.html" id="rtwIdTraceability" target="rtwreport_document_frame" onclick="if (top) if (top.tocHiliteMe) top.tocHiliteMe(window, this, true);" name="TOC_List">
|
||||
Traceability Report
|
||||
</a>
|
||||
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left" valign="top">
|
||||
<a href="BLDC_controller_metrics.html" id="rtwIdCodeMetrics" target="rtwreport_document_frame" onclick="if (top) if (top.tocHiliteMe) top.tocHiliteMe(window, this, true);" name="TOC_List">
|
||||
Static Code Metrics Report
|
||||
</a>
|
||||
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left" valign="top">
|
||||
<a href="BLDC_controller_replacements.html" id="rtwIdCodeReplacements" target="rtwreport_document_frame" onclick="if (top) if (top.tocHiliteMe) top.tocHiliteMe(window, this, true);" name="TOC_List">
|
||||
Code Replacements Report
|
||||
</a>
|
||||
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
<!--ADD_CODE_PROFILE_REPORT_LINK_HERE--><table class="panel small_font" style="display: none; margin-top: 10px; margin-bottom: 10px" id="rtwIdTracePanel" border="1">
|
||||
<tr>
|
||||
<td align="left" valign="top">
|
||||
<b>
|
||||
Highlight Navigation
|
||||
</b>
|
||||
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left" valign="top">
|
||||
<INPUT TYPE="button" VALUE="Previous" style="width: 85" ID="rtwIdButtonPrev" ONCLICK="if (top.rtwGoPrev) top.rtwGoPrev();" disabled="disabled" /><INPUT TYPE="button" VALUE="Next" style="width: 85" ID="rtwIdButtonNext" ONCLICK="if (top.rtwGoNext) top.rtwGoNext();" disabled="disabled" />
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
<hr /><table cellspacing="0" cellpadding="4" width="100%" bgcolor="#ffffff" border="0">
|
||||
<tr>
|
||||
<td align="left" valign="top">
|
||||
<b>
|
||||
Generated Code
|
||||
</b>
|
||||
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left" valign="top">
|
||||
<table cellspacing="0" cellpadding="1" width="100%" bgcolor="#ffffff" id="Main file" border="0">
|
||||
<tr>
|
||||
<td width="0%" align="left" valign="top">
|
||||
<span style="background-color:#ffffff;width:100%;cursor:pointer;white-space:nowrap" title="Click to shrink or expand category" onclick="rtwFileListShrink(this,'Main file','1')"><span style="font-family:monospace" id = "Main file_button">[-]</span></span>
|
||||
</td>
|
||||
<td width="100%" align="left" valign="top">
|
||||
<span id="Main file_name"><b>Main file</b></span>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="0%" align="left" valign="top">
|
||||
<span id="Main file_indent"></span>
|
||||
</td>
|
||||
<td width="100%" align="left" valign="top">
|
||||
<table cellspacing="0" cellpadding="4" width="100%" bgcolor="#ffffff" id="Main file_table" border="0">
|
||||
<tr>
|
||||
<td align="left" valign="top">
|
||||
<A HREF="ert_main_c.html" TARGET="rtwreport_document_frame" ONCLICK="if (top) if (top.tocHiliteMe) top.tocHiliteMe(window, this, false);" ID="ert_main_c.html" NAME="rtwIdGenFileLinks">
|
||||
ert_main.c
|
||||
</A>
|
||||
<span> </span>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left" valign="top">
|
||||
<table cellspacing="0" cellpadding="1" width="100%" bgcolor="#ffffff" id="Model files" border="0">
|
||||
<tr>
|
||||
<td width="0%" align="left" valign="top">
|
||||
<span style="background-color:#ffffff;width:100%;cursor:pointer;white-space:nowrap" title="Click to shrink or expand category" onclick="rtwFileListShrink(this,'Model files','2')"><span style="font-family:monospace" id = "Model files_button">[-]</span></span>
|
||||
</td>
|
||||
<td width="100%" align="left" valign="top">
|
||||
<span id="Model files_name"><b>Model files</b></span>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="0%" align="left" valign="top">
|
||||
<span id="Model files_indent"></span>
|
||||
</td>
|
||||
<td width="100%" align="left" valign="top">
|
||||
<table cellspacing="0" cellpadding="4" width="100%" bgcolor="#ffffff" id="Model files_table" border="0">
|
||||
<tr>
|
||||
<td align="left" valign="top">
|
||||
<A HREF="BLDC_controller_c.html" TARGET="rtwreport_document_frame" ONCLICK="if (top) if (top.tocHiliteMe) top.tocHiliteMe(window, this, false);" ID="BLDC_controller_c.html" NAME="rtwIdGenFileLinks">
|
||||
BLDC_controller.c
|
||||
</A>
|
||||
<span> </span>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left" valign="top">
|
||||
<A HREF="BLDC_controller_h.html" TARGET="rtwreport_document_frame" ONCLICK="if (top) if (top.tocHiliteMe) top.tocHiliteMe(window, this, false);" ID="BLDC_controller_h.html" NAME="rtwIdGenFileLinks">
|
||||
BLDC_controller.h
|
||||
</A>
|
||||
<span> </span>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left" valign="top">
|
||||
<table cellspacing="0" cellpadding="1" width="100%" bgcolor="#ffffff" id="Data files" border="0">
|
||||
<tr>
|
||||
<td width="0%" align="left" valign="top">
|
||||
<span style="background-color:#ffffff;width:100%;cursor:pointer;white-space:nowrap" title="Click to shrink or expand category" onclick="rtwFileListShrink(this,'Data files','1')"><span style="font-family:monospace" id = "Data files_button">[-]</span></span>
|
||||
</td>
|
||||
<td width="100%" align="left" valign="top">
|
||||
<span id="Data files_name"><b>Data files</b></span>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="0%" align="left" valign="top">
|
||||
<span id="Data files_indent"></span>
|
||||
</td>
|
||||
<td width="100%" align="left" valign="top">
|
||||
<table cellspacing="0" cellpadding="4" width="100%" bgcolor="#ffffff" id="Data files_table" border="0">
|
||||
<tr>
|
||||
<td align="left" valign="top">
|
||||
<A HREF="BLDC_controller_data_c.html" TARGET="rtwreport_document_frame" ONCLICK="if (top) if (top.tocHiliteMe) top.tocHiliteMe(window, this, false);" ID="BLDC_controller_data_c.html" NAME="rtwIdGenFileLinks">
|
||||
BLDC_controller_data.c
|
||||
</A>
|
||||
<span> </span>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left" valign="top">
|
||||
<table cellspacing="0" cellpadding="1" width="100%" bgcolor="#ffffff" id="Utility files" border="0">
|
||||
<tr>
|
||||
<td width="0%" align="left" valign="top">
|
||||
<span style="background-color:#ffffff;width:100%;cursor:pointer;white-space:nowrap" title="Click to shrink or expand category" onclick="rtwFileListShrink(this,'Utility files','2')"><span style="font-family:monospace" id = "Utility files_button">[+]</span></span>
|
||||
</td>
|
||||
<td width="100%" align="left" valign="top">
|
||||
<span id="Utility files_name"><b>Utility files (2)</b></span>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="0%" align="left" valign="top">
|
||||
<span id="Utility files_indent"></span>
|
||||
</td>
|
||||
<td width="100%" align="left" valign="top">
|
||||
<table cellspacing="0" cellpadding="4" width="100%" bgcolor="#ffffff" id="Utility files_table" style="display:none" border="0">
|
||||
<tr>
|
||||
<td align="left" valign="top">
|
||||
<A HREF="rtwtypes_h.html" TARGET="rtwreport_document_frame" ONCLICK="if (top) if (top.tocHiliteMe) top.tocHiliteMe(window, this, false);" ID="rtwtypes_h.html" NAME="rtwIdGenFileLinks">
|
||||
rtwtypes.h
|
||||
</A>
|
||||
<span> </span>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left" valign="top">
|
||||
<A HREF="zero_crossing_types_h.html" TARGET="rtwreport_document_frame" ONCLICK="if (top) if (top.tocHiliteMe) top.tocHiliteMe(window, this, false);" ID="zero_crossing_types_h.html" NAME="rtwIdGenFileLinks">
|
||||
zero_crossing_types.h
|
||||
</A>
|
||||
<span> </span>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
<hr />
|
||||
</body>
|
||||
|
||||
</html>
|
@ -0,0 +1,232 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
||||
<title>RTW Report - BLDC_controller_data.c</title>
|
||||
<link rel="stylesheet" type="text/css" href="rtwreport.css"></link><script language="JavaScript" type="text/javascript" src="rtwreport_utils.js"></script>
|
||||
<SCRIPT type="text/javascript" language="JavaScript" src="slwebview.js"></SCRIPT>
|
||||
<SCRIPT type="text/javascript" language="JavaScript" src="id_mapping.js"></SCRIPT>
|
||||
<SCRIPT type="text/javascript" src="rtwannotate.js"></SCRIPT>
|
||||
</head>
|
||||
<body bgcolor="#eeeeee" onload="try {if (top) { if (top.rtwFileOnLoad) top.rtwFileOnLoad(window.document); else local_onload();}} catch(err) {};if (typeof rtwannotate === 'function') {rtwannotate('BLDC_controller_data_c_cov.xml');}">
|
||||
<p>
|
||||
<table border="0" cellspacing="0" cellpadding="6" width="100%%" height="100%%"><tr><td width="100%%" valign="top" bgcolor="#ffffff">
|
||||
<h4>File: <a href="../BLDC_controller_data.c" target="rtwreport_document_frame" id="linkToText_plain">BLDC_controller_data.c</a></h4>
|
||||
<pre id="RTWcode">
|
||||
<span><a class="LN" name="1"> 1 </a><span class="CT">/*</span>
|
||||
</span><span><a class="LN" name="2"> 2 </a><span class="CT"> * Academic License - for use in teaching, academic research, and meeting</span>
|
||||
</span><span><a class="LN" name="3"> 3 </a><span class="CT"> * course requirements at degree granting institutions only. Not for</span>
|
||||
</span><span><a class="LN" name="4"> 4 </a><span class="CT"> * government, commercial, or other organizational use.</span>
|
||||
</span><span><a class="LN" name="5"> 5 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="6"> 6 </a><span class="CT"> * File: BLDC_controller_data.c</span>
|
||||
</span><span><a class="LN" name="7"> 7 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="8"> 8 </a><span class="CT"> * Code generated for Simulink model 'BLDC_controller'.</span>
|
||||
</span><span><a class="LN" name="9"> 9 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="10"> 10 </a><span class="CT"> * Model version : 1.800</span>
|
||||
</span><span><a class="LN" name="11"> 11 </a><span class="CT"> * Simulink Coder version : 8.13 (R2017b) 24-Jul-2017</span>
|
||||
</span><span><a class="LN" name="12"> 12 </a><span class="CT"> * C/C++ source code generated on : Sat May 25 21:42:39 2019</span>
|
||||
</span><span><a class="LN" name="13"> 13 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="14"> 14 </a><span class="CT"> * Target selection: ert.tlc</span>
|
||||
</span><span><a class="LN" name="15"> 15 </a><span class="CT"> * Embedded hardware selection: ARM Compatible->ARM Cortex</span>
|
||||
</span><span><a class="LN" name="16"> 16 </a><span class="CT"> * Emulation hardware selection:</span>
|
||||
</span><span><a class="LN" name="17"> 17 </a><span class="CT"> * Differs from embedded hardware (MATLAB Host)</span>
|
||||
</span><span><a class="LN" name="18"> 18 </a><span class="CT"> * Code generation objectives:</span>
|
||||
</span><span><a class="LN" name="19"> 19 </a><span class="CT"> * 1. Execution efficiency</span>
|
||||
</span><span><a class="LN" name="20"> 20 </a><span class="CT"> * 2. RAM efficiency</span>
|
||||
</span><span><a class="LN" name="21"> 21 </a><span class="CT"> * Validation result: Not run</span>
|
||||
</span><span><a class="LN" name="22"> 22 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="23"> 23 </a>
|
||||
</span><span><a class="LN" name="24"> 24 </a><font color="#992211">#</font><span class="PP">include</span> <font color="#992211">"BLDC_controller.h"</font>
|
||||
</span><span><a class="LN" name="25"> 25 </a>
|
||||
</span><span><a class="LN" name="26"> 26 </a><span class="CT">/* Block parameters (auto storage) */</span>
|
||||
</span><span><a class="LN" name="27"> 27 </a><a href="BLDC_controller_h.html#type_P" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_P');" target="_self"><font color="#1122aa">P</font></a> <a name="var_rtP">rtP</a> = <b>{</b>
|
||||
</span><span><a class="LN" name="28"> 28 </a> <span class="CT">/* Variable: cf_spdCoef</span>
|
||||
</span><span><a class="LN" name="29"> 29 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="30"> 30 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:132')" name="code2model"><font color="#117755"><i><S29>/cf_spdCoef</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="31"> 31 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:132')" name="code2model"><font color="#117755"><i><S69>/cf_spdCoef</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="32"> 32 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="33"> 33 </a> 66667,
|
||||
</span><span><a class="LN" name="34"> 34 </a>
|
||||
</span><span><a class="LN" name="35"> 35 </a> <span class="CT">/* Variable: n_commAcvLo</span>
|
||||
</span><span><a class="LN" name="36"> 36 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="37"> 37 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:400')" name="code2model"><font color="#117755"><i><S15>/Relay</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="38"> 38 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:400')" name="code2model"><font color="#117755"><i><S55>/Relay</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="39"> 39 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="40"> 40 </a> 100,
|
||||
</span><span><a class="LN" name="41"> 41 </a>
|
||||
</span><span><a class="LN" name="42"> 42 </a> <span class="CT">/* Variable: n_commDeacvHi</span>
|
||||
</span><span><a class="LN" name="43"> 43 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="44"> 44 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:400')" name="code2model"><font color="#117755"><i><S15>/Relay</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="45"> 45 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:400')" name="code2model"><font color="#117755"><i><S55>/Relay</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="46"> 46 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="47"> 47 </a> 180,
|
||||
</span><span><a class="LN" name="48"> 48 </a>
|
||||
</span><span><a class="LN" name="49"> 49 </a> <span class="CT">/* Variable: n_thresSpdDeacv</span>
|
||||
</span><span><a class="LN" name="50"> 50 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="51"> 51 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:147')" name="code2model"><font color="#117755"><i><S23>/n_thresSpdDeacv</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="52"> 52 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:147')" name="code2model"><font color="#117755"><i><S63>/n_thresSpdDeacv</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="53"> 53 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="54"> 54 </a> 5,
|
||||
</span><span><a class="LN" name="55"> 55 </a>
|
||||
</span><span><a class="LN" name="56"> 56 </a> <span class="CT">/* Variable: r_commDCDeacv</span>
|
||||
</span><span><a class="LN" name="57"> 57 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="58"> 58 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:593')" name="code2model"><font color="#117755"><i><S15>/r_commDCDeacv</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="59"> 59 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:593')" name="code2model"><font color="#117755"><i><S55>/r_commDCDeacv</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="60"> 60 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="61"> 61 </a> 70,
|
||||
</span><span><a class="LN" name="62"> 62 </a>
|
||||
</span><span><a class="LN" name="63"> 63 </a> <span class="CT">/* Variable: r_phaAdvDC_XA</span>
|
||||
</span><span><a class="LN" name="64"> 64 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="65"> 65 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:522')" name="code2model"><font color="#117755"><i><S13>/r_phaAdvDC_XA</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="66"> 66 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:522')" name="code2model"><font color="#117755"><i><S53>/r_phaAdvDC_XA</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="67"> 67 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="68"> 68 </a> <b>{</b> 0, 100, 200, 300, 400, 500, 600, 700, 800, 900, 1000 <b>}</b>,
|
||||
</span><span><a class="LN" name="69"> 69 </a>
|
||||
</span><span><a class="LN" name="70"> 70 </a> <span class="CT">/* Variable: a_phaAdv_M1</span>
|
||||
</span><span><a class="LN" name="71"> 71 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="72"> 72 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:521')" name="code2model"><font color="#117755"><i><S13>/a_phaAdv_M2</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="73"> 73 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:521')" name="code2model"><font color="#117755"><i><S53>/a_phaAdv_M2</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="74"> 74 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="75"> 75 </a> <b>{</b> 0, 0, 7, 2, 2, 2, 4, 5, 9, 16, 25 <b>}</b>,
|
||||
</span><span><a class="LN" name="76"> 76 </a>
|
||||
</span><span><a class="LN" name="77"> 77 </a> <span class="CT">/* Variable: z_maxCntRst</span>
|
||||
</span><span><a class="LN" name="78"> 78 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="79"> 79 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:171')" name="code2model"><font color="#117755"><i><S23>/z_maxCntRst</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="80"> 80 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:171')" name="code2model"><font color="#117755"><i><S63>/z_maxCntRst</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="81"> 81 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:133')" name="code2model"><font color="#117755"><i><S29>/z_maxCntRst</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="82"> 82 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:133')" name="code2model"><font color="#117755"><i><S69>/z_maxCntRst</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="83"> 83 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="84"> 84 </a> 2000,
|
||||
</span><span><a class="LN" name="85"> 85 </a>
|
||||
</span><span><a class="LN" name="86"> 86 </a> <span class="CT">/* Variable: z_ctrlTypSel</span>
|
||||
</span><span><a class="LN" name="87"> 87 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="88"> 88 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:208')" name="code2model"><font color="#117755"><i><S12>/z_ctrlTypSel1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="89"> 89 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:208')" name="code2model"><font color="#117755"><i><S52>/z_ctrlTypSel1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="90"> 90 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="91"> 91 </a> 3U,
|
||||
</span><span><a class="LN" name="92"> 92 </a>
|
||||
</span><span><a class="LN" name="93"> 93 </a> <span class="CT">/* Variable: z_nrEdgeSpdAcv</span>
|
||||
</span><span><a class="LN" name="94"> 94 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="95"> 95 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:172')" name="code2model"><font color="#117755"><i><S23>/z_nrEdgeSpdAcv</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="96"> 96 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:172')" name="code2model"><font color="#117755"><i><S63>/z_nrEdgeSpdAcv</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="97"> 97 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="98"> 98 </a> 5U,
|
||||
</span><span><a class="LN" name="99"> 99 </a>
|
||||
</span><span><a class="LN" name="100"> 100 </a> <span class="CT">/* Variable: b_phaAdvEna</span>
|
||||
</span><span><a class="LN" name="101"> 101 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="102"> 102 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:512')" name="code2model"><font color="#117755"><i><S13>/a_elecPeriod1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="103"> 103 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:512')" name="code2model"><font color="#117755"><i><S53>/a_elecPeriod1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="104"> 104 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="105"> 105 </a> 1
|
||||
</span><span><a class="LN" name="106"> 106 </a><b>}</b>;
|
||||
</span><span><a class="LN" name="107"> 107 </a>
|
||||
</span><span><a class="LN" name="108"> 108 </a><span class="CT">/* Constant parameters (auto storage) */</span>
|
||||
</span><span><a class="LN" name="109"> 109 </a><span class="DT">const</span> <a href="BLDC_controller_h.html#type_ConstP" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_ConstP');" target="_self"><font color="#1122aa">ConstP</font></a> <a name="var_rtConstP">rtConstP</a> = <b>{</b>
|
||||
</span><span><a class="LN" name="110"> 110 </a> <span class="CT">/* Pooled Parameter (Expression: r_trapPhaA_M1)</span>
|
||||
</span><span><a class="LN" name="111"> 111 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="112"> 112 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:289')" name="code2model"><font color="#117755"><i><S43>/r_trapPhaA_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="113"> 113 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:289')" name="code2model"><font color="#117755"><i><S83>/r_trapPhaA_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="114"> 114 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="115"> 115 </a> <b>{</b> 1000, 1000, 1000, -1000, -1000, -1000, 1000 <b>}</b>,
|
||||
</span><span><a class="LN" name="116"> 116 </a>
|
||||
</span><span><a class="LN" name="117"> 117 </a> <span class="CT">/* Pooled Parameter (Expression: r_trapPhaB_M1)</span>
|
||||
</span><span><a class="LN" name="118"> 118 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="119"> 119 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:290')" name="code2model"><font color="#117755"><i><S43>/r_trapPhaB_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="120"> 120 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:290')" name="code2model"><font color="#117755"><i><S83>/r_trapPhaB_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="121"> 121 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="122"> 122 </a> <b>{</b> -1000, -1000, 1000, 1000, 1000, -1000, -1000 <b>}</b>,
|
||||
</span><span><a class="LN" name="123"> 123 </a>
|
||||
</span><span><a class="LN" name="124"> 124 </a> <span class="CT">/* Pooled Parameter (Expression: r_trapPhaC_M1)</span>
|
||||
</span><span><a class="LN" name="125"> 125 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="126"> 126 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:291')" name="code2model"><font color="#117755"><i><S43>/r_trapPhaC_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="127"> 127 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:291')" name="code2model"><font color="#117755"><i><S83>/r_trapPhaC_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="128"> 128 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="129"> 129 </a> <b>{</b> 1000, -1000, -1000, -1000, 1000, 1000, 1000 <b>}</b>,
|
||||
</span><span><a class="LN" name="130"> 130 </a>
|
||||
</span><span><a class="LN" name="131"> 131 </a> <span class="CT">/* Pooled Parameter (Expression: r_sinPhaA_M1)</span>
|
||||
</span><span><a class="LN" name="132"> 132 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="133"> 133 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:309')" name="code2model"><font color="#117755"><i><S45>/r_sinPhaA_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="134"> 134 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:309')" name="code2model"><font color="#117755"><i><S85>/r_sinPhaA_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="135"> 135 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="136"> 136 </a> <b>{</b> 500, 643, 766, 866, 940, 985, 1000, 985, 940, 866, 766, 643, 500, 342, 174,
|
||||
</span><span><a class="LN" name="137"> 137 </a> 0, -174, -342, -500, -643, -766, -866, -940, -985, -1000, -985, -940, -866,
|
||||
</span><span><a class="LN" name="138"> 138 </a> -766, -643, -500, -342, -174, 0, 174, 342, 500 <b>}</b>,
|
||||
</span><span><a class="LN" name="139"> 139 </a>
|
||||
</span><span><a class="LN" name="140"> 140 </a> <span class="CT">/* Pooled Parameter (Expression: r_sinPhaB_M1)</span>
|
||||
</span><span><a class="LN" name="141"> 141 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="142"> 142 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:310')" name="code2model"><font color="#117755"><i><S45>/r_sinPhaB_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="143"> 143 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:310')" name="code2model"><font color="#117755"><i><S85>/r_sinPhaB_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="144"> 144 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="145"> 145 </a> <b>{</b> -1000, -985, -940, -866, -766, -643, -500, -342, -174, 0, 174, 342, 500, 643,
|
||||
</span><span><a class="LN" name="146"> 146 </a> 766, 866, 940, 985, 1000, 985, 940, 866, 766, 643, 500, 342, 174, 0, -174,
|
||||
</span><span><a class="LN" name="147"> 147 </a> -342, -500, -643, -766, -866, -940, -985, -1000 <b>}</b>,
|
||||
</span><span><a class="LN" name="148"> 148 </a>
|
||||
</span><span><a class="LN" name="149"> 149 </a> <span class="CT">/* Pooled Parameter (Expression: r_sinPhaC_M1)</span>
|
||||
</span><span><a class="LN" name="150"> 150 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="151"> 151 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:311')" name="code2model"><font color="#117755"><i><S45>/r_sinPhaC_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="152"> 152 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:311')" name="code2model"><font color="#117755"><i><S85>/r_sinPhaC_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="153"> 153 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="154"> 154 </a> <b>{</b> 500, 342, 174, 0, -174, -342, -500, -643, -766, -866, -940, -985, -1000,
|
||||
</span><span><a class="LN" name="155"> 155 </a> -985, -940, -866, -766, -643, -500, -342, -174, 0, 174, 342, 500, 643, 766,
|
||||
</span><span><a class="LN" name="156"> 156 </a> 866, 940, 985, 1000, 985, 940, 866, 766, 643, 500 <b>}</b>,
|
||||
</span><span><a class="LN" name="157"> 157 </a>
|
||||
</span><span><a class="LN" name="158"> 158 </a> <span class="CT">/* Pooled Parameter (Expression: r_sin3PhaA_M1)</span>
|
||||
</span><span><a class="LN" name="159"> 159 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="160"> 160 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:299')" name="code2model"><font color="#117755"><i><S44>/r_sin3PhaA_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="161"> 161 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:299')" name="code2model"><font color="#117755"><i><S84>/r_sin3PhaA_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="162"> 162 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="163"> 163 </a> <b>{</b> 795, 930, 991, 996, 971, 942, 930, 942, 971, 996, 991, 930, 795, 584, 310, 0,
|
||||
</span><span><a class="LN" name="164"> 164 </a> -310, -584, -795, -930, -991, -996, -971, -942, -930, -942, -971, -996, -991,
|
||||
</span><span><a class="LN" name="165"> 165 </a> -930, -795, -584, -310, 0, 310, 584, 795 <b>}</b>,
|
||||
</span><span><a class="LN" name="166"> 166 </a>
|
||||
</span><span><a class="LN" name="167"> 167 </a> <span class="CT">/* Pooled Parameter (Expression: r_sin3PhaB_M1)</span>
|
||||
</span><span><a class="LN" name="168"> 168 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="169"> 169 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:300')" name="code2model"><font color="#117755"><i><S44>/r_sin3PhaB_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="170"> 170 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:300')" name="code2model"><font color="#117755"><i><S84>/r_sin3PhaB_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="171"> 171 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="172"> 172 </a> <b>{</b> -930, -942, -971, -996, -991, -930, -795, -584, -310, 0, 310, 584, 795, 930,
|
||||
</span><span><a class="LN" name="173"> 173 </a> 991, 996, 971, 942, 930, 942, 971, 996, 991, 930, 795, 584, 310, 0, -310,
|
||||
</span><span><a class="LN" name="174"> 174 </a> -584, -795, -930, -991, -996, -971, -942, -930 <b>}</b>,
|
||||
</span><span><a class="LN" name="175"> 175 </a>
|
||||
</span><span><a class="LN" name="176"> 176 </a> <span class="CT">/* Pooled Parameter (Expression: r_sin3PhaC_M1)</span>
|
||||
</span><span><a class="LN" name="177"> 177 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="178"> 178 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:301')" name="code2model"><font color="#117755"><i><S44>/r_sin3PhaC_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="179"> 179 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:301')" name="code2model"><font color="#117755"><i><S84>/r_sin3PhaC_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="180"> 180 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="181"> 181 </a> <b>{</b> 795, 584, 310, 0, -310, -584, -795, -930, -991, -996, -971, -942, -930, -942,
|
||||
</span><span><a class="LN" name="182"> 182 </a> -971, -996, -991, -930, -795, -584, -310, 0, 310, 584, 795, 930, 991, 996,
|
||||
</span><span><a class="LN" name="183"> 183 </a> 971, 942, 930, 942, 971, 996, 991, 930, 795 <b>}</b>,
|
||||
</span><span><a class="LN" name="184"> 184 </a>
|
||||
</span><span><a class="LN" name="185"> 185 </a> <span class="CT">/* Pooled Parameter (Expression: z_commutMap_M1)</span>
|
||||
</span><span><a class="LN" name="186"> 186 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="187"> 187 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:411')" name="code2model"><font color="#117755"><i><S15>/z_commutMap_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="188"> 188 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:411')" name="code2model"><font color="#117755"><i><S55>/z_commutMap_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="189"> 189 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="190"> 190 </a> <b>{</b> 1000, -1000, 0, 1000, 0, -1000, 0, 1000, -1000, -1000, 1000, 0, -1000, 0,
|
||||
</span><span><a class="LN" name="191"> 191 </a> 1000, 0, -1000, 1000 <b>}</b>,
|
||||
</span><span><a class="LN" name="192"> 192 </a>
|
||||
</span><span><a class="LN" name="193"> 193 </a> <span class="CT">/* Pooled Parameter (Expression: vec_hallToPos)</span>
|
||||
</span><span><a class="LN" name="194"> 194 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="195"> 195 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:22')" name="code2model"><font color="#117755"><i><S21>/vec_hallToPos</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="196"> 196 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:22')" name="code2model"><font color="#117755"><i><S61>/vec_hallToPos</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="197"> 197 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="198"> 198 </a> <b>{</b> 0U, 5U, 3U, 4U, 1U, 0U, 2U, 0U <b>}</b>,
|
||||
</span><span><a class="LN" name="199"> 199 </a>
|
||||
</span><span><a class="LN" name="200"> 200 </a> <span class="CT">/* Pooled Parameter (Expression: [0 1;1 0;0 1;0 1;1 0;1 0;0 0;0 0])</span>
|
||||
</span><span><a class="LN" name="201"> 201 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="202"> 202 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:140:135')" name="code2model"><font color="#117755"><i><S30>/Logic</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="203"> 203 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:140:135')" name="code2model"><font color="#117755"><i><S70>/Logic</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="204"> 204 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="205"> 205 </a> <b>{</b> 0, 1, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0, 0, 0, 0 <b>}</b>
|
||||
</span><span><a class="LN" name="206"> 206 </a><b>}</b>;
|
||||
</span><span><a class="LN" name="207"> 207 </a>
|
||||
</span><span><a class="LN" name="208"> 208 </a><span class="CT">/*</span>
|
||||
</span><span><a class="LN" name="209"> 209 </a><span class="CT"> * File trailer for generated code.</span>
|
||||
</span><span><a class="LN" name="210"> 210 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="211"> 211 </a><span class="CT"> * [EOF]</span>
|
||||
</span><span><a class="LN" name="212"> 212 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="213"> 213 </a>
|
||||
</span></pre>
|
||||
</td></tr></table>
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
464
01_Matlab/BLDC_controller_ert_rtw/html/BLDC_controller_h.html
Normal file
@ -0,0 +1,464 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
||||
<title>RTW Report - BLDC_controller.h</title>
|
||||
<link rel="stylesheet" type="text/css" href="rtwreport.css"></link><script language="JavaScript" type="text/javascript" src="rtwreport_utils.js"></script>
|
||||
<SCRIPT type="text/javascript" language="JavaScript" src="slwebview.js"></SCRIPT>
|
||||
<SCRIPT type="text/javascript" language="JavaScript" src="id_mapping.js"></SCRIPT>
|
||||
<SCRIPT type="text/javascript" src="rtwannotate.js"></SCRIPT>
|
||||
</head>
|
||||
<body bgcolor="#eeeeee" onload="try {if (top) { if (top.rtwFileOnLoad) top.rtwFileOnLoad(window.document); else local_onload();}} catch(err) {};if (typeof rtwannotate === 'function') {rtwannotate('BLDC_controller_h_cov.xml');}">
|
||||
<p>
|
||||
<table border="0" cellspacing="0" cellpadding="6" width="100%%" height="100%%"><tr><td width="100%%" valign="top" bgcolor="#ffffff">
|
||||
<h4>File: <a href="../BLDC_controller.h" target="rtwreport_document_frame" id="linkToText_plain">BLDC_controller.h</a></h4>
|
||||
<pre id="RTWcode">
|
||||
<span><a class="LN" name="1"> 1 </a><span class="CT">/*</span>
|
||||
</span><span><a class="LN" name="2"> 2 </a><span class="CT"> * Academic License - for use in teaching, academic research, and meeting</span>
|
||||
</span><span><a class="LN" name="3"> 3 </a><span class="CT"> * course requirements at degree granting institutions only. Not for</span>
|
||||
</span><span><a class="LN" name="4"> 4 </a><span class="CT"> * government, commercial, or other organizational use.</span>
|
||||
</span><span><a class="LN" name="5"> 5 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="6"> 6 </a><span class="CT"> * File: BLDC_controller.h</span>
|
||||
</span><span><a class="LN" name="7"> 7 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="8"> 8 </a><span class="CT"> * Code generated for Simulink model 'BLDC_controller'.</span>
|
||||
</span><span><a class="LN" name="9"> 9 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="10"> 10 </a><span class="CT"> * Model version : 1.800</span>
|
||||
</span><span><a class="LN" name="11"> 11 </a><span class="CT"> * Simulink Coder version : 8.13 (R2017b) 24-Jul-2017</span>
|
||||
</span><span><a class="LN" name="12"> 12 </a><span class="CT"> * C/C++ source code generated on : Sat May 25 21:42:39 2019</span>
|
||||
</span><span><a class="LN" name="13"> 13 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="14"> 14 </a><span class="CT"> * Target selection: ert.tlc</span>
|
||||
</span><span><a class="LN" name="15"> 15 </a><span class="CT"> * Embedded hardware selection: ARM Compatible->ARM Cortex</span>
|
||||
</span><span><a class="LN" name="16"> 16 </a><span class="CT"> * Emulation hardware selection:</span>
|
||||
</span><span><a class="LN" name="17"> 17 </a><span class="CT"> * Differs from embedded hardware (MATLAB Host)</span>
|
||||
</span><span><a class="LN" name="18"> 18 </a><span class="CT"> * Code generation objectives:</span>
|
||||
</span><span><a class="LN" name="19"> 19 </a><span class="CT"> * 1. Execution efficiency</span>
|
||||
</span><span><a class="LN" name="20"> 20 </a><span class="CT"> * 2. RAM efficiency</span>
|
||||
</span><span><a class="LN" name="21"> 21 </a><span class="CT"> * Validation result: Not run</span>
|
||||
</span><span><a class="LN" name="22"> 22 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="23"> 23 </a>
|
||||
</span><span><a class="LN" name="24"> 24 </a><font color="#992211">#</font><span class="PP">ifndef</span> RTW_HEADER_BLDC_controller_h_
|
||||
</span><span><a class="LN" name="25"> 25 </a><font color="#992211">#</font><span class="PP">define</span> RTW_HEADER_BLDC_controller_h_
|
||||
</span><span><a class="LN" name="26"> 26 </a><font color="#992211">#</font><span class="PP">include</span> <font color="#992211">"rtwtypes.h"</font>
|
||||
</span><span><a class="LN" name="27"> 27 </a><font color="#992211">#</font><span class="PP">include</span> <font color="#992211">"zero_crossing_types.h"</font>
|
||||
</span><span><a class="LN" name="28"> 28 </a><font color="#992211">#</font><span class="PP">ifndef</span> BLDC_controller_COMMON_INCLUDES_
|
||||
</span><span><a class="LN" name="29"> 29 </a><font color="#992211">#</font> <span class="PP">define</span> BLDC_controller_COMMON_INCLUDES_
|
||||
</span><span><a class="LN" name="30"> 30 </a><font color="#992211">#</font><span class="PP">include</span> <font color="#992211">"rtwtypes.h"</font>
|
||||
</span><span><a class="LN" name="31"> 31 </a><font color="#992211">#</font><span class="PP">include</span> <font color="#992211">"zero_crossing_types.h"</font>
|
||||
</span><span><a class="LN" name="32"> 32 </a><font color="#992211">#</font><span class="PP">endif</span> <span class="CT">/* BLDC_controller_COMMON_INCLUDES_ */</span>
|
||||
</span><span><a class="LN" name="33"> 33 </a>
|
||||
</span><span><a class="LN" name="34"> 34 </a><span class="CT">/* Macros for accessing real-time model data structure */</span>
|
||||
</span><span><a class="LN" name="35"> 35 </a>
|
||||
</span><span><a class="LN" name="36"> 36 </a><span class="CT">/* Block signals and states (auto storage) for system '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:38')" name="code2model"><font color="#117755"><i><S12>/F01_03_Direction_Detection</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="37"> 37 </a><span class="KW">typedef</span> <span class="KW">struct</span> <b>{</b>
|
||||
</span><span><a class="LN" name="38"> 38 </a> <a href="rtwtypes_h.html#type_int8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int8_T');" target="_self"><font color="#1122aa">int8_T</font></a> UnitDelay1_DSTATE; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:53')" name="code2model"><font color="#117755"><i><S22>/UnitDelay1</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="39"> 39 </a><b>}</b> <a name="type_DW_F01_03_Direction_Detection">DW_F01_03_Direction_Detection</a>;
|
||||
</span><span><a class="LN" name="40"> 40 </a>
|
||||
</span><span><a class="LN" name="41"> 41 </a><span class="CT">/* Block signals and states (auto storage) for system '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:65')" name="code2model"><font color="#117755"><i><S23>/Edge_counter</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="42"> 42 </a><span class="KW">typedef</span> <span class="KW">struct</span> <b>{</b>
|
||||
</span><span><a class="LN" name="43"> 43 </a> <a href="rtwtypes_h.html#type_uint8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_uint8_T');" target="_self"><font color="#1122aa">uint8_T</font></a> UnitDelay1_DSTATE; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:480:477')" name="code2model"><font color="#117755"><i><S38>/UnitDelay1</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="44"> 44 </a> <a href="rtwtypes_h.html#type_boolean_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_boolean_T');" target="_self"><font color="#1122aa">boolean_T</font></a> Edge_counter_MODE; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:65')" name="code2model"><font color="#117755"><i><S23>/Edge_counter</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="45"> 45 </a><b>}</b> <a name="type_DW_Edge_counter">DW_Edge_counter</a>;
|
||||
</span><span><a class="LN" name="46"> 46 </a>
|
||||
</span><span><a class="LN" name="47"> 47 </a><span class="CT">/* Block signals and states (auto storage) for system '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:112')" name="code2model"><font color="#117755"><i><S23>/Moving_Average_Filter</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="48"> 48 </a><span class="KW">typedef</span> <span class="KW">struct</span> <b>{</b>
|
||||
</span><span><a class="LN" name="49"> 49 </a> <a href="rtwtypes_h.html#type_int32_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int32_T');" target="_self"><font color="#1122aa">int32_T</font></a> UnitDelay5_DSTATE; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:121')" name="code2model"><font color="#117755"><i><S28>/UnitDelay5</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="50"> 50 </a> <a href="rtwtypes_h.html#type_int32_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int32_T');" target="_self"><font color="#1122aa">int32_T</font></a> UnitDelay1_DSTATE; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:118')" name="code2model"><font color="#117755"><i><S28>/UnitDelay1</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="51"> 51 </a><b>}</b> <a name="type_DW_Moving_Average_Filter">DW_Moving_Average_Filter</a>;
|
||||
</span><span><a class="LN" name="52"> 52 </a>
|
||||
</span><span><a class="LN" name="53"> 53 </a><span class="CT">/* Zero-crossing (trigger) state for system '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:112')" name="code2model"><font color="#117755"><i><S23>/Moving_Average_Filter</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="54"> 54 </a><span class="KW">typedef</span> <span class="KW">struct</span> <b>{</b>
|
||||
</span><span><a class="LN" name="55"> 55 </a> <a href="zero_crossing_types_h.html#type_ZCSigState" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_ZCSigState');" target="_self"><font color="#1122aa">ZCSigState</font></a> Moving_Average_Filter_Trig_ZCE;<span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:112')" name="code2model"><font color="#117755"><i><S23>/Moving_Average_Filter</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="56"> 56 </a><b>}</b> <a name="type_ZCE_Moving_Average_Filter">ZCE_Moving_Average_Filter</a>;
|
||||
</span><span><a class="LN" name="57"> 57 </a>
|
||||
</span><span><a class="LN" name="58"> 58 </a><span class="CT">/* Zero-crossing (trigger) state for system '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:124')" name="code2model"><font color="#117755"><i><S23>/Raw_ Speed_calculation</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="59"> 59 </a><span class="KW">typedef</span> <span class="KW">struct</span> <b>{</b>
|
||||
</span><span><a class="LN" name="60"> 60 </a> <a href="zero_crossing_types_h.html#type_ZCSigState" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_ZCSigState');" target="_self"><font color="#1122aa">ZCSigState</font></a> Raw_Speed_calculation_Trig_ZCE;<span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:124')" name="code2model"><font color="#117755"><i><S23>/Raw_ Speed_calculation</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="61"> 61 </a><b>}</b> <a name="type_ZCE_Raw_Speed_calculation">ZCE_Raw_Speed_calculation</a>;
|
||||
</span><span><a class="LN" name="62"> 62 </a>
|
||||
</span><span><a class="LN" name="63"> 63 </a><span class="CT">/* Block signals and states (auto storage) for system '<Root>' */</span>
|
||||
</span><span><a class="LN" name="64"> 64 </a><span class="KW">typedef</span> <span class="KW">struct</span> <b>{</b>
|
||||
</span><span><a class="LN" name="65"> 65 </a> <a href="#type_DW_Moving_Average_Filter" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_DW_Moving_Average_Filter');" target="_self"><font color="#1122aa">DW_Moving_Average_Filter</font></a> Moving_Average_Filter_n;<span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:112')" name="code2model"><font color="#117755"><i><S63>/Moving_Average_Filter</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="66"> 66 </a> <a href="#type_DW_Edge_counter" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_DW_Edge_counter');" target="_self"><font color="#1122aa">DW_Edge_counter</font></a> Edge_counter_l; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:65')" name="code2model"><font color="#117755"><i><S63>/Edge_counter</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="67"> 67 </a> <a href="#type_DW_F01_03_Direction_Detection" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_DW_F01_03_Direction_Detection');" target="_self"><font color="#1122aa">DW_F01_03_Direction_Detection</font></a> F01_03_Direction_Detection_j;<span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:38')" name="code2model"><font color="#117755"><i><S52>/F01_03_Direction_Detection</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="68"> 68 </a> <a href="#type_DW_Moving_Average_Filter" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_DW_Moving_Average_Filter');" target="_self"><font color="#1122aa">DW_Moving_Average_Filter</font></a> Moving_Average_Filter_l;<span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:112')" name="code2model"><font color="#117755"><i><S23>/Moving_Average_Filter</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="69"> 69 </a> <a href="#type_DW_Edge_counter" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_DW_Edge_counter');" target="_self"><font color="#1122aa">DW_Edge_counter</font></a> Edge_counter_f; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:65')" name="code2model"><font color="#117755"><i><S23>/Edge_counter</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="70"> 70 </a> <a href="#type_DW_F01_03_Direction_Detection" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_DW_F01_03_Direction_Detection');" target="_self"><font color="#1122aa">DW_F01_03_Direction_Detection</font></a> F01_03_Direction_Detection_o;<span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:38')" name="code2model"><font color="#117755"><i><S12>/F01_03_Direction_Detection</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="71"> 71 </a> <a href="rtwtypes_h.html#type_int32_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int32_T');" target="_self"><font color="#1122aa">int32_T</font></a> Switch_PhaAdv; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:514')" name="code2model"><font color="#117755"><i><S53>/Switch_PhaAdv</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="72"> 72 </a> <a href="rtwtypes_h.html#type_int32_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int32_T');" target="_self"><font color="#1122aa">int32_T</font></a> rpm_signed; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:129')" name="code2model"><font color="#117755"><i><S69>/Product2</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="73"> 73 </a> <a href="rtwtypes_h.html#type_int32_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int32_T');" target="_self"><font color="#1122aa">int32_T</font></a> Switch_PhaAdv_a; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:514')" name="code2model"><font color="#117755"><i><S13>/Switch_PhaAdv</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="74"> 74 </a> <a href="rtwtypes_h.html#type_int32_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int32_T');" target="_self"><font color="#1122aa">int32_T</font></a> rpm_signed_c; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:129')" name="code2model"><font color="#117755"><i><S29>/Product2</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="75"> 75 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> Merge; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:345')" name="code2model"><font color="#117755"><i><S14>/Merge</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="76"> 76 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> Merge1; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:346')" name="code2model"><font color="#117755"><i><S14>/Merge1</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="77"> 77 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> Merge2; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:347')" name="code2model"><font color="#117755"><i><S14>/Merge2</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="78"> 78 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> Merge_j; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:345')" name="code2model"><font color="#117755"><i><S54>/Merge</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="79"> 79 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> Merge1_m; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:346')" name="code2model"><font color="#117755"><i><S54>/Merge1</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="80"> 80 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> Merge2_d; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:347')" name="code2model"><font color="#117755"><i><S54>/Merge2</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="81"> 81 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> z_counterRawPrev_DSTATE; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:170')" name="code2model"><font color="#117755"><i><S23>/z_counterRawPrev</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="82"> 82 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> z_counter2_DSTATE; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:169')" name="code2model"><font color="#117755"><i><S23>/z_counter2</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="83"> 83 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> UnitDelay1_DSTATE; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:479:477')" name="code2model"><font color="#117755"><i><S32>/UnitDelay1</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="84"> 84 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> z_counterRawPrev_DSTATE_p; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:170')" name="code2model"><font color="#117755"><i><S63>/z_counterRawPrev</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="85"> 85 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> z_counter2_DSTATE_h; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:169')" name="code2model"><font color="#117755"><i><S63>/z_counter2</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="86"> 86 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> UnitDelay1_DSTATE_k; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:479:477')" name="code2model"><font color="#117755"><i><S72>/UnitDelay1</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="87"> 87 </a> <a href="rtwtypes_h.html#type_int8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int8_T');" target="_self"><font color="#1122aa">int8_T</font></a> UnitDelay1; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:53')" name="code2model"><font color="#117755"><i><S62>/UnitDelay1</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="88"> 88 </a> <a href="rtwtypes_h.html#type_int8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int8_T');" target="_self"><font color="#1122aa">int8_T</font></a> Switch2; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:52')" name="code2model"><font color="#117755"><i><S62>/Switch2</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="89"> 89 </a> <a href="rtwtypes_h.html#type_int8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int8_T');" target="_self"><font color="#1122aa">int8_T</font></a> UnitDelay1_k; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:53')" name="code2model"><font color="#117755"><i><S22>/UnitDelay1</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="90"> 90 </a> <a href="rtwtypes_h.html#type_int8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int8_T');" target="_self"><font color="#1122aa">int8_T</font></a> Switch2_e; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:52')" name="code2model"><font color="#117755"><i><S22>/Switch2</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="91"> 91 </a> <a href="rtwtypes_h.html#type_int8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int8_T');" target="_self"><font color="#1122aa">int8_T</font></a> If1_ActiveSubsystem; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:434')" name="code2model"><font color="#117755"><i><S2>/If1</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="92"> 92 </a> <a href="rtwtypes_h.html#type_int8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int8_T');" target="_self"><font color="#1122aa">int8_T</font></a> If1_ActiveSubsystem_j; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:434')" name="code2model"><font color="#117755"><i><S3>/If1</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="93"> 93 </a> <a href="rtwtypes_h.html#type_uint8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_uint8_T');" target="_self"><font color="#1122aa">uint8_T</font></a> Sum2_i; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:76')" name="code2model"><font color="#117755"><i><S67>/Sum2</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="94"> 94 </a> <a href="rtwtypes_h.html#type_uint8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_uint8_T');" target="_self"><font color="#1122aa">uint8_T</font></a> Sum2_l; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:76')" name="code2model"><font color="#117755"><i><S27>/Sum2</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="95"> 95 </a> <a href="rtwtypes_h.html#type_uint8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_uint8_T');" target="_self"><font color="#1122aa">uint8_T</font></a> UnitDelay_DSTATE; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:31')" name="code2model"><font color="#117755"><i><S20>/UnitDelay</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="96"> 96 </a> <a href="rtwtypes_h.html#type_uint8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_uint8_T');" target="_self"><font color="#1122aa">uint8_T</font></a> UnitDelay1_DSTATE_p; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:32')" name="code2model"><font color="#117755"><i><S20>/UnitDelay1</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="97"> 97 </a> <a href="rtwtypes_h.html#type_uint8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_uint8_T');" target="_self"><font color="#1122aa">uint8_T</font></a> UnitDelay2_DSTATE; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:33')" name="code2model"><font color="#117755"><i><S20>/UnitDelay2</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="98"> 98 </a> <a href="rtwtypes_h.html#type_uint8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_uint8_T');" target="_self"><font color="#1122aa">uint8_T</font></a> UnitDelay1_DSTATE_g; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:16')" name="code2model"><font color="#117755"><i><S21>/UnitDelay1</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="99"> 99 </a> <a href="rtwtypes_h.html#type_uint8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_uint8_T');" target="_self"><font color="#1122aa">uint8_T</font></a> UnitDelay_DSTATE_j; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:31')" name="code2model"><font color="#117755"><i><S60>/UnitDelay</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="100"> 100 </a> <a href="rtwtypes_h.html#type_uint8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_uint8_T');" target="_self"><font color="#1122aa">uint8_T</font></a> UnitDelay1_DSTATE_f; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:32')" name="code2model"><font color="#117755"><i><S60>/UnitDelay1</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="101"> 101 </a> <a href="rtwtypes_h.html#type_uint8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_uint8_T');" target="_self"><font color="#1122aa">uint8_T</font></a> UnitDelay2_DSTATE_b; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:33')" name="code2model"><font color="#117755"><i><S60>/UnitDelay2</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="102"> 102 </a> <a href="rtwtypes_h.html#type_uint8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_uint8_T');" target="_self"><font color="#1122aa">uint8_T</font></a> UnitDelay1_DSTATE_j; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:16')" name="code2model"><font color="#117755"><i><S61>/UnitDelay1</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="103"> 103 </a> <a href="rtwtypes_h.html#type_boolean_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_boolean_T');" target="_self"><font color="#1122aa">boolean_T</font></a> RelationalOperator4; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:137')" name="code2model"><font color="#117755"><i><S63>/Relational Operator4</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="104"> 104 </a> <a href="rtwtypes_h.html#type_boolean_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_boolean_T');" target="_self"><font color="#1122aa">boolean_T</font></a> LogicalOperator; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:588:584')" name="code2model"><font color="#117755"><i><S71>/Logical Operator</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="105"> 105 </a> <a href="rtwtypes_h.html#type_boolean_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_boolean_T');" target="_self"><font color="#1122aa">boolean_T</font></a> UnitDelay8_DSTATE; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:146')" name="code2model"><font color="#117755"><i><S23>/UnitDelay8</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="106"> 106 </a> <a href="rtwtypes_h.html#type_boolean_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_boolean_T');" target="_self"><font color="#1122aa">boolean_T</font></a> UnitDelay8_DSTATE_p; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:146')" name="code2model"><font color="#117755"><i><S63>/UnitDelay8</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="107"> 107 </a> <a href="rtwtypes_h.html#type_boolean_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_boolean_T');" target="_self"><font color="#1122aa">boolean_T</font></a> UnitDelay_DSTATE_k; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:588:586')" name="code2model"><font color="#117755"><i><S71>/UnitDelay</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="108"> 108 </a> <a href="rtwtypes_h.html#type_boolean_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_boolean_T');" target="_self"><font color="#1122aa">boolean_T</font></a> UnitDelay_DSTATE_l; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:588:586')" name="code2model"><font color="#117755"><i><S31>/UnitDelay</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="109"> 109 </a> <a href="rtwtypes_h.html#type_boolean_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_boolean_T');" target="_self"><font color="#1122aa">boolean_T</font></a> Memory_PreviousInput; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:140:136')" name="code2model"><font color="#117755"><i><S30>/Memory</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="110"> 110 </a> <a href="rtwtypes_h.html#type_boolean_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_boolean_T');" target="_self"><font color="#1122aa">boolean_T</font></a> Relay_Mode; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:400')" name="code2model"><font color="#117755"><i><S15>/Relay</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="111"> 111 </a> <a href="rtwtypes_h.html#type_boolean_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_boolean_T');" target="_self"><font color="#1122aa">boolean_T</font></a> Memory_PreviousInput_i; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:140:136')" name="code2model"><font color="#117755"><i><S70>/Memory</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="112"> 112 </a> <a href="rtwtypes_h.html#type_boolean_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_boolean_T');" target="_self"><font color="#1122aa">boolean_T</font></a> Relay_Mode_m; <span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:400')" name="code2model"><font color="#117755"><i><S55>/Relay</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="113"> 113 </a><b>}</b> <a name="type_DW">DW</a>;
|
||||
</span><span><a class="LN" name="114"> 114 </a>
|
||||
</span><span><a class="LN" name="115"> 115 </a><span class="CT">/* Zero-crossing (trigger) state */</span>
|
||||
</span><span><a class="LN" name="116"> 116 </a><span class="KW">typedef</span> <span class="KW">struct</span> <b>{</b>
|
||||
</span><span><a class="LN" name="117"> 117 </a> <a href="#type_ZCE_Raw_Speed_calculation" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_ZCE_Raw_Speed_calculation');" target="_self"><font color="#1122aa">ZCE_Raw_Speed_calculation</font></a> Raw_Speed_calculation_k;<span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:124')" name="code2model"><font color="#117755"><i><S63>/Raw_ Speed_calculation</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="118"> 118 </a> <a href="#type_ZCE_Moving_Average_Filter" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_ZCE_Moving_Average_Filter');" target="_self"><font color="#1122aa">ZCE_Moving_Average_Filter</font></a> Moving_Average_Filter_n;<span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:112')" name="code2model"><font color="#117755"><i><S63>/Moving_Average_Filter</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="119"> 119 </a> <a href="#type_ZCE_Raw_Speed_calculation" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_ZCE_Raw_Speed_calculation');" target="_self"><font color="#1122aa">ZCE_Raw_Speed_calculation</font></a> Raw_Speed_calculation_m;<span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:124')" name="code2model"><font color="#117755"><i><S23>/Raw_ Speed_calculation</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="120"> 120 </a> <a href="#type_ZCE_Moving_Average_Filter" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_ZCE_Moving_Average_Filter');" target="_self"><font color="#1122aa">ZCE_Moving_Average_Filter</font></a> Moving_Average_Filter_l;<span class="CT">/* '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:112')" name="code2model"><font color="#117755"><i><S23>/Moving_Average_Filter</i></font></a>' */</span>
|
||||
</span><span><a class="LN" name="121"> 121 </a><b>}</b> <a name="type_PrevZCX">PrevZCX</a>;
|
||||
</span><span><a class="LN" name="122"> 122 </a>
|
||||
</span><span><a class="LN" name="123"> 123 </a><span class="CT">/* Constant parameters (auto storage) */</span>
|
||||
</span><span><a class="LN" name="124"> 124 </a><span class="KW">typedef</span> <span class="KW">struct</span> <b>{</b>
|
||||
</span><span><a class="LN" name="125"> 125 </a> <span class="CT">/* Pooled Parameter (Expression: r_trapPhaA_M1)</span>
|
||||
</span><span><a class="LN" name="126"> 126 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="127"> 127 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:289')" name="code2model"><font color="#117755"><i><S43>/r_trapPhaA_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="128"> 128 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:289')" name="code2model"><font color="#117755"><i><S83>/r_trapPhaA_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="129"> 129 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="130"> 130 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> pooled8[7];
|
||||
</span><span><a class="LN" name="131"> 131 </a>
|
||||
</span><span><a class="LN" name="132"> 132 </a> <span class="CT">/* Pooled Parameter (Expression: r_trapPhaB_M1)</span>
|
||||
</span><span><a class="LN" name="133"> 133 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="134"> 134 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:290')" name="code2model"><font color="#117755"><i><S43>/r_trapPhaB_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="135"> 135 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:290')" name="code2model"><font color="#117755"><i><S83>/r_trapPhaB_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="136"> 136 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="137"> 137 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> pooled9[7];
|
||||
</span><span><a class="LN" name="138"> 138 </a>
|
||||
</span><span><a class="LN" name="139"> 139 </a> <span class="CT">/* Pooled Parameter (Expression: r_trapPhaC_M1)</span>
|
||||
</span><span><a class="LN" name="140"> 140 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="141"> 141 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:291')" name="code2model"><font color="#117755"><i><S43>/r_trapPhaC_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="142"> 142 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:291')" name="code2model"><font color="#117755"><i><S83>/r_trapPhaC_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="143"> 143 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="144"> 144 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> pooled10[7];
|
||||
</span><span><a class="LN" name="145"> 145 </a>
|
||||
</span><span><a class="LN" name="146"> 146 </a> <span class="CT">/* Pooled Parameter (Expression: r_sinPhaA_M1)</span>
|
||||
</span><span><a class="LN" name="147"> 147 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="148"> 148 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:309')" name="code2model"><font color="#117755"><i><S45>/r_sinPhaA_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="149"> 149 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:309')" name="code2model"><font color="#117755"><i><S85>/r_sinPhaA_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="150"> 150 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="151"> 151 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> pooled11[37];
|
||||
</span><span><a class="LN" name="152"> 152 </a>
|
||||
</span><span><a class="LN" name="153"> 153 </a> <span class="CT">/* Pooled Parameter (Expression: r_sinPhaB_M1)</span>
|
||||
</span><span><a class="LN" name="154"> 154 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="155"> 155 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:310')" name="code2model"><font color="#117755"><i><S45>/r_sinPhaB_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="156"> 156 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:310')" name="code2model"><font color="#117755"><i><S85>/r_sinPhaB_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="157"> 157 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="158"> 158 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> pooled12[37];
|
||||
</span><span><a class="LN" name="159"> 159 </a>
|
||||
</span><span><a class="LN" name="160"> 160 </a> <span class="CT">/* Pooled Parameter (Expression: r_sinPhaC_M1)</span>
|
||||
</span><span><a class="LN" name="161"> 161 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="162"> 162 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:311')" name="code2model"><font color="#117755"><i><S45>/r_sinPhaC_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="163"> 163 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:311')" name="code2model"><font color="#117755"><i><S85>/r_sinPhaC_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="164"> 164 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="165"> 165 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> pooled13[37];
|
||||
</span><span><a class="LN" name="166"> 166 </a>
|
||||
</span><span><a class="LN" name="167"> 167 </a> <span class="CT">/* Pooled Parameter (Expression: r_sin3PhaA_M1)</span>
|
||||
</span><span><a class="LN" name="168"> 168 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="169"> 169 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:299')" name="code2model"><font color="#117755"><i><S44>/r_sin3PhaA_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="170"> 170 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:299')" name="code2model"><font color="#117755"><i><S84>/r_sin3PhaA_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="171"> 171 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="172"> 172 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> pooled14[37];
|
||||
</span><span><a class="LN" name="173"> 173 </a>
|
||||
</span><span><a class="LN" name="174"> 174 </a> <span class="CT">/* Pooled Parameter (Expression: r_sin3PhaB_M1)</span>
|
||||
</span><span><a class="LN" name="175"> 175 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="176"> 176 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:300')" name="code2model"><font color="#117755"><i><S44>/r_sin3PhaB_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="177"> 177 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:300')" name="code2model"><font color="#117755"><i><S84>/r_sin3PhaB_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="178"> 178 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="179"> 179 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> pooled15[37];
|
||||
</span><span><a class="LN" name="180"> 180 </a>
|
||||
</span><span><a class="LN" name="181"> 181 </a> <span class="CT">/* Pooled Parameter (Expression: r_sin3PhaC_M1)</span>
|
||||
</span><span><a class="LN" name="182"> 182 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="183"> 183 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:301')" name="code2model"><font color="#117755"><i><S44>/r_sin3PhaC_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="184"> 184 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:301')" name="code2model"><font color="#117755"><i><S84>/r_sin3PhaC_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="185"> 185 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="186"> 186 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> pooled16[37];
|
||||
</span><span><a class="LN" name="187"> 187 </a>
|
||||
</span><span><a class="LN" name="188"> 188 </a> <span class="CT">/* Pooled Parameter (Expression: z_commutMap_M1)</span>
|
||||
</span><span><a class="LN" name="189"> 189 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="190"> 190 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:411')" name="code2model"><font color="#117755"><i><S15>/z_commutMap_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="191"> 191 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:411')" name="code2model"><font color="#117755"><i><S55>/z_commutMap_M1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="192"> 192 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="193"> 193 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> pooled17[18];
|
||||
</span><span><a class="LN" name="194"> 194 </a>
|
||||
</span><span><a class="LN" name="195"> 195 </a> <span class="CT">/* Pooled Parameter (Expression: vec_hallToPos)</span>
|
||||
</span><span><a class="LN" name="196"> 196 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="197"> 197 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:22')" name="code2model"><font color="#117755"><i><S21>/vec_hallToPos</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="198"> 198 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:22')" name="code2model"><font color="#117755"><i><S61>/vec_hallToPos</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="199"> 199 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="200"> 200 </a> <a href="rtwtypes_h.html#type_uint8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_uint8_T');" target="_self"><font color="#1122aa">uint8_T</font></a> pooled27[8];
|
||||
</span><span><a class="LN" name="201"> 201 </a>
|
||||
</span><span><a class="LN" name="202"> 202 </a> <span class="CT">/* Pooled Parameter (Expression: [0 1;1 0;0 1;0 1;1 0;1 0;0 0;0 0])</span>
|
||||
</span><span><a class="LN" name="203"> 203 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="204"> 204 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:140:135')" name="code2model"><font color="#117755"><i><S30>/Logic</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="205"> 205 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:140:135')" name="code2model"><font color="#117755"><i><S70>/Logic</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="206"> 206 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="207"> 207 </a> <a href="rtwtypes_h.html#type_boolean_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_boolean_T');" target="_self"><font color="#1122aa">boolean_T</font></a> pooled31[16];
|
||||
</span><span><a class="LN" name="208"> 208 </a><b>}</b> <a name="type_ConstP">ConstP</a>;
|
||||
</span><span><a class="LN" name="209"> 209 </a>
|
||||
</span><span><a class="LN" name="210"> 210 </a><span class="CT">/* External inputs (root inport signals with auto storage) */</span>
|
||||
</span><span><a class="LN" name="211"> 211 </a><span class="KW">typedef</span> <span class="KW">struct</span> <b>{</b>
|
||||
</span><span><a class="LN" name="212"> 212 </a> <a href="rtwtypes_h.html#type_uint8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_uint8_T');" target="_self"><font color="#1122aa">uint8_T</font></a> b_hallALeft; <span class="CT">/* '<Root>/b_hallALeft ' */</span>
|
||||
</span><span><a class="LN" name="213"> 213 </a> <a href="rtwtypes_h.html#type_uint8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_uint8_T');" target="_self"><font color="#1122aa">uint8_T</font></a> b_hallBLeft; <span class="CT">/* '<Root>/b_hallBLeft' */</span>
|
||||
</span><span><a class="LN" name="214"> 214 </a> <a href="rtwtypes_h.html#type_uint8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_uint8_T');" target="_self"><font color="#1122aa">uint8_T</font></a> b_hallCLeft; <span class="CT">/* '<Root>/b_hallCLeft' */</span>
|
||||
</span><span><a class="LN" name="215"> 215 </a> <a href="rtwtypes_h.html#type_int32_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int32_T');" target="_self"><font color="#1122aa">int32_T</font></a> r_DCLeft; <span class="CT">/* '<Root>/r_DCLeft' */</span>
|
||||
</span><span><a class="LN" name="216"> 216 </a> <a href="rtwtypes_h.html#type_uint8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_uint8_T');" target="_self"><font color="#1122aa">uint8_T</font></a> b_hallARight; <span class="CT">/* '<Root>/b_hallARight' */</span>
|
||||
</span><span><a class="LN" name="217"> 217 </a> <a href="rtwtypes_h.html#type_uint8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_uint8_T');" target="_self"><font color="#1122aa">uint8_T</font></a> b_hallBRight; <span class="CT">/* '<Root>/b_hallBRight' */</span>
|
||||
</span><span><a class="LN" name="218"> 218 </a> <a href="rtwtypes_h.html#type_uint8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_uint8_T');" target="_self"><font color="#1122aa">uint8_T</font></a> b_hallCRight; <span class="CT">/* '<Root>/b_hallCRight' */</span>
|
||||
</span><span><a class="LN" name="219"> 219 </a> <a href="rtwtypes_h.html#type_int32_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int32_T');" target="_self"><font color="#1122aa">int32_T</font></a> r_DCRight; <span class="CT">/* '<Root>/r_DCRight' */</span>
|
||||
</span><span><a class="LN" name="220"> 220 </a><b>}</b> <a name="type_ExtU">ExtU</a>;
|
||||
</span><span><a class="LN" name="221"> 221 </a>
|
||||
</span><span><a class="LN" name="222"> 222 </a><span class="CT">/* External outputs (root outports fed by signals with auto storage) */</span>
|
||||
</span><span><a class="LN" name="223"> 223 </a><span class="KW">typedef</span> <span class="KW">struct</span> <b>{</b>
|
||||
</span><span><a class="LN" name="224"> 224 </a> <a href="rtwtypes_h.html#type_int32_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int32_T');" target="_self"><font color="#1122aa">int32_T</font></a> DC_phaALeft; <span class="CT">/* '<Root>/DC_phaALeft' */</span>
|
||||
</span><span><a class="LN" name="225"> 225 </a> <a href="rtwtypes_h.html#type_int32_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int32_T');" target="_self"><font color="#1122aa">int32_T</font></a> DC_phaBLeft; <span class="CT">/* '<Root>/DC_phaBLeft' */</span>
|
||||
</span><span><a class="LN" name="226"> 226 </a> <a href="rtwtypes_h.html#type_int32_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int32_T');" target="_self"><font color="#1122aa">int32_T</font></a> DC_phaCLeft; <span class="CT">/* '<Root>/DC_phaCLeft' */</span>
|
||||
</span><span><a class="LN" name="227"> 227 </a> <a href="rtwtypes_h.html#type_int32_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int32_T');" target="_self"><font color="#1122aa">int32_T</font></a> n_motLeft; <span class="CT">/* '<Root>/n_motLeft' */</span>
|
||||
</span><span><a class="LN" name="228"> 228 </a> <a href="rtwtypes_h.html#type_int32_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int32_T');" target="_self"><font color="#1122aa">int32_T</font></a> a_elecAngleLeft; <span class="CT">/* '<Root>/a_elecAngleLeft' */</span>
|
||||
</span><span><a class="LN" name="229"> 229 </a> <a href="rtwtypes_h.html#type_int32_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int32_T');" target="_self"><font color="#1122aa">int32_T</font></a> DC_phaARight; <span class="CT">/* '<Root>/DC_phaARight' */</span>
|
||||
</span><span><a class="LN" name="230"> 230 </a> <a href="rtwtypes_h.html#type_int32_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int32_T');" target="_self"><font color="#1122aa">int32_T</font></a> DC_phaBRight; <span class="CT">/* '<Root>/DC_phaBRight' */</span>
|
||||
</span><span><a class="LN" name="231"> 231 </a> <a href="rtwtypes_h.html#type_int32_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int32_T');" target="_self"><font color="#1122aa">int32_T</font></a> DC_phaCRight; <span class="CT">/* '<Root>/DC_phaCRight' */</span>
|
||||
</span><span><a class="LN" name="232"> 232 </a> <a href="rtwtypes_h.html#type_int32_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int32_T');" target="_self"><font color="#1122aa">int32_T</font></a> n_motRight; <span class="CT">/* '<Root>/n_motRight' */</span>
|
||||
</span><span><a class="LN" name="233"> 233 </a> <a href="rtwtypes_h.html#type_int32_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int32_T');" target="_self"><font color="#1122aa">int32_T</font></a> a_elecAngleRight; <span class="CT">/* '<Root>/a_elecAngleRight' */</span>
|
||||
</span><span><a class="LN" name="234"> 234 </a><b>}</b> <a name="type_ExtY">ExtY</a>;
|
||||
</span><span><a class="LN" name="235"> 235 </a>
|
||||
</span><span><a class="LN" name="236"> 236 </a><span class="CT">/* Parameters (auto storage) */</span>
|
||||
</span><span><a class="LN" name="237"> 237 </a><span class="KW">struct</span> P_ <b>{</b>
|
||||
</span><span><a class="LN" name="238"> 238 </a> <a href="rtwtypes_h.html#type_int32_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int32_T');" target="_self"><font color="#1122aa">int32_T</font></a> cf_spdCoef; <span class="CT">/* Variable: cf_spdCoef</span>
|
||||
</span><span><a class="LN" name="239"> 239 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="240"> 240 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:132')" name="code2model"><font color="#117755"><i><S29>/cf_spdCoef</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="241"> 241 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:132')" name="code2model"><font color="#117755"><i><S69>/cf_spdCoef</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="242"> 242 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="243"> 243 </a> <a href="rtwtypes_h.html#type_int32_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int32_T');" target="_self"><font color="#1122aa">int32_T</font></a> n_commAcvLo; <span class="CT">/* Variable: n_commAcvLo</span>
|
||||
</span><span><a class="LN" name="244"> 244 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="245"> 245 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:400')" name="code2model"><font color="#117755"><i><S15>/Relay</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="246"> 246 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:400')" name="code2model"><font color="#117755"><i><S55>/Relay</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="247"> 247 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="248"> 248 </a> <a href="rtwtypes_h.html#type_int32_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int32_T');" target="_self"><font color="#1122aa">int32_T</font></a> n_commDeacvHi; <span class="CT">/* Variable: n_commDeacvHi</span>
|
||||
</span><span><a class="LN" name="249"> 249 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="250"> 250 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:400')" name="code2model"><font color="#117755"><i><S15>/Relay</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="251"> 251 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:400')" name="code2model"><font color="#117755"><i><S55>/Relay</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="252"> 252 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="253"> 253 </a> <a href="rtwtypes_h.html#type_int32_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int32_T');" target="_self"><font color="#1122aa">int32_T</font></a> n_thresSpdDeacv; <span class="CT">/* Variable: n_thresSpdDeacv</span>
|
||||
</span><span><a class="LN" name="254"> 254 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="255"> 255 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:147')" name="code2model"><font color="#117755"><i><S23>/n_thresSpdDeacv</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="256"> 256 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:147')" name="code2model"><font color="#117755"><i><S63>/n_thresSpdDeacv</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="257"> 257 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="258"> 258 </a> <a href="rtwtypes_h.html#type_int32_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int32_T');" target="_self"><font color="#1122aa">int32_T</font></a> r_commDCDeacv; <span class="CT">/* Variable: r_commDCDeacv</span>
|
||||
</span><span><a class="LN" name="259"> 259 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="260"> 260 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:593')" name="code2model"><font color="#117755"><i><S15>/r_commDCDeacv</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="261"> 261 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:593')" name="code2model"><font color="#117755"><i><S55>/r_commDCDeacv</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="262"> 262 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="263"> 263 </a> <a href="rtwtypes_h.html#type_int32_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int32_T');" target="_self"><font color="#1122aa">int32_T</font></a> r_phaAdvDC_XA[11]; <span class="CT">/* Variable: r_phaAdvDC_XA</span>
|
||||
</span><span><a class="LN" name="264"> 264 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="265"> 265 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:522')" name="code2model"><font color="#117755"><i><S13>/r_phaAdvDC_XA</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="266"> 266 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:522')" name="code2model"><font color="#117755"><i><S53>/r_phaAdvDC_XA</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="267"> 267 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="268"> 268 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> a_phaAdv_M1[11]; <span class="CT">/* Variable: a_phaAdv_M1</span>
|
||||
</span><span><a class="LN" name="269"> 269 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="270"> 270 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:521')" name="code2model"><font color="#117755"><i><S13>/a_phaAdv_M2</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="271"> 271 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:521')" name="code2model"><font color="#117755"><i><S53>/a_phaAdv_M2</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="272"> 272 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="273"> 273 </a> <a href="rtwtypes_h.html#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a> z_maxCntRst; <span class="CT">/* Variable: z_maxCntRst</span>
|
||||
</span><span><a class="LN" name="274"> 274 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="275"> 275 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:171')" name="code2model"><font color="#117755"><i><S23>/z_maxCntRst</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="276"> 276 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:171')" name="code2model"><font color="#117755"><i><S63>/z_maxCntRst</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="277"> 277 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:133')" name="code2model"><font color="#117755"><i><S29>/z_maxCntRst</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="278"> 278 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:133')" name="code2model"><font color="#117755"><i><S69>/z_maxCntRst</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="279"> 279 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="280"> 280 </a> <a href="rtwtypes_h.html#type_uint8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_uint8_T');" target="_self"><font color="#1122aa">uint8_T</font></a> z_ctrlTypSel; <span class="CT">/* Variable: z_ctrlTypSel</span>
|
||||
</span><span><a class="LN" name="281"> 281 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="282"> 282 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:208')" name="code2model"><font color="#117755"><i><S12>/z_ctrlTypSel1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="283"> 283 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:208')" name="code2model"><font color="#117755"><i><S52>/z_ctrlTypSel1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="284"> 284 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="285"> 285 </a> <a href="rtwtypes_h.html#type_uint8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_uint8_T');" target="_self"><font color="#1122aa">uint8_T</font></a> z_nrEdgeSpdAcv; <span class="CT">/* Variable: z_nrEdgeSpdAcv</span>
|
||||
</span><span><a class="LN" name="286"> 286 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="287"> 287 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:172')" name="code2model"><font color="#117755"><i><S23>/z_nrEdgeSpdAcv</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="288"> 288 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:172')" name="code2model"><font color="#117755"><i><S63>/z_nrEdgeSpdAcv</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="289"> 289 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="290"> 290 </a> <a href="rtwtypes_h.html#type_boolean_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_boolean_T');" target="_self"><font color="#1122aa">boolean_T</font></a> b_phaAdvEna; <span class="CT">/* Variable: b_phaAdvEna</span>
|
||||
</span><span><a class="LN" name="291"> 291 </a><span class="CT"> * Referenced by:</span>
|
||||
</span><span><a class="LN" name="292"> 292 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:512')" name="code2model"><font color="#117755"><i><S13>/a_elecPeriod1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="293"> 293 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:512')" name="code2model"><font color="#117755"><i><S53>/a_elecPeriod1</i></font></a>'</span>
|
||||
</span><span><a class="LN" name="294"> 294 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="295"> 295 </a><b>}</b>;
|
||||
</span><span><a class="LN" name="296"> 296 </a>
|
||||
</span><span><a class="LN" name="297"> 297 </a><span class="CT">/* Parameters (auto storage) */</span>
|
||||
</span><span><a class="LN" name="298"> 298 </a><span class="KW">typedef</span> <span class="KW">struct</span> P_ <a name="type_P">P</a>;
|
||||
</span><span><a class="LN" name="299"> 299 </a>
|
||||
</span><span><a class="LN" name="300"> 300 </a><span class="CT">/* Block parameters (auto storage) */</span>
|
||||
</span><span><a class="LN" name="301"> 301 </a><span class="DT">extern</span> <a href="#type_P" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_P');" target="_self"><font color="#1122aa">P</font></a> <a href="BLDC_controller_data_c.html#var_rtP" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'var_rtP');" target="_self"><font color="#1122aa">rtP</font></a>;
|
||||
</span><span><a class="LN" name="302"> 302 </a>
|
||||
</span><span><a class="LN" name="303"> 303 </a><span class="CT">/* Block signals and states (auto storage) */</span>
|
||||
</span><span><a class="LN" name="304"> 304 </a><span class="DT">extern</span> <a href="#type_DW" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_DW');" target="_self"><font color="#1122aa">DW</font></a> <a href="BLDC_controller_c.html#var_rtDW" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'var_rtDW');" target="_self"><font color="#1122aa">rtDW</font></a>;
|
||||
</span><span><a class="LN" name="305"> 305 </a>
|
||||
</span><span><a class="LN" name="306"> 306 </a><span class="CT">/* External inputs (root inport signals with auto storage) */</span>
|
||||
</span><span><a class="LN" name="307"> 307 </a><span class="DT">extern</span> <a href="#type_ExtU" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_ExtU');" target="_self"><font color="#1122aa">ExtU</font></a> <a href="BLDC_controller_c.html#var_rtU" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'var_rtU');" target="_self"><font color="#1122aa">rtU</font></a>;
|
||||
</span><span><a class="LN" name="308"> 308 </a>
|
||||
</span><span><a class="LN" name="309"> 309 </a><span class="CT">/* External outputs (root outports fed by signals with auto storage) */</span>
|
||||
</span><span><a class="LN" name="310"> 310 </a><span class="DT">extern</span> <a href="#type_ExtY" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_ExtY');" target="_self"><font color="#1122aa">ExtY</font></a> <a href="BLDC_controller_c.html#var_rtY" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'var_rtY');" target="_self"><font color="#1122aa">rtY</font></a>;
|
||||
</span><span><a class="LN" name="311"> 311 </a>
|
||||
</span><span><a class="LN" name="312"> 312 </a><span class="CT">/* Constant parameters (auto storage) */</span>
|
||||
</span><span><a class="LN" name="313"> 313 </a><span class="DT">extern</span> <span class="DT">const</span> <a href="#type_ConstP" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_ConstP');" target="_self"><font color="#1122aa">ConstP</font></a> <a href="BLDC_controller_data_c.html#var_rtConstP" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'var_rtConstP');" target="_self"><font color="#1122aa">rtConstP</font></a>;
|
||||
</span><span><a class="LN" name="314"> 314 </a>
|
||||
</span><span><a class="LN" name="315"> 315 </a><span class="CT">/* Model entry point functions */</span>
|
||||
</span><span><a class="LN" name="316"> 316 </a><span class="DT">extern</span> <span class="DT">void</span> <a href="BLDC_controller_c.html#fcn_BLDC_controller_initialize" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'fcn_BLDC_controller_initialize');" target="_self"><font color="#1122aa">BLDC_controller_initialize</font></a>(<span class="DT">void</span>);
|
||||
</span><span><a class="LN" name="317"> 317 </a><span class="DT">extern</span> <span class="DT">void</span> <a href="BLDC_controller_c.html#fcn_BLDC_controller_step" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'fcn_BLDC_controller_step');" target="_self"><font color="#1122aa">BLDC_controller_step</font></a>(<span class="DT">void</span>);
|
||||
</span><span><a class="LN" name="318"> 318 </a>
|
||||
</span><span><a class="LN" name="319"> 319 </a><span class="CT">/*-</span>
|
||||
</span><span><a class="LN" name="320"> 320 </a><span class="CT"> * These blocks were eliminated from the model due to optimizations:</span>
|
||||
</span><span><a class="LN" name="321"> 321 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="322"> 322 </a><span class="CT"> * Block '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:141')" name="code2model"><font color="#117755"><i><S23>/Scope2</i></font></a>' : Unused code path elimination</span>
|
||||
</span><span><a class="LN" name="323"> 323 </a><span class="CT"> * Block '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:262')" name="code2model"><font color="#117755"><i><S13>/Scope</i></font></a>' : Unused code path elimination</span>
|
||||
</span><span><a class="LN" name="324"> 324 </a><span class="CT"> * Block '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:141')" name="code2model"><font color="#117755"><i><S63>/Scope2</i></font></a>' : Unused code path elimination</span>
|
||||
</span><span><a class="LN" name="325"> 325 </a><span class="CT"> * Block '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:262')" name="code2model"><font color="#117755"><i><S53>/Scope</i></font></a>' : Unused code path elimination</span>
|
||||
</span><span><a class="LN" name="326"> 326 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="327"> 327 </a>
|
||||
</span><span><a class="LN" name="328"> 328 </a><span class="CT">/*-</span>
|
||||
</span><span><a class="LN" name="329"> 329 </a><span class="CT"> * The generated code includes comments that allow you to trace directly</span>
|
||||
</span><span><a class="LN" name="330"> 330 </a><span class="CT"> * back to the appropriate location in the model. The basic format</span>
|
||||
</span><span><a class="LN" name="331"> 331 </a><span class="CT"> * is <system>/block_name, where system is the system number (uniquely</span>
|
||||
</span><span><a class="LN" name="332"> 332 </a><span class="CT"> * assigned by Simulink) and block_name is the name of the block.</span>
|
||||
</span><span><a class="LN" name="333"> 333 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="334"> 334 </a><span class="CT"> * Note that this particular code originates from a subsystem build,</span>
|
||||
</span><span><a class="LN" name="335"> 335 </a><span class="CT"> * and has its own system numbers different from the parent model.</span>
|
||||
</span><span><a class="LN" name="336"> 336 </a><span class="CT"> * Refer to the system hierarchy for this subsystem below, and use the</span>
|
||||
</span><span><a class="LN" name="337"> 337 </a><span class="CT"> * MATLAB hilite_system command to trace the generated code back</span>
|
||||
</span><span><a class="LN" name="338"> 338 </a><span class="CT"> * to the parent model. For example,</span>
|
||||
</span><span><a class="LN" name="339"> 339 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="340"> 340 </a><span class="CT"> * hilite_system('BLDCmotorControl_R2017b/BLDC_controller') - opens subsystem BLDCmotorControl_R2017b/BLDC_controller</span>
|
||||
</span><span><a class="LN" name="341"> 341 </a><span class="CT"> * hilite_system('BLDCmotorControl_R2017b/BLDC_controller/Kp') - opens and selects block Kp</span>
|
||||
</span><span><a class="LN" name="342"> 342 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="343"> 343 </a><span class="CT"> * Here is the system hierarchy for this model</span>
|
||||
</span><span><a class="LN" name="344"> 344 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="345"> 345 </a><span class="CT"> * '<Root>' : 'BLDCmotorControl_R2017b'</span>
|
||||
</span><span><a class="LN" name="346"> 346 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:29')" name="code2model"><font color="#117755"><i><S1></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller'</span>
|
||||
</span><span><a class="LN" name="347"> 347 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530')" name="code2model"><font color="#117755"><i><S2></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left'</span>
|
||||
</span><span><a class="LN" name="348"> 348 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531')" name="code2model"><font color="#117755"><i><S3></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right'</span>
|
||||
</span><span><a class="LN" name="349"> 349 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:1831')" name="code2model"><font color="#117755"><i><S4></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/signal_log1'</span>
|
||||
</span><span><a class="LN" name="350"> 350 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:1834')" name="code2model"><font color="#117755"><i><S5></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/signal_log2'</span>
|
||||
</span><span><a class="LN" name="351"> 351 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:1837')" name="code2model"><font color="#117755"><i><S6></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/signal_log3'</span>
|
||||
</span><span><a class="LN" name="352"> 352 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2550')" name="code2model"><font color="#117755"><i><S7></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/signal_log4'</span>
|
||||
</span><span><a class="LN" name="353"> 353 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2553')" name="code2model"><font color="#117755"><i><S8></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/signal_log5'</span>
|
||||
</span><span><a class="LN" name="354"> 354 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:1828')" name="code2model"><font color="#117755"><i><S9></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/signal_log6'</span>
|
||||
</span><span><a class="LN" name="355"> 355 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2556')" name="code2model"><font color="#117755"><i><S10></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/signal_log7'</span>
|
||||
</span><span><a class="LN" name="356"> 356 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2559')" name="code2model"><font color="#117755"><i><S11></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/signal_log8'</span>
|
||||
</span><span><a class="LN" name="357"> 357 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:6')" name="code2model"><font color="#117755"><i><S12></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations'</span>
|
||||
</span><span><a class="LN" name="358"> 358 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:215')" name="code2model"><font color="#117755"><i><S13></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F02_Electrical_Angle_Calculation'</span>
|
||||
</span><span><a class="LN" name="359"> 359 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:282')" name="code2model"><font color="#117755"><i><S14></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F03_Control_Method_Selection'</span>
|
||||
</span><span><a class="LN" name="360"> 360 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:361')" name="code2model"><font color="#117755"><i><S15></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F04_Control_Type_Management'</span>
|
||||
</span><span><a class="LN" name="361"> 361 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:435')" name="code2model"><font color="#117755"><i><S16></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/signal_log1'</span>
|
||||
</span><span><a class="LN" name="362"> 362 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:438')" name="code2model"><font color="#117755"><i><S17></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/signal_log2'</span>
|
||||
</span><span><a class="LN" name="363"> 363 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:441')" name="code2model"><font color="#117755"><i><S18></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/signal_log3'</span>
|
||||
</span><span><a class="LN" name="364"> 364 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:444')" name="code2model"><font color="#117755"><i><S19></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/signal_log6'</span>
|
||||
</span><span><a class="LN" name="365"> 365 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:26')" name="code2model"><font color="#117755"><i><S20></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_01_Edge_Detector'</span>
|
||||
</span><span><a class="LN" name="366"> 366 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:10')" name="code2model"><font color="#117755"><i><S21></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_02_Position_Calculation'</span>
|
||||
</span><span><a class="LN" name="367"> 367 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:38')" name="code2model"><font color="#117755"><i><S22></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_03_Direction_Detection'</span>
|
||||
</span><span><a class="LN" name="368"> 368 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:59')" name="code2model"><font color="#117755"><i><S23></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_04_Speed_Calculation'</span>
|
||||
</span><span><a class="LN" name="369"> 369 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:34')" name="code2model"><font color="#117755"><i><S24></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_01_Edge_Detector/signal_log6'</span>
|
||||
</span><span><a class="LN" name="370"> 370 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:19')" name="code2model"><font color="#117755"><i><S25></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_02_Position_Calculation/signal_log6'</span>
|
||||
</span><span><a class="LN" name="371"> 371 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:54')" name="code2model"><font color="#117755"><i><S26></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_03_Direction_Detection/signal_log6'</span>
|
||||
</span><span><a class="LN" name="372"> 372 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:65')" name="code2model"><font color="#117755"><i><S27></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_04_Speed_Calculation/Edge_counter'</span>
|
||||
</span><span><a class="LN" name="373"> 373 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:112')" name="code2model"><font color="#117755"><i><S28></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_04_Speed_Calculation/Moving_Average_Filter'</span>
|
||||
</span><span><a class="LN" name="374"> 374 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:124')" name="code2model"><font color="#117755"><i><S29></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_04_Speed_Calculation/Raw_ Speed_calculation'</span>
|
||||
</span><span><a class="LN" name="375"> 375 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:140')" name="code2model"><font color="#117755"><i><S30></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_04_Speed_Calculation/S-R Flip-Flop'</span>
|
||||
</span><span><a class="LN" name="376"> 376 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:588')" name="code2model"><font color="#117755"><i><S31></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_04_Speed_Calculation/rising_edge'</span>
|
||||
</span><span><a class="LN" name="377"> 377 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:479')" name="code2model"><font color="#117755"><i><S32></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_04_Speed_Calculation/rst_Delay'</span>
|
||||
</span><span><a class="LN" name="378"> 378 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:154')" name="code2model"><font color="#117755"><i><S33></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_04_Speed_Calculation/signal_log1'</span>
|
||||
</span><span><a class="LN" name="379"> 379 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:157')" name="code2model"><font color="#117755"><i><S34></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_04_Speed_Calculation/signal_log2'</span>
|
||||
</span><span><a class="LN" name="380"> 380 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:160')" name="code2model"><font color="#117755"><i><S35></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_04_Speed_Calculation/signal_log3'</span>
|
||||
</span><span><a class="LN" name="381"> 381 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:163')" name="code2model"><font color="#117755"><i><S36></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_04_Speed_Calculation/signal_log4'</span>
|
||||
</span><span><a class="LN" name="382"> 382 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:166')" name="code2model"><font color="#117755"><i><S37></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_04_Speed_Calculation/signal_log6'</span>
|
||||
</span><span><a class="LN" name="383"> 383 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:480')" name="code2model"><font color="#117755"><i><S38></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F01_Preliminary_Calculations/F01_04_Speed_Calculation/Edge_counter/rst_Delay'</span>
|
||||
</span><span><a class="LN" name="384"> 384 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:577')" name="code2model"><font color="#117755"><i><S39></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F02_Electrical_Angle_Calculation/Modulo_Calculation'</span>
|
||||
</span><span><a class="LN" name="385"> 385 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:579')" name="code2model"><font color="#117755"><i><S40></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F02_Electrical_Angle_Calculation/signal_log1'</span>
|
||||
</span><span><a class="LN" name="386"> 386 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:272')" name="code2model"><font color="#117755"><i><S41></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F02_Electrical_Angle_Calculation/signal_log2'</span>
|
||||
</span><span><a class="LN" name="387"> 387 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:275')" name="code2model"><font color="#117755"><i><S42></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F02_Electrical_Angle_Calculation/signal_log6'</span>
|
||||
</span><span><a class="LN" name="388"> 388 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:285')" name="code2model"><font color="#117755"><i><S43></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F03_Control_Method_Selection/F03_01_Pure_Trapezoidal_Method'</span>
|
||||
</span><span><a class="LN" name="389"> 389 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:295')" name="code2model"><font color="#117755"><i><S44></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F03_Control_Method_Selection/F03_02_Sinusoidal3rd_Method'</span>
|
||||
</span><span><a class="LN" name="390"> 390 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:305')" name="code2model"><font color="#117755"><i><S45></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F03_Control_Method_Selection/F03_02_Sinusoidal_Method'</span>
|
||||
</span><span><a class="LN" name="391"> 391 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:349')" name="code2model"><font color="#117755"><i><S46></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F03_Control_Method_Selection/signal_log1'</span>
|
||||
</span><span><a class="LN" name="392"> 392 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:352')" name="code2model"><font color="#117755"><i><S47></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F03_Control_Method_Selection/signal_log2'</span>
|
||||
</span><span><a class="LN" name="393"> 393 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:355')" name="code2model"><font color="#117755"><i><S48></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F03_Control_Method_Selection/signal_log6'</span>
|
||||
</span><span><a class="LN" name="394"> 394 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:402')" name="code2model"><font color="#117755"><i><S49></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F04_Control_Type_Management/signal_log1'</span>
|
||||
</span><span><a class="LN" name="395"> 395 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:405')" name="code2model"><font color="#117755"><i><S50></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F04_Control_Type_Management/signal_log2'</span>
|
||||
</span><span><a class="LN" name="396"> 396 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:408')" name="code2model"><font color="#117755"><i><S51></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Left/F04_Control_Type_Management/signal_log6'</span>
|
||||
</span><span><a class="LN" name="397"> 397 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:6')" name="code2model"><font color="#117755"><i><S52></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations'</span>
|
||||
</span><span><a class="LN" name="398"> 398 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:215')" name="code2model"><font color="#117755"><i><S53></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F02_Electrical_Angle_Calculation'</span>
|
||||
</span><span><a class="LN" name="399"> 399 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:282')" name="code2model"><font color="#117755"><i><S54></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F03_Control_Method_Selection'</span>
|
||||
</span><span><a class="LN" name="400"> 400 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:361')" name="code2model"><font color="#117755"><i><S55></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F04_Control_Type_Management'</span>
|
||||
</span><span><a class="LN" name="401"> 401 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:435')" name="code2model"><font color="#117755"><i><S56></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/signal_log1'</span>
|
||||
</span><span><a class="LN" name="402"> 402 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:438')" name="code2model"><font color="#117755"><i><S57></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/signal_log2'</span>
|
||||
</span><span><a class="LN" name="403"> 403 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:441')" name="code2model"><font color="#117755"><i><S58></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/signal_log3'</span>
|
||||
</span><span><a class="LN" name="404"> 404 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:444')" name="code2model"><font color="#117755"><i><S59></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/signal_log6'</span>
|
||||
</span><span><a class="LN" name="405"> 405 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:26')" name="code2model"><font color="#117755"><i><S60></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_01_Edge_Detector'</span>
|
||||
</span><span><a class="LN" name="406"> 406 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:10')" name="code2model"><font color="#117755"><i><S61></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_02_Position_Calculation'</span>
|
||||
</span><span><a class="LN" name="407"> 407 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:38')" name="code2model"><font color="#117755"><i><S62></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_03_Direction_Detection'</span>
|
||||
</span><span><a class="LN" name="408"> 408 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:59')" name="code2model"><font color="#117755"><i><S63></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_04_Speed_Calculation'</span>
|
||||
</span><span><a class="LN" name="409"> 409 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:34')" name="code2model"><font color="#117755"><i><S64></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_01_Edge_Detector/signal_log6'</span>
|
||||
</span><span><a class="LN" name="410"> 410 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:19')" name="code2model"><font color="#117755"><i><S65></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_02_Position_Calculation/signal_log6'</span>
|
||||
</span><span><a class="LN" name="411"> 411 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:54')" name="code2model"><font color="#117755"><i><S66></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_03_Direction_Detection/signal_log6'</span>
|
||||
</span><span><a class="LN" name="412"> 412 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:65')" name="code2model"><font color="#117755"><i><S67></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_04_Speed_Calculation/Edge_counter'</span>
|
||||
</span><span><a class="LN" name="413"> 413 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:112')" name="code2model"><font color="#117755"><i><S68></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_04_Speed_Calculation/Moving_Average_Filter'</span>
|
||||
</span><span><a class="LN" name="414"> 414 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:124')" name="code2model"><font color="#117755"><i><S69></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_04_Speed_Calculation/Raw_ Speed_calculation'</span>
|
||||
</span><span><a class="LN" name="415"> 415 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:140')" name="code2model"><font color="#117755"><i><S70></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_04_Speed_Calculation/S-R Flip-Flop'</span>
|
||||
</span><span><a class="LN" name="416"> 416 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:588')" name="code2model"><font color="#117755"><i><S71></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_04_Speed_Calculation/rising_edge'</span>
|
||||
</span><span><a class="LN" name="417"> 417 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:479')" name="code2model"><font color="#117755"><i><S72></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_04_Speed_Calculation/rst_Delay'</span>
|
||||
</span><span><a class="LN" name="418"> 418 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:154')" name="code2model"><font color="#117755"><i><S73></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_04_Speed_Calculation/signal_log1'</span>
|
||||
</span><span><a class="LN" name="419"> 419 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:157')" name="code2model"><font color="#117755"><i><S74></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_04_Speed_Calculation/signal_log2'</span>
|
||||
</span><span><a class="LN" name="420"> 420 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:160')" name="code2model"><font color="#117755"><i><S75></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_04_Speed_Calculation/signal_log3'</span>
|
||||
</span><span><a class="LN" name="421"> 421 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:163')" name="code2model"><font color="#117755"><i><S76></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_04_Speed_Calculation/signal_log4'</span>
|
||||
</span><span><a class="LN" name="422"> 422 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:166')" name="code2model"><font color="#117755"><i><S77></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_04_Speed_Calculation/signal_log6'</span>
|
||||
</span><span><a class="LN" name="423"> 423 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:480')" name="code2model"><font color="#117755"><i><S78></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F01_Preliminary_Calculations/F01_04_Speed_Calculation/Edge_counter/rst_Delay'</span>
|
||||
</span><span><a class="LN" name="424"> 424 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:577')" name="code2model"><font color="#117755"><i><S79></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F02_Electrical_Angle_Calculation/Modulo_Calculation'</span>
|
||||
</span><span><a class="LN" name="425"> 425 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:579')" name="code2model"><font color="#117755"><i><S80></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F02_Electrical_Angle_Calculation/signal_log1'</span>
|
||||
</span><span><a class="LN" name="426"> 426 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:272')" name="code2model"><font color="#117755"><i><S81></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F02_Electrical_Angle_Calculation/signal_log2'</span>
|
||||
</span><span><a class="LN" name="427"> 427 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:275')" name="code2model"><font color="#117755"><i><S82></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F02_Electrical_Angle_Calculation/signal_log6'</span>
|
||||
</span><span><a class="LN" name="428"> 428 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:285')" name="code2model"><font color="#117755"><i><S83></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F03_Control_Method_Selection/F03_01_Pure_Trapezoidal_Method'</span>
|
||||
</span><span><a class="LN" name="429"> 429 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:295')" name="code2model"><font color="#117755"><i><S84></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F03_Control_Method_Selection/F03_02_Sinusoidal3rd_Method'</span>
|
||||
</span><span><a class="LN" name="430"> 430 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:305')" name="code2model"><font color="#117755"><i><S85></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F03_Control_Method_Selection/F03_02_Sinusoidal_Method'</span>
|
||||
</span><span><a class="LN" name="431"> 431 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:349')" name="code2model"><font color="#117755"><i><S86></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F03_Control_Method_Selection/signal_log1'</span>
|
||||
</span><span><a class="LN" name="432"> 432 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:352')" name="code2model"><font color="#117755"><i><S87></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F03_Control_Method_Selection/signal_log2'</span>
|
||||
</span><span><a class="LN" name="433"> 433 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:355')" name="code2model"><font color="#117755"><i><S88></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F03_Control_Method_Selection/signal_log6'</span>
|
||||
</span><span><a class="LN" name="434"> 434 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:402')" name="code2model"><font color="#117755"><i><S89></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F04_Control_Type_Management/signal_log1'</span>
|
||||
</span><span><a class="LN" name="435"> 435 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:405')" name="code2model"><font color="#117755"><i><S90></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F04_Control_Type_Management/signal_log2'</span>
|
||||
</span><span><a class="LN" name="436"> 436 </a><span class="CT"> * '<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:408')" name="code2model"><font color="#117755"><i><S91></i></font></a>' : 'BLDCmotorControl_R2017b/BLDC_controller/BLDC_controller_Right/F04_Control_Type_Management/signal_log6'</span>
|
||||
</span><span><a class="LN" name="437"> 437 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="438"> 438 </a><font color="#992211">#</font><span class="PP">endif</span> <span class="CT">/* RTW_HEADER_BLDC_controller_h_ */</span>
|
||||
</span><span><a class="LN" name="439"> 439 </a>
|
||||
</span><span><a class="LN" name="440"> 440 </a><span class="CT">/*</span>
|
||||
</span><span><a class="LN" name="441"> 441 </a><span class="CT"> * File trailer for generated code.</span>
|
||||
</span><span><a class="LN" name="442"> 442 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="443"> 443 </a><span class="CT"> * [EOF]</span>
|
||||
</span><span><a class="LN" name="444"> 444 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="445"> 445 </a>
|
||||
</span></pre>
|
||||
</td></tr></table>
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,737 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><link rel="stylesheet" type="text/css" href="rtwreport.css" /><script language="JavaScript" type="text/javascript">function rtwTableShrink(o) {var t = o.nextSibling;if (t.nodeType != 1) {t = t.nextSibling;}if (t.style.display == "none") {t.style.display = "";o.innerHTML = "[-]"} else {t.style.display = "none";o.innerHTML = "[+] ... "}}</script><SCRIPT type="text/javascript" language="JavaScript" src="slwebview.js"></SCRIPT>
|
||||
<SCRIPT type="text/javascript" language="JavaScript" src="id_mapping.js"></SCRIPT>
|
||||
<script language="JavaScript" type="text/javascript" src="rtwreport_utils.js"></script><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>
|
||||
Code Interface Report for BLDC_controller
|
||||
</title>
|
||||
|
||||
</head>
|
||||
<body ONLOAD="try {if (top) {if (top.rtwPageOnLoad) top.rtwPageOnLoad('rtwIdCodeInterface'); else local_onload();}} catch(err) {};">
|
||||
<h1>
|
||||
Code Interface Report for BLDC_controller
|
||||
</h1>
|
||||
<h3>
|
||||
Table of Contents
|
||||
</h3>
|
||||
<ul>
|
||||
<li>
|
||||
<a href="#sec_Entry_Point_Functions">
|
||||
Entry Point Functions
|
||||
</a>
|
||||
|
||||
</li>
|
||||
<li>
|
||||
<a href="#sec_Inports">
|
||||
Inports
|
||||
</a>
|
||||
|
||||
</li>
|
||||
<li>
|
||||
<a href="#sec_Outports">
|
||||
Outports
|
||||
</a>
|
||||
|
||||
</li>
|
||||
<li>
|
||||
<a href="#sec_Interface_Parameters">
|
||||
Interface Parameters
|
||||
</a>
|
||||
|
||||
</li>
|
||||
<li>
|
||||
<a href="#sec_Data_Stores">
|
||||
Data Stores
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
<h3>
|
||||
<a name="sec_Entry_Point_Functions">
|
||||
Entry Point Functions
|
||||
</a>
|
||||
|
||||
</h3>
|
||||
<p>
|
||||
Function: <a href="BLDC_controller_c.html#fcn_BLDC_controller_initialize">BLDC_controller_initialize</a>
|
||||
</p>
|
||||
<table width="100%" class="AltRow" cellspacing="0">
|
||||
<tr class="even">
|
||||
<td width="25%" align="left" valign="top">
|
||||
Prototype
|
||||
</td>
|
||||
<td width="75%" align="left" valign="top">
|
||||
<b>
|
||||
void BLDC_controller_initialize(void)
|
||||
</b>
|
||||
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td width="25%" align="left" valign="top">
|
||||
Description
|
||||
</td>
|
||||
<td width="75%" align="left" valign="top">
|
||||
Initialization entry point of generated code
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td width="25%" align="left" valign="top">
|
||||
Timing
|
||||
</td>
|
||||
<td width="75%" align="left" valign="top">
|
||||
Must be called exactly once
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td width="25%" align="left" valign="top">
|
||||
Arguments
|
||||
</td>
|
||||
<td width="75%" align="left" valign="top">
|
||||
None
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td width="25%" align="left" valign="top">
|
||||
Return value
|
||||
</td>
|
||||
<td width="75%" align="left" valign="top">
|
||||
None
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td width="25%" align="left" valign="top">
|
||||
Header file
|
||||
</td>
|
||||
<td width="75%" align="left" valign="top">
|
||||
<a href="BLDC_controller_h.html">BLDC_controller.h</a>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
<p>
|
||||
Function: <a href="BLDC_controller_c.html#fcn_BLDC_controller_step">BLDC_controller_step</a>
|
||||
</p>
|
||||
<table width="100%" class="AltRow" cellspacing="0">
|
||||
<tr class="even">
|
||||
<td width="25%" align="left" valign="top">
|
||||
Prototype
|
||||
</td>
|
||||
<td width="75%" align="left" valign="top">
|
||||
<b>
|
||||
void BLDC_controller_step(void)
|
||||
</b>
|
||||
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td width="25%" align="left" valign="top">
|
||||
Description
|
||||
</td>
|
||||
<td width="75%" align="left" valign="top">
|
||||
Output entry point of generated code
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td width="25%" align="left" valign="top">
|
||||
Timing
|
||||
</td>
|
||||
<td width="75%" align="left" valign="top">
|
||||
Must be called periodically, every 1e-05 seconds
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td width="25%" align="left" valign="top">
|
||||
Arguments
|
||||
</td>
|
||||
<td width="75%" align="left" valign="top">
|
||||
None
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td width="25%" align="left" valign="top">
|
||||
Return value
|
||||
</td>
|
||||
<td width="75%" align="left" valign="top">
|
||||
None
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td width="25%" align="left" valign="top">
|
||||
Header file
|
||||
</td>
|
||||
<td width="75%" align="left" valign="top">
|
||||
<a href="BLDC_controller_h.html">BLDC_controller.h</a>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
<h3>
|
||||
<a name="sec_Inports">
|
||||
Inports
|
||||
</a>
|
||||
|
||||
</h3>
|
||||
<span title="Click to shrink or expand table" onclick="rtwTableShrink(this)">[-]</span><table width="100%" class="AltRow FirstColumn" cellspacing="0">
|
||||
<tr class="heading">
|
||||
<th width="42%" align="left" valign="top">
|
||||
<b>
|
||||
Block Name
|
||||
</b>
|
||||
|
||||
</th>
|
||||
<th width="26%" align="left" valign="top">
|
||||
<b>
|
||||
Code Identifier
|
||||
</b>
|
||||
|
||||
</th>
|
||||
<th width="21%" align="left" valign="top">
|
||||
<b>
|
||||
Data Type
|
||||
</b>
|
||||
|
||||
</th>
|
||||
<th width="10%" align="right" valign="top">
|
||||
<b>
|
||||
Dimension
|
||||
</b>
|
||||
|
||||
</th>
|
||||
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td width="42%" align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:365')" name="code2model" class="code2model"><S1>/b_hallALeft </a>
|
||||
</td>
|
||||
<td width="26%" align="left" valign="top">
|
||||
rtU.b_hallALeft
|
||||
</td>
|
||||
<td width="21%" align="left" valign="top">
|
||||
uint8_T
|
||||
</td>
|
||||
<td width="10%" align="right" valign="top">
|
||||
1
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td width="42%" align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:1277')" name="code2model" class="code2model"><S1>/b_hallBLeft</a>
|
||||
</td>
|
||||
<td width="26%" align="left" valign="top">
|
||||
rtU.b_hallBLeft
|
||||
</td>
|
||||
<td width="21%" align="left" valign="top">
|
||||
uint8_T
|
||||
</td>
|
||||
<td width="10%" align="right" valign="top">
|
||||
1
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td width="42%" align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:1278')" name="code2model" class="code2model"><S1>/b_hallCLeft</a>
|
||||
</td>
|
||||
<td width="26%" align="left" valign="top">
|
||||
rtU.b_hallCLeft
|
||||
</td>
|
||||
<td width="21%" align="left" valign="top">
|
||||
uint8_T
|
||||
</td>
|
||||
<td width="10%" align="right" valign="top">
|
||||
1
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td width="42%" align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:1766')" name="code2model" class="code2model"><S1>/r_DCLeft</a>
|
||||
</td>
|
||||
<td width="26%" align="left" valign="top">
|
||||
rtU.r_DCLeft
|
||||
</td>
|
||||
<td width="21%" align="left" valign="top">
|
||||
int32_T
|
||||
</td>
|
||||
<td width="10%" align="right" valign="top">
|
||||
1
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td width="42%" align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2542')" name="code2model" class="code2model"><S1>/b_hallARight</a>
|
||||
</td>
|
||||
<td width="26%" align="left" valign="top">
|
||||
rtU.b_hallARight
|
||||
</td>
|
||||
<td width="21%" align="left" valign="top">
|
||||
uint8_T
|
||||
</td>
|
||||
<td width="10%" align="right" valign="top">
|
||||
1
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td width="42%" align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2543')" name="code2model" class="code2model"><S1>/b_hallBRight</a>
|
||||
</td>
|
||||
<td width="26%" align="left" valign="top">
|
||||
rtU.b_hallBRight
|
||||
</td>
|
||||
<td width="21%" align="left" valign="top">
|
||||
uint8_T
|
||||
</td>
|
||||
<td width="10%" align="right" valign="top">
|
||||
1
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td width="42%" align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2544')" name="code2model" class="code2model"><S1>/b_hallCRight</a>
|
||||
</td>
|
||||
<td width="26%" align="left" valign="top">
|
||||
rtU.b_hallCRight
|
||||
</td>
|
||||
<td width="21%" align="left" valign="top">
|
||||
uint8_T
|
||||
</td>
|
||||
<td width="10%" align="right" valign="top">
|
||||
1
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td width="42%" align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2545')" name="code2model" class="code2model"><S1>/r_DCRight</a>
|
||||
</td>
|
||||
<td width="26%" align="left" valign="top">
|
||||
rtU.r_DCRight
|
||||
</td>
|
||||
<td width="21%" align="left" valign="top">
|
||||
int32_T
|
||||
</td>
|
||||
<td width="10%" align="right" valign="top">
|
||||
1
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
<h3>
|
||||
<a name="sec_Outports">
|
||||
Outports
|
||||
</a>
|
||||
|
||||
</h3>
|
||||
<span title="Click to shrink or expand table" onclick="rtwTableShrink(this)">[-]</span><table width="100%" class="AltRow FirstColumn" cellspacing="0">
|
||||
<tr class="heading">
|
||||
<th width="42%" align="left" valign="top">
|
||||
<b>
|
||||
Block Name
|
||||
</b>
|
||||
|
||||
</th>
|
||||
<th width="26%" align="left" valign="top">
|
||||
<b>
|
||||
Code Identifier
|
||||
</b>
|
||||
|
||||
</th>
|
||||
<th width="21%" align="left" valign="top">
|
||||
<b>
|
||||
Data Type
|
||||
</b>
|
||||
|
||||
</th>
|
||||
<th width="10%" align="right" valign="top">
|
||||
<b>
|
||||
Dimension
|
||||
</b>
|
||||
|
||||
</th>
|
||||
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td width="42%" align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:39')" name="code2model" class="code2model"><S1>/DC_phaALeft</a>
|
||||
</td>
|
||||
<td width="26%" align="left" valign="top">
|
||||
rtY.DC_phaALeft
|
||||
</td>
|
||||
<td width="21%" align="left" valign="top">
|
||||
int32_T
|
||||
</td>
|
||||
<td width="10%" align="right" valign="top">
|
||||
1
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td width="42%" align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:1762')" name="code2model" class="code2model"><S1>/DC_phaBLeft</a>
|
||||
</td>
|
||||
<td width="26%" align="left" valign="top">
|
||||
rtY.DC_phaBLeft
|
||||
</td>
|
||||
<td width="21%" align="left" valign="top">
|
||||
int32_T
|
||||
</td>
|
||||
<td width="10%" align="right" valign="top">
|
||||
1
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td width="42%" align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:1764')" name="code2model" class="code2model"><S1>/DC_phaCLeft</a>
|
||||
</td>
|
||||
<td width="26%" align="left" valign="top">
|
||||
rtY.DC_phaCLeft
|
||||
</td>
|
||||
<td width="21%" align="left" valign="top">
|
||||
int32_T
|
||||
</td>
|
||||
<td width="10%" align="right" valign="top">
|
||||
1
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td width="42%" align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:628')" name="code2model" class="code2model"><S1>/n_motLeft</a>
|
||||
</td>
|
||||
<td width="26%" align="left" valign="top">
|
||||
rtY.n_motLeft
|
||||
</td>
|
||||
<td width="21%" align="left" valign="top">
|
||||
int32_T
|
||||
</td>
|
||||
<td width="10%" align="right" valign="top">
|
||||
1
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td width="42%" align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2463')" name="code2model" class="code2model"><S1>/a_elecAngleLeft</a>
|
||||
</td>
|
||||
<td width="26%" align="left" valign="top">
|
||||
rtY.a_elecAngleLeft
|
||||
</td>
|
||||
<td width="21%" align="left" valign="top">
|
||||
int32_T
|
||||
</td>
|
||||
<td width="10%" align="right" valign="top">
|
||||
1
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td width="42%" align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2537')" name="code2model" class="code2model"><S1>/DC_phaARight</a>
|
||||
</td>
|
||||
<td width="26%" align="left" valign="top">
|
||||
rtY.DC_phaARight
|
||||
</td>
|
||||
<td width="21%" align="left" valign="top">
|
||||
int32_T
|
||||
</td>
|
||||
<td width="10%" align="right" valign="top">
|
||||
1
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td width="42%" align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2538')" name="code2model" class="code2model"><S1>/DC_phaBRight</a>
|
||||
</td>
|
||||
<td width="26%" align="left" valign="top">
|
||||
rtY.DC_phaBRight
|
||||
</td>
|
||||
<td width="21%" align="left" valign="top">
|
||||
int32_T
|
||||
</td>
|
||||
<td width="10%" align="right" valign="top">
|
||||
1
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td width="42%" align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2539')" name="code2model" class="code2model"><S1>/DC_phaCRight</a>
|
||||
</td>
|
||||
<td width="26%" align="left" valign="top">
|
||||
rtY.DC_phaCRight
|
||||
</td>
|
||||
<td width="21%" align="left" valign="top">
|
||||
int32_T
|
||||
</td>
|
||||
<td width="10%" align="right" valign="top">
|
||||
1
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td width="42%" align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2540')" name="code2model" class="code2model"><S1>/n_motRight</a>
|
||||
</td>
|
||||
<td width="26%" align="left" valign="top">
|
||||
rtY.n_motRight
|
||||
</td>
|
||||
<td width="21%" align="left" valign="top">
|
||||
int32_T
|
||||
</td>
|
||||
<td width="10%" align="right" valign="top">
|
||||
1
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td width="42%" align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2541')" name="code2model" class="code2model"><S1>/a_elecAngleRight</a>
|
||||
</td>
|
||||
<td width="26%" align="left" valign="top">
|
||||
rtY.a_elecAngleRight
|
||||
</td>
|
||||
<td width="21%" align="left" valign="top">
|
||||
int32_T
|
||||
</td>
|
||||
<td width="10%" align="right" valign="top">
|
||||
1
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
<h3>
|
||||
<a name="sec_Interface_Parameters">
|
||||
Interface Parameters
|
||||
</a>
|
||||
|
||||
</h3>
|
||||
<span title="Click to shrink or expand table" onclick="rtwTableShrink(this)">[-]</span><table width="100%" class="AltRow FirstColumn" cellspacing="0">
|
||||
<tr class="heading">
|
||||
<th width="42%" align="left" valign="top">
|
||||
<b>
|
||||
Parameter Source
|
||||
</b>
|
||||
|
||||
</th>
|
||||
<th width="26%" align="left" valign="top">
|
||||
<b>
|
||||
Code Identifier
|
||||
</b>
|
||||
|
||||
</th>
|
||||
<th width="21%" align="left" valign="top">
|
||||
<b>
|
||||
Data Type
|
||||
</b>
|
||||
|
||||
</th>
|
||||
<th width="10%" align="right" valign="top">
|
||||
<b>
|
||||
Dimension
|
||||
</b>
|
||||
|
||||
</th>
|
||||
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td width="42%" align="left" valign="top">
|
||||
cf_spdCoef
|
||||
</td>
|
||||
<td width="26%" align="left" valign="top">
|
||||
rtP.cf_spdCoef
|
||||
</td>
|
||||
<td width="21%" align="left" valign="top">
|
||||
int32_T
|
||||
</td>
|
||||
<td width="10%" align="right" valign="top">
|
||||
1
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td width="42%" align="left" valign="top">
|
||||
n_commAcvLo
|
||||
</td>
|
||||
<td width="26%" align="left" valign="top">
|
||||
rtP.n_commAcvLo
|
||||
</td>
|
||||
<td width="21%" align="left" valign="top">
|
||||
int32_T
|
||||
</td>
|
||||
<td width="10%" align="right" valign="top">
|
||||
1
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td width="42%" align="left" valign="top">
|
||||
n_commDeacvHi
|
||||
</td>
|
||||
<td width="26%" align="left" valign="top">
|
||||
rtP.n_commDeacvHi
|
||||
</td>
|
||||
<td width="21%" align="left" valign="top">
|
||||
int32_T
|
||||
</td>
|
||||
<td width="10%" align="right" valign="top">
|
||||
1
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td width="42%" align="left" valign="top">
|
||||
n_thresSpdDeacv
|
||||
</td>
|
||||
<td width="26%" align="left" valign="top">
|
||||
rtP.n_thresSpdDeacv
|
||||
</td>
|
||||
<td width="21%" align="left" valign="top">
|
||||
int32_T
|
||||
</td>
|
||||
<td width="10%" align="right" valign="top">
|
||||
1
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td width="42%" align="left" valign="top">
|
||||
r_commDCDeacv
|
||||
</td>
|
||||
<td width="26%" align="left" valign="top">
|
||||
rtP.r_commDCDeacv
|
||||
</td>
|
||||
<td width="21%" align="left" valign="top">
|
||||
int32_T
|
||||
</td>
|
||||
<td width="10%" align="right" valign="top">
|
||||
1
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td width="42%" align="left" valign="top">
|
||||
r_phaAdvDC_XA
|
||||
</td>
|
||||
<td width="26%" align="left" valign="top">
|
||||
rtP.r_phaAdvDC_XA
|
||||
</td>
|
||||
<td width="21%" align="left" valign="top">
|
||||
int32_T
|
||||
</td>
|
||||
<td width="10%" align="right" valign="top">
|
||||
[1 11]
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td width="42%" align="left" valign="top">
|
||||
a_phaAdv_M1
|
||||
</td>
|
||||
<td width="26%" align="left" valign="top">
|
||||
rtP.a_phaAdv_M1
|
||||
</td>
|
||||
<td width="21%" align="left" valign="top">
|
||||
int16_T
|
||||
</td>
|
||||
<td width="10%" align="right" valign="top">
|
||||
[1 11]
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td width="42%" align="left" valign="top">
|
||||
z_maxCntRst
|
||||
</td>
|
||||
<td width="26%" align="left" valign="top">
|
||||
rtP.z_maxCntRst
|
||||
</td>
|
||||
<td width="21%" align="left" valign="top">
|
||||
int16_T
|
||||
</td>
|
||||
<td width="10%" align="right" valign="top">
|
||||
1
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td width="42%" align="left" valign="top">
|
||||
z_ctrlTypSel
|
||||
</td>
|
||||
<td width="26%" align="left" valign="top">
|
||||
rtP.z_ctrlTypSel
|
||||
</td>
|
||||
<td width="21%" align="left" valign="top">
|
||||
uint8_T
|
||||
</td>
|
||||
<td width="10%" align="right" valign="top">
|
||||
1
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td width="42%" align="left" valign="top">
|
||||
z_nrEdgeSpdAcv
|
||||
</td>
|
||||
<td width="26%" align="left" valign="top">
|
||||
rtP.z_nrEdgeSpdAcv
|
||||
</td>
|
||||
<td width="21%" align="left" valign="top">
|
||||
uint8_T
|
||||
</td>
|
||||
<td width="10%" align="right" valign="top">
|
||||
1
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td width="42%" align="left" valign="top">
|
||||
b_phaAdvEna
|
||||
</td>
|
||||
<td width="26%" align="left" valign="top">
|
||||
rtP.b_phaAdvEna
|
||||
</td>
|
||||
<td width="21%" align="left" valign="top">
|
||||
boolean_T
|
||||
</td>
|
||||
<td width="10%" align="right" valign="top">
|
||||
1
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
<h3>
|
||||
<a name="sec_Data_Stores">
|
||||
Data Stores
|
||||
</a>
|
||||
|
||||
</h3>
|
||||
<p>
|
||||
No data stores in the model; note that this report lists only data stores with non-auto storage class and global data stores
|
||||
</p>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
3728
01_Matlab/BLDC_controller_ert_rtw/html/BLDC_controller_metrics.html
Normal file
@ -0,0 +1,37 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><link rel="stylesheet" type="text/css" href="rtwreport.css" /><script language="JavaScript" type="text/javascript" src="rtwreport_utils.js"></script>
|
||||
<title>
|
||||
Code replacements in BLDC_controller
|
||||
</title>
|
||||
|
||||
</head>
|
||||
<body onload="try {if (top) {if (top.rtwPageOnLoad) top.rtwPageOnLoad('rtwIdCodeReplacements'); else local_onload();}} catch(err) {};">
|
||||
<h1>
|
||||
Code replacements in BLDC_controller
|
||||
</h1>
|
||||
<div>
|
||||
|
||||
</div>
|
||||
<div>
|
||||
|
||||
</div>
|
||||
<p>
|
||||
Code replacements for library 'C89/C90 (ANSI)'. The library comprises:<ul>
|
||||
<li>
|
||||
C89/C90 (ANSI)
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
</p>
|
||||
<p>
|
||||
To see the replacements and misses in the Code Replacement Viewer, look <a href="matlab: rtwprivate invokeViewerForReport 'BLDC_controller' 'ANSI_C'" class="callMATLAB" name="callMATLAB">here</a>.
|
||||
</p>
|
||||
<p>
|
||||
No code replacements occurred. <br />
|
||||
</p>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
1027
01_Matlab/BLDC_controller_ert_rtw/html/BLDC_controller_sid_map.js
Normal file
@ -0,0 +1,400 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><link rel="stylesheet" type="text/css" href="rtwreport.css" /><script language="JavaScript" type="text/javascript" src="rtwreport_utils.js"></script>
|
||||
<title>
|
||||
Non-virtual subsystems in BLDC_controller
|
||||
</title>
|
||||
|
||||
</head>
|
||||
<body onload="try {if (top) {if (top.rtwPageOnLoad) top.rtwPageOnLoad('rtwIdSubsystem'); else local_onload();}} catch(err) {};">
|
||||
<h1>
|
||||
Non-virtual subsystems in BLDC_controller
|
||||
</h1>
|
||||
<div>
|
||||
|
||||
</div>
|
||||
<div>
|
||||
|
||||
</div>
|
||||
<h3 name="sec_Code_Mapping" id="sec_Code_Mapping">
|
||||
1. Code Mapping <span title="Click to shrink or expand section" style="cursor:pointer;font-weight:normal;" id="rtwIdSubsystem_table_001_control" onclick ="if (top) if (top.rtwTableShrink) top.rtwTableShrink(window.document, this, 'rtwIdSubsystem_table_001', false)"><span class="shrink-button">[<u>hide</u>]</span></span>
|
||||
</h3>
|
||||
<table width="100%" name="rtwIdSubsystem_table_001" id="rtwIdSubsystem_table_001" border="0">
|
||||
<tr>
|
||||
<td align="left" valign="top">
|
||||
<p>
|
||||
The following table: <br /><ul>
|
||||
<li>
|
||||
provides a mapping from the non-virtual subsystems in the model to functions or reusable functions in the generated code and
|
||||
</li>
|
||||
<li>
|
||||
notes exceptions that caused some non-virtual subsystems to not reuse code even though they were assigned a function packaging setting ('Function packaging' entry on the Subsystem Block Dialog) of 'Auto' or 'Reusable function'.
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
</p>
|
||||
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left" valign="top">
|
||||
<table class="AltRow FirstColumn" cellspacing="0">
|
||||
<tr class="heading">
|
||||
<th align="left" valign="top">
|
||||
<b>
|
||||
Subsystem
|
||||
</b>
|
||||
|
||||
</th>
|
||||
<th align="left" valign="top">
|
||||
<b>
|
||||
Reuse Setting
|
||||
</b>
|
||||
|
||||
</th>
|
||||
<th align="left" valign="top">
|
||||
<b>
|
||||
Reuse Outcome
|
||||
</b>
|
||||
|
||||
</th>
|
||||
<th align="left" valign="top">
|
||||
<b>
|
||||
Outcome Diagnostic
|
||||
</b>
|
||||
|
||||
</th>
|
||||
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:38')" name="code2model" class="code2model"><S22></a>
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
Auto
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<A HREF="BLDC_controller_c.html#fcn_F01_03_Direction_Detection" TARGET="rtwreport_document_frame">Reusable Function(S22)</A>
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<FONT COLOR="green">normal</FONT>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:38')" name="code2model" class="code2model"><S62></a>
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
Auto
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<A HREF="BLDC_controller_c.html#fcn_F01_03_Direction_Detection" TARGET="rtwreport_document_frame">Reusable Function(S22)</A>
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<FONT COLOR="green">normal</FONT>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:65')" name="code2model" class="code2model"><S27></a>
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
Auto
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<A HREF="BLDC_controller_c.html#fcn_Edge_counter" TARGET="rtwreport_document_frame">Reusable Function(S27)</A>
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<FONT COLOR="green">normal</FONT>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:65')" name="code2model" class="code2model"><S67></a>
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
Auto
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<A HREF="BLDC_controller_c.html#fcn_Edge_counter" TARGET="rtwreport_document_frame">Reusable Function(S27)</A>
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<FONT COLOR="green">normal</FONT>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:112')" name="code2model" class="code2model"><S28></a>
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
Auto
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<A HREF="BLDC_controller_c.html#fcn_Moving_Average_Filter" TARGET="rtwreport_document_frame">Reusable Function(S28)</A>
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<FONT COLOR="green">normal</FONT>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:112')" name="code2model" class="code2model"><S68></a>
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
Auto
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<A HREF="BLDC_controller_c.html#fcn_Moving_Average_Filter" TARGET="rtwreport_document_frame">Reusable Function(S28)</A>
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<FONT COLOR="green">normal</FONT>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:124')" name="code2model" class="code2model"><S29></a>
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
Auto
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<A HREF="BLDC_controller_c.html#fcn_Raw_Speed_calculation" TARGET="rtwreport_document_frame">Reusable Function(S29)</A>
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<FONT COLOR="green">normal</FONT>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:124')" name="code2model" class="code2model"><S69></a>
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
Auto
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<A HREF="BLDC_controller_c.html#fcn_Raw_Speed_calculation" TARGET="rtwreport_document_frame">Reusable Function(S29)</A>
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<FONT COLOR="green">normal</FONT>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:285')" name="code2model" class="code2model"><S43></a>
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
Auto
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<A HREF="BLDC_controller_c.html#fcn_F03_01_Pure_Trapezoidal_Method" TARGET="rtwreport_document_frame">Reusable Function(S43)</A>
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<FONT COLOR="green">normal</FONT>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:285')" name="code2model" class="code2model"><S83></a>
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
Auto
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<A HREF="BLDC_controller_c.html#fcn_F03_01_Pure_Trapezoidal_Method" TARGET="rtwreport_document_frame">Reusable Function(S43)</A>
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<FONT COLOR="green">normal</FONT>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:305')" name="code2model" class="code2model"><S45></a>
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
Auto
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<A HREF="BLDC_controller_c.html#fcn_F03_02_Sinusoidal_Method" TARGET="rtwreport_document_frame">Reusable Function(S45)</A>
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<FONT COLOR="green">normal</FONT>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:305')" name="code2model" class="code2model"><S85></a>
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
Auto
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<A HREF="BLDC_controller_c.html#fcn_F03_02_Sinusoidal_Method" TARGET="rtwreport_document_frame">Reusable Function(S45)</A>
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<FONT COLOR="green">normal</FONT>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:295')" name="code2model" class="code2model"><S44></a>
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
Auto
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<A HREF="BLDC_controller_c.html#fcn_F03_02_Sinusoidal3rd_Method" TARGET="rtwreport_document_frame">Reusable Function(S44)</A>
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<FONT COLOR="green">normal</FONT>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:295')" name="code2model" class="code2model"><S84></a>
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
Auto
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<A HREF="BLDC_controller_c.html#fcn_F03_02_Sinusoidal3rd_Method" TARGET="rtwreport_document_frame">Reusable Function(S44)</A>
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<FONT COLOR="green">normal</FONT>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:215')" name="code2model" class="code2model"><S13></a>
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
Auto
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<A HREF="BLDC_controller_c.html#fcn_F02_Electrical_Angle_Calculatio" TARGET="rtwreport_document_frame">Reusable Function(S13)</A>
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<FONT COLOR="green">normal</FONT>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:215')" name="code2model" class="code2model"><S53></a>
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
Auto
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<A HREF="BLDC_controller_c.html#fcn_F02_Electrical_Angle_Calculatio" TARGET="rtwreport_document_frame">Reusable Function(S13)</A>
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<FONT COLOR="green">normal</FONT>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2530:588')" name="code2model" class="code2model"><S31></a>
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
Function
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<A HREF="BLDC_controller_c.html#fcn_rising_edge" TARGET="rtwreport_document_frame">Function(S31)</A>
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<FONT COLOR="green">normal</FONT>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:2531:588')" name="code2model" class="code2model"><S71></a>
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
Function
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<A HREF="BLDC_controller_c.html#fcn_rising_edge_f" TARGET="rtwreport_document_frame">Function(S71)</A>
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<FONT COLOR="green">normal</FONT>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td align="left" valign="top">
|
||||
<a href="matlab:coder.internal.code2model('BLDCmotorControl_R2017b:29')" name="code2model" class="code2model"><S1></a>
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
Inline
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
Inline
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<FONT COLOR="green">normal</FONT>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
<h3 name="sec_Code_Reuse_Exceptions" id="sec_Code_Reuse_Exceptions">
|
||||
2. Code Reuse Exceptions <span title="Click to shrink or expand section" style="cursor:pointer;font-weight:normal;" id="rtwIdSubsystem_table_002_control" onclick ="if (top) if (top.rtwTableShrink) top.rtwTableShrink(window.document, this, 'rtwIdSubsystem_table_002', false)"><span class="shrink-button">[<u>hide</u>]</span></span>
|
||||
</h3>
|
||||
<table width="100%" name="rtwIdSubsystem_table_002" id="rtwIdSubsystem_table_002" border="0">
|
||||
<tr>
|
||||
<td align="left" valign="top">
|
||||
<p>
|
||||
The following section provides details on each exception that caused a non-virtual subsystem with a function packaging setting of<br /><ul>
|
||||
<li>
|
||||
'Auto' to become an inlined code segment,
|
||||
</li>
|
||||
<li>
|
||||
'Auto' to become a non-reusable function without arguments, or
|
||||
</li>
|
||||
<li>
|
||||
'Reusable function' to become a non-reusable function without arguments.
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
<b>Note:</b>This section does not report graphically identical non-virtual subsystems marked as 'Auto' that were not reused due to differences in their functional properties (such as dimensions, datatypes, work vectors, parameters, etc.). You may identify reasons for non-reuse in such cases by inspecting the differences in the functional attributes of the subsystems in the model or in the inlined generated code.
|
||||
</p>
|
||||
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="left" valign="top">
|
||||
<br /><b>No reuse exception in model</b>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
@ -0,0 +1,189 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><link rel="stylesheet" type="text/css" href="rtwreport.css" /><script language="JavaScript" type="text/javascript" src="rtwreport_utils.js"></script>
|
||||
<script language="JavaScript" type="text/javascript" src="rtwcodemetricsreport_utils.js"></script>
|
||||
<script language="JavaScript" id="metrics.js" type="text/javascript" src="metrics.js"></script>
|
||||
<title>
|
||||
Code Generation Report for 'BLDC_controller'
|
||||
</title>
|
||||
|
||||
</head>
|
||||
<body onload="try {if (top) {if (top.rtwPageOnLoad) top.rtwPageOnLoad('rtwIdSummaryPage'); else local_onload();}} catch(err) {};">
|
||||
<h1>
|
||||
Code Generation Report for 'BLDC_controller'
|
||||
</h1>
|
||||
<div>
|
||||
|
||||
</div>
|
||||
<div>
|
||||
|
||||
</div>
|
||||
<h3 name="sec_Model_Information" id="sec_Model_Information">
|
||||
Model Information
|
||||
</h3>
|
||||
<table width="100%" border="0">
|
||||
<tr>
|
||||
<td align="left" valign="top">
|
||||
<p>
|
||||
<table class="AltRow" cellspacing="0">
|
||||
<tr class="even">
|
||||
<td align="left" valign="top">
|
||||
Author
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
MathWorks
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td align="left" valign="top">
|
||||
Model Version
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
1.800
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td align="left" valign="top">
|
||||
Tasking Mode
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
MultiTasking
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
<br /><a href="../../slprj/ert/BLDC_controller/tmwinternal/binfo.mat?BLDC_controller" id="linkToCS" style="display:none">
|
||||
Configuration settings at time of code generation
|
||||
</a>
|
||||
<span style="" id="linkToCS_disabled" title="Link to configuration set is only available in MATLAB browser">
|
||||
Configuration settings at time of code generation
|
||||
</span>
|
||||
|
||||
</p>
|
||||
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
<h3 name="sec_Code_Information" id="sec_Code_Information">
|
||||
Code Information
|
||||
</h3>
|
||||
<table width="100%" border="0">
|
||||
<tr>
|
||||
<td align="left" valign="top">
|
||||
<p>
|
||||
<table class="AltRow" cellspacing="0">
|
||||
<tr class="even">
|
||||
<td align="left" valign="top">
|
||||
System Target File
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
ert.tlc
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td align="left" valign="top">
|
||||
Hardware Device Type
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
ARM Compatible->ARM Cortex
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td align="left" valign="top">
|
||||
Simulink Coder Version
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
8.13 (R2017b) 24-Jul-2017
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td align="left" valign="top">
|
||||
Timestamp of Generated Source Code
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
Sat May 25 21:42:39 2019
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td align="left" valign="top">
|
||||
<span id="sourceLocationTitle" style="display:none">Location of Generated Source Code</span>
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<span id="sourceLocation" style="display:none"><script>document.write(top.getCodeLocation())</script></span>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td align="left" valign="top">
|
||||
Type of Build
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
Subsystem
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="even">
|
||||
<td align="left" valign="top">
|
||||
<span id="metricsLocationTitle"> Memory Information </span>
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<span id="metricsLocation"><script>document.write("Code Metrics not yet available"); getCodeMetricsByPolling();</script></span>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<tr class="odd">
|
||||
<td align="left" valign="top">
|
||||
Objectives Specified
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
<span style="color:black">Execution efficiency, RAM efficiency</span>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
</p>
|
||||
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
<h3 name="sec_Additional_Information" id="sec_Additional_Information">
|
||||
Additional Information
|
||||
</h3>
|
||||
<table width="100%" border="0">
|
||||
<tr>
|
||||
<td align="left" valign="top">
|
||||
<table class="AltRow" cellspacing="0">
|
||||
<tr class="even">
|
||||
<td align="left" valign="top">
|
||||
Code Generation Advisor
|
||||
</td>
|
||||
<td align="left" valign="top">
|
||||
Not run
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
3000
01_Matlab/BLDC_controller_ert_rtw/html/BLDC_controller_traceInfo.js
Normal file
BIN
01_Matlab/BLDC_controller_ert_rtw/html/codeMetrics.mat
Normal file
10
01_Matlab/BLDC_controller_ert_rtw/html/contents_file.tmp
Normal file
@ -0,0 +1,10 @@
|
||||
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="4" WIDTH="100%%" BGCOLOR="#ffffff"><TR><TD>
|
||||
<B>Generated Source Files</B>
|
||||
</TD></TR><TR></TR>
|
||||
<tr><td><a href="D:\Work_home\Projects_STM32\01_Motor_control\BLDC_controller_ert_rtw\html\ert_main_c.html" onclick="if (top) if (top.tocHiliteMe) top.tocHiliteMe(window, this, false);" id="D:\Work_home\Projects_STM32\01_Motor_control\BLDC_controller_ert_rtw\html\ert_main_c.html" target="rtwreport_document_frame" name="rtwIdGenFileLinks">ert_main.c</a><span> </span></td></tr><tr></tr>
|
||||
<tr><td><a href="D:\Work_home\Projects_STM32\01_Motor_control\BLDC_controller_ert_rtw\html\BLDC_controller_c.html" onclick="if (top) if (top.tocHiliteMe) top.tocHiliteMe(window, this, false);" id="D:\Work_home\Projects_STM32\01_Motor_control\BLDC_controller_ert_rtw\html\BLDC_controller_c.html" target="rtwreport_document_frame" name="rtwIdGenFileLinks">BLDC_controller.c</a><span> </span></td></tr><tr></tr>
|
||||
<tr><td><a href="D:\Work_home\Projects_STM32\01_Motor_control\BLDC_controller_ert_rtw\html\BLDC_controller_h.html" onclick="if (top) if (top.tocHiliteMe) top.tocHiliteMe(window, this, false);" id="D:\Work_home\Projects_STM32\01_Motor_control\BLDC_controller_ert_rtw\html\BLDC_controller_h.html" target="rtwreport_document_frame" name="rtwIdGenFileLinks">BLDC_controller.h</a><span> </span></td></tr><tr></tr>
|
||||
<tr><td><a href="D:\Work_home\Projects_STM32\01_Motor_control\BLDC_controller_ert_rtw\html\BLDC_controller_data_c.html" onclick="if (top) if (top.tocHiliteMe) top.tocHiliteMe(window, this, false);" id="D:\Work_home\Projects_STM32\01_Motor_control\BLDC_controller_ert_rtw\html\BLDC_controller_data_c.html" target="rtwreport_document_frame" name="rtwIdGenFileLinks">BLDC_controller_data.c</a><span> </span></td></tr><tr></tr>
|
||||
<tr><td><a href="D:\Work_home\Projects_STM32\01_Motor_control\BLDC_controller_ert_rtw\html\rtwtypes_h.html" onclick="if (top) if (top.tocHiliteMe) top.tocHiliteMe(window, this, false);" id="D:\Work_home\Projects_STM32\01_Motor_control\BLDC_controller_ert_rtw\html\rtwtypes_h.html" target="rtwreport_document_frame" name="rtwIdGenFileLinks">rtwtypes.h</a><span> </span></td></tr><tr></tr>
|
||||
<tr><td><a href="D:\Work_home\Projects_STM32\01_Motor_control\BLDC_controller_ert_rtw\html\zero_crossing_types_h.html" onclick="if (top) if (top.tocHiliteMe) top.tocHiliteMe(window, this, false);" id="D:\Work_home\Projects_STM32\01_Motor_control\BLDC_controller_ert_rtw\html\zero_crossing_types_h.html" target="rtwreport_document_frame" name="rtwIdGenFileLinks">zero_crossing_types.h</a><span> </span></td></tr><tr></tr>
|
||||
</table>
|
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"];
|
136
01_Matlab/BLDC_controller_ert_rtw/html/ert_main_c.html
Normal file
@ -0,0 +1,136 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
||||
<title>RTW Report - ert_main.c</title>
|
||||
<link rel="stylesheet" type="text/css" href="rtwreport.css"></link><script language="JavaScript" type="text/javascript" src="rtwreport_utils.js"></script>
|
||||
<SCRIPT type="text/javascript" language="JavaScript" src="slwebview.js"></SCRIPT>
|
||||
<SCRIPT type="text/javascript" language="JavaScript" src="id_mapping.js"></SCRIPT>
|
||||
<SCRIPT type="text/javascript" src="rtwannotate.js"></SCRIPT>
|
||||
</head>
|
||||
<body bgcolor="#eeeeee" onload="try {if (top) { if (top.rtwFileOnLoad) top.rtwFileOnLoad(window.document); else local_onload();}} catch(err) {};if (typeof rtwannotate === 'function') {rtwannotate('ert_main_c_cov.xml');}">
|
||||
<p>
|
||||
<table border="0" cellspacing="0" cellpadding="6" width="100%%" height="100%%"><tr><td width="100%%" valign="top" bgcolor="#ffffff">
|
||||
<h4>File: <a href="../ert_main.c" target="rtwreport_document_frame" id="linkToText_plain">ert_main.c</a></h4>
|
||||
<pre id="RTWcode">
|
||||
<span><a class="LN" name="1"> 1 </a><span class="CT">/*</span>
|
||||
</span><span><a class="LN" name="2"> 2 </a><span class="CT"> * Academic License - for use in teaching, academic research, and meeting</span>
|
||||
</span><span><a class="LN" name="3"> 3 </a><span class="CT"> * course requirements at degree granting institutions only. Not for</span>
|
||||
</span><span><a class="LN" name="4"> 4 </a><span class="CT"> * government, commercial, or other organizational use.</span>
|
||||
</span><span><a class="LN" name="5"> 5 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="6"> 6 </a><span class="CT"> * File: ert_main.c</span>
|
||||
</span><span><a class="LN" name="7"> 7 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="8"> 8 </a><span class="CT"> * Code generated for Simulink model 'BLDC_controller'.</span>
|
||||
</span><span><a class="LN" name="9"> 9 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="10"> 10 </a><span class="CT"> * Model version : 1.800</span>
|
||||
</span><span><a class="LN" name="11"> 11 </a><span class="CT"> * Simulink Coder version : 8.13 (R2017b) 24-Jul-2017</span>
|
||||
</span><span><a class="LN" name="12"> 12 </a><span class="CT"> * C/C++ source code generated on : Sat May 25 21:42:39 2019</span>
|
||||
</span><span><a class="LN" name="13"> 13 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="14"> 14 </a><span class="CT"> * Target selection: ert.tlc</span>
|
||||
</span><span><a class="LN" name="15"> 15 </a><span class="CT"> * Embedded hardware selection: ARM Compatible->ARM Cortex</span>
|
||||
</span><span><a class="LN" name="16"> 16 </a><span class="CT"> * Emulation hardware selection:</span>
|
||||
</span><span><a class="LN" name="17"> 17 </a><span class="CT"> * Differs from embedded hardware (MATLAB Host)</span>
|
||||
</span><span><a class="LN" name="18"> 18 </a><span class="CT"> * Code generation objectives:</span>
|
||||
</span><span><a class="LN" name="19"> 19 </a><span class="CT"> * 1. Execution efficiency</span>
|
||||
</span><span><a class="LN" name="20"> 20 </a><span class="CT"> * 2. RAM efficiency</span>
|
||||
</span><span><a class="LN" name="21"> 21 </a><span class="CT"> * Validation result: Not run</span>
|
||||
</span><span><a class="LN" name="22"> 22 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="23"> 23 </a>
|
||||
</span><span><a class="LN" name="24"> 24 </a><font color="#992211">#</font><span class="PP">include</span> <font color="#992211"><stddef.h></font>
|
||||
</span><span><a class="LN" name="25"> 25 </a><font color="#992211">#</font><span class="PP">include</span> <font color="#992211"><stdio.h></font> <span class="CT">/* This ert_main.c example uses printf/fflush */</span>
|
||||
</span><span><a class="LN" name="26"> 26 </a><font color="#992211">#</font><span class="PP">include</span> <font color="#992211">"BLDC_controller.h"</font> <span class="CT">/* Model's header file */</span>
|
||||
</span><span><a class="LN" name="27"> 27 </a><font color="#992211">#</font><span class="PP">include</span> <font color="#992211">"rtwtypes.h"</font>
|
||||
</span><span><a class="LN" name="28"> 28 </a><font color="#992211">#</font><span class="PP">include</span> <font color="#992211">"zero_crossing_types.h"</font>
|
||||
</span><span><a class="LN" name="29"> 29 </a>
|
||||
</span><span><a class="LN" name="30"> 30 </a><span class="CT">/*</span>
|
||||
</span><span><a class="LN" name="31"> 31 </a><span class="CT"> * Associating rt_OneStep with a real-time clock or interrupt service routine</span>
|
||||
</span><span><a class="LN" name="32"> 32 </a><span class="CT"> * is what makes the generated code "real-time". The function rt_OneStep is</span>
|
||||
</span><span><a class="LN" name="33"> 33 </a><span class="CT"> * always associated with the base rate of the model. Subrates are managed</span>
|
||||
</span><span><a class="LN" name="34"> 34 </a><span class="CT"> * by the base rate from inside the generated code. Enabling/disabling</span>
|
||||
</span><span><a class="LN" name="35"> 35 </a><span class="CT"> * interrupts and floating point context switches are target specific. This</span>
|
||||
</span><span><a class="LN" name="36"> 36 </a><span class="CT"> * example code indicates where these should take place relative to executing</span>
|
||||
</span><span><a class="LN" name="37"> 37 </a><span class="CT"> * the generated code step function. Overrun behavior should be tailored to</span>
|
||||
</span><span><a class="LN" name="38"> 38 </a><span class="CT"> * your application needs. This example simply sets an error status in the</span>
|
||||
</span><span><a class="LN" name="39"> 39 </a><span class="CT"> * real-time model and returns from rt_OneStep.</span>
|
||||
</span><span><a class="LN" name="40"> 40 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="41"> 41 </a><span class="DT">void</span> <a href="#fcn_rt_OneStep" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'fcn_rt_OneStep');" target="_self"><font color="#1122aa">rt_OneStep</font></a>(<span class="DT">void</span>);
|
||||
</span><span><a class="LN" name="42"> 42 </a><span class="DT">void</span> <a name="fcn_rt_OneStep">rt_OneStep</a>(<span class="DT">void</span>)
|
||||
</span><span><a class="LN" name="43"> 43 </a><b>{</b>
|
||||
</span><span><a class="LN" name="44"> 44 </a> <span class="DT">static</span> <a href="rtwtypes_h.html#type_boolean_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_boolean_T');" target="_self"><font color="#1122aa">boolean_T</font></a> OverrunFlag = false;
|
||||
</span><span><a class="LN" name="45"> 45 </a>
|
||||
</span><span><a class="LN" name="46"> 46 </a> <span class="CT">/* Disable interrupts here */</span>
|
||||
</span><span><a class="LN" name="47"> 47 </a>
|
||||
</span><span><a class="LN" name="48"> 48 </a> <span class="CT">/* Check for overrun */</span>
|
||||
</span><span><a class="LN" name="49"> 49 </a> <span class="KW">if</span> (OverrunFlag) <b>{</b>
|
||||
</span><span><a class="LN" name="50"> 50 </a> <span class="KW">return</span>;
|
||||
</span><span><a class="LN" name="51"> 51 </a> <b>}</b>
|
||||
</span><span><a class="LN" name="52"> 52 </a>
|
||||
</span><span><a class="LN" name="53"> 53 </a> OverrunFlag = true;
|
||||
</span><span><a class="LN" name="54"> 54 </a>
|
||||
</span><span><a class="LN" name="55"> 55 </a> <span class="CT">/* Save FPU context here (if necessary) */</span>
|
||||
</span><span><a class="LN" name="56"> 56 </a> <span class="CT">/* Re-enable timer or interrupt here */</span>
|
||||
</span><span><a class="LN" name="57"> 57 </a> <span class="CT">/* Set model inputs here */</span>
|
||||
</span><span><a class="LN" name="58"> 58 </a>
|
||||
</span><span><a class="LN" name="59"> 59 </a> <span class="CT">/* Step the model */</span>
|
||||
</span><span><a class="LN" name="60"> 60 </a> <a href="BLDC_controller_c.html#fcn_BLDC_controller_step" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'fcn_BLDC_controller_step');" target="_self"><font color="#1122aa">BLDC_controller_step</font></a>();
|
||||
</span><span><a class="LN" name="61"> 61 </a>
|
||||
</span><span><a class="LN" name="62"> 62 </a> <span class="CT">/* Get model outputs here */</span>
|
||||
</span><span><a class="LN" name="63"> 63 </a>
|
||||
</span><span><a class="LN" name="64"> 64 </a> <span class="CT">/* Indicate task complete */</span>
|
||||
</span><span><a class="LN" name="65"> 65 </a> OverrunFlag = false;
|
||||
</span><span><a class="LN" name="66"> 66 </a>
|
||||
</span><span><a class="LN" name="67"> 67 </a> <span class="CT">/* Disable interrupts here */</span>
|
||||
</span><span><a class="LN" name="68"> 68 </a> <span class="CT">/* Restore FPU context here (if necessary) */</span>
|
||||
</span><span><a class="LN" name="69"> 69 </a> <span class="CT">/* Enable interrupts here */</span>
|
||||
</span><span><a class="LN" name="70"> 70 </a><b>}</b>
|
||||
</span><span><a class="LN" name="71"> 71 </a>
|
||||
</span><span><a class="LN" name="72"> 72 </a><span class="CT">/*</span>
|
||||
</span><span><a class="LN" name="73"> 73 </a><span class="CT"> * The example "main" function illustrates what is required by your</span>
|
||||
</span><span><a class="LN" name="74"> 74 </a><span class="CT"> * application code to initialize, execute, and terminate the generated code.</span>
|
||||
</span><span><a class="LN" name="75"> 75 </a><span class="CT"> * Attaching rt_OneStep to a real-time clock is target specific. This example</span>
|
||||
</span><span><a class="LN" name="76"> 76 </a><span class="CT"> * illustrates how you do this relative to initializing the model.</span>
|
||||
</span><span><a class="LN" name="77"> 77 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="78"> 78 </a><a href="rtwtypes_h.html#type_int_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int_T');" target="_self"><font color="#1122aa">int_T</font></a> <a name="fcn_main">main</a>(<a href="rtwtypes_h.html#type_int_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int_T');" target="_self"><font color="#1122aa">int_T</font></a> argc, <span class="DT">const</span> <span class="DT">char</span> *argv[])
|
||||
</span><span><a class="LN" name="79"> 79 </a><b>{</b>
|
||||
</span><span><a class="LN" name="80"> 80 </a> <span class="CT">/* Unused arguments */</span>
|
||||
</span><span><a class="LN" name="81"> 81 </a> (<span class="DT">void</span>)(argc);
|
||||
</span><span><a class="LN" name="82"> 82 </a> (<span class="DT">void</span>)(argv);
|
||||
</span><span><a class="LN" name="83"> 83 </a>
|
||||
</span><span><a class="LN" name="84"> 84 </a> <span class="CT">/* Initialize model */</span>
|
||||
</span><span><a class="LN" name="85"> 85 </a> <a href="BLDC_controller_c.html#fcn_BLDC_controller_initialize" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'fcn_BLDC_controller_initialize');" target="_self"><font color="#1122aa">BLDC_controller_initialize</font></a>();
|
||||
</span><span><a class="LN" name="86"> 86 </a>
|
||||
</span><span><a class="LN" name="87"> 87 </a> <span class="CT">/* Attach rt_OneStep to a timer or interrupt service routine with</span>
|
||||
</span><span><a class="LN" name="88"> 88 </a><span class="CT"> * period 1.0E-5 seconds (the model's base sample time) here. The</span>
|
||||
</span><span><a class="LN" name="89"> 89 </a><span class="CT"> * call syntax for rt_OneStep is</span>
|
||||
</span><span><a class="LN" name="90"> 90 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="91"> 91 </a><span class="CT"> * rt_OneStep();</span>
|
||||
</span><span><a class="LN" name="92"> 92 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="93"> 93 </a> printf(<font color="#1122ff">"Warning: The simulation will run forever. "</font>
|
||||
</span><span><a class="LN" name="94"> 94 </a> <font color="#1122ff">"Generated ERT main won't simulate model step behavior. "</font>
|
||||
</span><span><a class="LN" name="95"> 95 </a> <font color="#1122ff">"To change this behavior select the 'MAT-file logging' option.\n"</font>);
|
||||
</span><span><a class="LN" name="96"> 96 </a> fflush((NULL));
|
||||
</span><span><a class="LN" name="97"> 97 </a> <span class="KW">while</span> (1) <b>{</b>
|
||||
</span><span><a class="LN" name="98"> 98 </a> <span class="CT">/* Perform other application tasks here */</span>
|
||||
</span><span><a class="LN" name="99"> 99 </a> <b>}</b>
|
||||
</span><span><a class="LN" name="100"> 100 </a>
|
||||
</span><span><a class="LN" name="101"> 101 </a> <span class="CT">/* The option 'Remove error status field in real-time model data structure'</span>
|
||||
</span><span><a class="LN" name="102"> 102 </a><span class="CT"> * is selected, therefore the following code does not need to execute.</span>
|
||||
</span><span><a class="LN" name="103"> 103 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="104"> 104 </a><font color="#992211">#</font><span class="PP">if</span> 0
|
||||
</span><span><a class="LN" name="105"> 105 </a>
|
||||
</span><span><a class="LN" name="106"> 106 </a> <span class="CT">/* Disable rt_OneStep() here */</span>
|
||||
</span><span><a class="LN" name="107"> 107 </a><font color="#992211">#</font><span class="PP">endif</span>
|
||||
</span><span><a class="LN" name="108"> 108 </a>
|
||||
</span><span><a class="LN" name="109"> 109 </a> <span class="KW">return</span> 0;
|
||||
</span><span><a class="LN" name="110"> 110 </a><b>}</b>
|
||||
</span><span><a class="LN" name="111"> 111 </a>
|
||||
</span><span><a class="LN" name="112"> 112 </a><span class="CT">/*</span>
|
||||
</span><span><a class="LN" name="113"> 113 </a><span class="CT"> * File trailer for generated code.</span>
|
||||
</span><span><a class="LN" name="114"> 114 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="115"> 115 </a><span class="CT"> * [EOF]</span>
|
||||
</span><span><a class="LN" name="116"> 116 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="117"> 117 </a>
|
||||
</span></pre>
|
||||
</td></tr></table>
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
BIN
01_Matlab/BLDC_controller_ert_rtw/html/help.png
Normal file
After Width: | Height: | Size: 3.6 KiB |
BIN
01_Matlab/BLDC_controller_ert_rtw/html/hilite_warning.png
Normal file
After Width: | Height: | Size: 2.9 KiB |
33
01_Matlab/BLDC_controller_ert_rtw/html/inspect.html
Normal file
@ -0,0 +1,33 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" type="text/css" href="rtwreport.css" />
|
||||
<link rel="stylesheet" type="text/css" href="css/coder_app.css" />
|
||||
<style type="text/css">
|
||||
div#popup_window {
|
||||
position: relative;
|
||||
background-color: ghostwhite;
|
||||
border-radius: 0px;
|
||||
-moz-box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
div#popup_window a {
|
||||
text-decoration: underline;
|
||||
color: blue;
|
||||
}
|
||||
div#token_usage_nav {
|
||||
border-bottom: none;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body class="inspect_body">
|
||||
<table width="100%">
|
||||
<col style="width: 95%;"><col style="width: 5%">
|
||||
<tr><td><div id="popup_window"></div></td>
|
||||
<td align="right"><div><a onclick="top.closeInspectWindow();" class="closeButton">x</a></div></td>
|
||||
</tr>
|
||||
</table></body></html>
|
||||
|
||||
<!-- LocalWords: ghostwhite
|
||||
-->
|
81
01_Matlab/BLDC_controller_ert_rtw/html/metrics.js
Normal file
@ -0,0 +1,81 @@
|
||||
function CodeMetrics() {
|
||||
this.metricsArray = {};
|
||||
this.metricsArray.var = new Array();
|
||||
this.metricsArray.fcn = new Array();
|
||||
this.metricsArray.var["rtDW"] = {file: "D:\\Work_home\\Projects_STM32\\01_Motor_control\\BLDC_controller_ert_rtw\\BLDC_controller.c",
|
||||
size: 88};
|
||||
this.metricsArray.var["rtP"] = {file: "D:\\Work_home\\Projects_STM32\\01_Motor_control\\BLDC_controller_ert_rtw\\BLDC_controller_data.c",
|
||||
size: 91};
|
||||
this.metricsArray.var["rtPrevZCX"] = {file: "D:\\Work_home\\Projects_STM32\\01_Motor_control\\BLDC_controller_ert_rtw\\BLDC_controller.c",
|
||||
size: 4};
|
||||
this.metricsArray.var["rtU"] = {file: "D:\\Work_home\\Projects_STM32\\01_Motor_control\\BLDC_controller_ert_rtw\\BLDC_controller.c",
|
||||
size: 14};
|
||||
this.metricsArray.var["rtY"] = {file: "D:\\Work_home\\Projects_STM32\\01_Motor_control\\BLDC_controller_ert_rtw\\BLDC_controller.c",
|
||||
size: 40};
|
||||
this.metricsArray.fcn["BLDC_controller.c:Edge_counter"] = {file: "D:\\Work_home\\Projects_STM32\\01_Motor_control\\BLDC_controller_ert_rtw\\BLDC_controller.c",
|
||||
stack: 2,
|
||||
stackTotal: 2};
|
||||
this.metricsArray.fcn["BLDC_controller.c:Edge_counter_Disable"] = {file: "D:\\Work_home\\Projects_STM32\\01_Motor_control\\BLDC_controller_ert_rtw\\BLDC_controller.c",
|
||||
stack: 0,
|
||||
stackTotal: 0};
|
||||
this.metricsArray.fcn["BLDC_controller.c:Edge_counter_Reset"] = {file: "D:\\Work_home\\Projects_STM32\\01_Motor_control\\BLDC_controller_ert_rtw\\BLDC_controller.c",
|
||||
stack: 0,
|
||||
stackTotal: 0};
|
||||
this.metricsArray.fcn["BLDC_controller.c:F01_03_Direction_Detection"] = {file: "D:\\Work_home\\Projects_STM32\\01_Motor_control\\BLDC_controller_ert_rtw\\BLDC_controller.c",
|
||||
stack: 1,
|
||||
stackTotal: 1};
|
||||
this.metricsArray.fcn["BLDC_controller.c:F02_Electrical_Angle_Ca_Disable"] = {file: "D:\\Work_home\\Projects_STM32\\01_Motor_control\\BLDC_controller_ert_rtw\\BLDC_controller.c",
|
||||
stack: 0,
|
||||
stackTotal: 0};
|
||||
this.metricsArray.fcn["BLDC_controller.c:F02_Electrical_Angle_Calculatio"] = {file: "D:\\Work_home\\Projects_STM32\\01_Motor_control\\BLDC_controller_ert_rtw\\BLDC_controller.c",
|
||||
stack: 11,
|
||||
stackTotal: 20};
|
||||
this.metricsArray.fcn["BLDC_controller.c:F03_01_Pure_Trapezoidal_Method"] = {file: "D:\\Work_home\\Projects_STM32\\01_Motor_control\\BLDC_controller_ert_rtw\\BLDC_controller.c",
|
||||
stack: 5,
|
||||
stackTotal: 14};
|
||||
this.metricsArray.fcn["BLDC_controller.c:F03_02_Sinusoidal3rd_Method"] = {file: "D:\\Work_home\\Projects_STM32\\01_Motor_control\\BLDC_controller_ert_rtw\\BLDC_controller.c",
|
||||
stack: 5,
|
||||
stackTotal: 14};
|
||||
this.metricsArray.fcn["BLDC_controller.c:F03_02_Sinusoidal_Method"] = {file: "D:\\Work_home\\Projects_STM32\\01_Motor_control\\BLDC_controller_ert_rtw\\BLDC_controller.c",
|
||||
stack: 5,
|
||||
stackTotal: 14};
|
||||
this.metricsArray.fcn["BLDC_controller.c:Moving_Average_Filter"] = {file: "D:\\Work_home\\Projects_STM32\\01_Motor_control\\BLDC_controller_ert_rtw\\BLDC_controller.c",
|
||||
stack: 4,
|
||||
stackTotal: 4};
|
||||
this.metricsArray.fcn["BLDC_controller.c:Raw_Speed_calculation"] = {file: "D:\\Work_home\\Projects_STM32\\01_Motor_control\\BLDC_controller_ert_rtw\\BLDC_controller.c",
|
||||
stack: 4,
|
||||
stackTotal: 4};
|
||||
this.metricsArray.fcn["BLDC_controller.c:div_nde_s32_floor"] = {file: "D:\\Work_home\\Projects_STM32\\01_Motor_control\\BLDC_controller_ert_rtw\\BLDC_controller.c",
|
||||
stack: 0,
|
||||
stackTotal: 0};
|
||||
this.metricsArray.fcn["BLDC_controller.c:intrp1d_s16s32s32u8u32n31l_s"] = {file: "D:\\Work_home\\Projects_STM32\\01_Motor_control\\BLDC_controller_ert_rtw\\BLDC_controller.c",
|
||||
stack: 4,
|
||||
stackTotal: 4};
|
||||
this.metricsArray.fcn["BLDC_controller.c:plook_u8s32u32n31_evenc_s"] = {file: "D:\\Work_home\\Projects_STM32\\01_Motor_control\\BLDC_controller_ert_rtw\\BLDC_controller.c",
|
||||
stack: 9,
|
||||
stackTotal: 9};
|
||||
this.metricsArray.fcn["BLDC_controller.c:rising_edge"] = {file: "D:\\Work_home\\Projects_STM32\\01_Motor_control\\BLDC_controller_ert_rtw\\BLDC_controller.c",
|
||||
stack: 0,
|
||||
stackTotal: 0};
|
||||
this.metricsArray.fcn["BLDC_controller.c:rising_edge_f"] = {file: "D:\\Work_home\\Projects_STM32\\01_Motor_control\\BLDC_controller_ert_rtw\\BLDC_controller.c",
|
||||
stack: 0,
|
||||
stackTotal: 0};
|
||||
this.metricsArray.fcn["BLDC_controller_initialize"] = {file: "D:\\Work_home\\Projects_STM32\\01_Motor_control\\BLDC_controller_ert_rtw\\BLDC_controller.c",
|
||||
stack: 0,
|
||||
stackTotal: 0};
|
||||
this.metricsArray.fcn["BLDC_controller_step"] = {file: "D:\\Work_home\\Projects_STM32\\01_Motor_control\\BLDC_controller_ert_rtw\\BLDC_controller.c",
|
||||
stack: 32,
|
||||
stackTotal: 52};
|
||||
this.getMetrics = function(token) {
|
||||
var data;
|
||||
data = this.metricsArray.var[token];
|
||||
if (!data) {
|
||||
data = this.metricsArray.fcn[token];
|
||||
if (data) data.type = "fcn";
|
||||
} else {
|
||||
data.type = "var";
|
||||
}
|
||||
return data; };
|
||||
this.codeMetricsSummary = '<a href="BLDC_controller_metrics.html">Global Memory: 237(bytes) Maximum Stack: 32(bytes)</a>';
|
||||
}
|
||||
CodeMetrics.instance = new CodeMetrics();
|
14
01_Matlab/BLDC_controller_ert_rtw/html/nav.html
Normal file
@ -0,0 +1,14 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
</head>
|
||||
<style>
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0
|
||||
}
|
||||
</style>
|
||||
<body onresize="top.drawNavSideBar();" onload="top.drawNavSideBar();top.load_metrics();">
|
||||
<canvas id="canvas" title="navigate to highlighted lines"></canvas>
|
||||
</body>
|
||||
</html>
|
69
01_Matlab/BLDC_controller_ert_rtw/html/navToolbar.html
Normal file
@ -0,0 +1,69 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" type="text/css" href="rtwreport.css" />
|
||||
<link rel="stylesheet" type="text/css" href="css/coder_app.css" />
|
||||
<script>
|
||||
function NavOnloadFcn() {
|
||||
var node = document.getElementById("rtwIdTraceBlock");
|
||||
var td1 = document.getElementById("td1");
|
||||
if (node && top.RTW_TraceArgs.instance) {
|
||||
var sid = top.RTW_TraceArgs.instance.getBlock();
|
||||
if (sid) {
|
||||
if (top.RTW_TraceArgs.instance.getNumBlocks() === 1) {
|
||||
var block = sid;
|
||||
if (top.RTW_rtwnameSIDMap && top.RTW_rtwnameSIDMap.instance && top.RTW_rtwnameSIDMap.instance.getRtwname(sid)) {
|
||||
block = top.RTW_rtwnameSIDMap.instance.getRtwname(sid).rtwname;
|
||||
}
|
||||
if (block) {
|
||||
node.textContent = "'" + block + "'";
|
||||
}
|
||||
td1.className = "";
|
||||
} else {
|
||||
td1.innerHTML = "<b>Highlight code for selected blocks:</b>";
|
||||
}
|
||||
} else {
|
||||
td1.className = "hidden";
|
||||
}
|
||||
}
|
||||
if (top.RTW_TraceInfo && top.RTW_TraceInfo.instance) {
|
||||
top.RTW_TraceInfo.instance.updateNavState();
|
||||
}
|
||||
}
|
||||
function resize_text() {
|
||||
var node = document.getElementById("rtwIdTraceBlock");
|
||||
if (node) {
|
||||
node.style.maxWidth = "" + (window.innerWidth - 450) + "px";
|
||||
}
|
||||
top.resize_NavToolbar_frame();
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body class="nav_toolbar" onload="NavOnloadFcn(); resize_text();" onresize="resize_text();">
|
||||
<table class="nav_table" id="rtwIdTracePanel">
|
||||
<col style="width: 90%;">
|
||||
<col style="width: 150px;">
|
||||
<col style="width: 150px;">
|
||||
<tr>
|
||||
<td title="Navigation control for highlighted code" id="td1">
|
||||
<b>Highlight code for block:</b>
|
||||
<div id="rtwIdTraceBlock" style="overflow: hidden;text-overflow:ellipsis;white-space: nowrap"></div>
|
||||
</td>
|
||||
<td style="white-space:nowrap">
|
||||
<INPUT class="button" TYPE="button" VALUE="<<" style="width: 45px; height: 2em" ID="rtwIdButtonFirst" ONCLICK="if (top.rtwGoFirst) top.rtwGoFirst();" title="goto the first highlighted line" />
|
||||
<INPUT class="button" TYPE="button" VALUE="<" style="width: 45px; height: 2em" ID="rtwIdButtonPrev" ONCLICK="if (top.rtwGoPrev) top.rtwGoPrev();" disabled="disabled" title="goto the previous highlighted line"/>
|
||||
<span id="rtwIdTraceNumber"></span>
|
||||
<INPUT class="button" TYPE="button" VALUE=">" style="width: 45px; height: 2em" ID="rtwIdButtonNext" ONCLICK="if (top.rtwGoNext) top.rtwGoNext();" disabled="disabled" title="goto the next highlighted line"/>
|
||||
<INPUT class="button" TYPE="button" VALUE=">>" style="width: 45px; height: 2em" ID="rtwIdButtonLast" ONCLICK="if (top.rtwGoLast) top.rtwGoLast();" title="goto the last highlighted line" />
|
||||
</td>
|
||||
<td>
|
||||
<INPUT class="button" TYPE="button" VALUE="Remove Highlights" style="width: 150px; height: 2em" ID="rtwIdButtonRemove" ONCLICK="if (top.removeInCodeTraceHighlight()) top.removeInCodeTraceHighlight()" title="remove highlighted lines"/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
</table>
|
||||
|
||||
<!-- LocalWords: Onload px ONCLICK
|
||||
-->
|
@ -0,0 +1,49 @@
|
||||
// Copyright 2016 The MathWorks, Inc.
|
||||
|
||||
//Poll for metrics.js on 5 second intervals
|
||||
function getCodeMetricsByPolling(ctThreshold, intervalPeriod){
|
||||
if(ctThreshold === undefined){
|
||||
ctThreshold = 1000;
|
||||
}
|
||||
if(intervalPeriod === undefined){
|
||||
intervalPeriod = 5000;
|
||||
}
|
||||
var intervalId;
|
||||
var ct=0;
|
||||
//function to get code metrics
|
||||
function getCodeMetrics(){
|
||||
cm = CodeMetrics.instance;
|
||||
var alink = document.getElementById("metricsLocation");
|
||||
alink.innerHTML = cm.codeMetricsSummary;
|
||||
}
|
||||
if (typeof CodeMetrics !== "undefined"){
|
||||
getCodeMetrics();
|
||||
}
|
||||
else{
|
||||
intervalId = window.setInterval(function(){
|
||||
//Try reinclude metrics to check if CodeMetrics are available
|
||||
ct = ct + 1;
|
||||
if (ct > ctThreshold){
|
||||
// Clear if elapsed time is 1000x5 seconds
|
||||
clearInterval(intervalId);
|
||||
var alink = document.getElementById("metricsLocation");
|
||||
alink.innerHTML = 'Error generating code metrics';
|
||||
}
|
||||
else{
|
||||
var metricsScript = document.getElementById('metrics');
|
||||
if(metricsScript !== null){
|
||||
metricsScript.parentNode.removeChild(metricsScript);
|
||||
}
|
||||
var jsElm = document.createElement("script");
|
||||
jsElm.type = "application/javascript";
|
||||
jsElm.src = "metrics.js";
|
||||
jsElm.id = "metrics";
|
||||
document.getElementsByTagName('head')[0].appendChild(jsElm);
|
||||
if (typeof CodeMetrics !== "undefined"){
|
||||
clearInterval(intervalId);
|
||||
getCodeMetrics();
|
||||
}
|
||||
}
|
||||
}, intervalPeriod);
|
||||
}
|
||||
}
|
2049
01_Matlab/BLDC_controller_ert_rtw/html/rtwhilite.js
Normal file
7
01_Matlab/BLDC_controller_ert_rtw/html/rtwmsg.html
Normal file
@ -0,0 +1,7 @@
|
||||
<html><head><title>Block-to-Code Highlighting Message</title>
|
||||
<link rel="stylesheet" type="text/css" href="rtwreport.css" />
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
</head><body onload="if (top.rtwDisplayMessage) top.rtwDisplayMessage();">
|
||||
<h1>Block-to-Code Highlighting Message</h1>
|
||||
<p id="rtwMsg_notTraceable" style="display: none"><img src="hilite_warning.png" vspace="3px" align="top" />Code for '%s' cannot be traced because traceability information is not found.</p><p id="rtwMsg_virtualBlock" style="display: none"><img src="hilite_warning.png" vspace="3px" align="top" />'%s' is a virtual block. Code is not generated for virtual blocks.</p><p id="rtwMsg_reducedBlock" style="display: none"><img src="hilite_warning.png" vspace="3px" align="top" />'%s' is reduced during model compilation. Code is not generated for reduced blocks.</p><p id="rtwMsg_reusableFunction" style="display: none"><img src="hilite_warning.png" vspace="3px" align="top" />Code for '%s' is from reusable function and cannot be traced.</p><p id="rtwMsg_blockOutsideSystem" style="display: none"><img src="hilite_warning.png" vspace="3px" align="top" />'%s' is outside of source subsystem and cannot be traced.</p><p id="rtwMsg_illegalCharacter" style="display: none"><img src="hilite_warning.png" vspace="3px" align="top" />'%s' contains illegal character (single quote) that disables model-to-code navigation. Remove single quote from block name and rebuild model.</p><p id="rtwMsg_maskedSubSystem" style="display: none"><img src="hilite_warning.png" vspace="3px" align="top" />'%s' is a masked subsystem and cannot be traced at the subsystem block level. Traceability information is available for individual blocks under the mask.</p><p id="rtwMsg_noTraceForSelectedBlocks" style="display: none"><img src="hilite_warning.png" vspace="3px" align="top" />Traceability information is not available for the selected blocks.</p><p id="rtwMsg_CodeGenerationReducedBlock" style="display: none"><img src="hilite_warning.png" vspace="3px" align="top" />Block '%s' is eliminated by code generation optimization. Code is not generated for eliminated blocks.</p><p id="rtwMsg_SimulationReducedBlock" style="display: none"><img src="hilite_warning.png" vspace="3px" align="top" />Block '%s' is eliminated by Simulink block reduction. Code is not generated for eliminated blocks.</p><p id="rtwMsg_optimizedSfObject" style="display: none"><img src="hilite_warning.png" vspace="3px" align="top" />Stateflow object '%s' is eliminated by optimization. Code is not generated for eliminated Stateflow objects.</p>
|
||||
</body></html>
|
257
01_Matlab/BLDC_controller_ert_rtw/html/rtwreport.css
Normal file
@ -0,0 +1,257 @@
|
||||
/* Copyright 2011-2016 The MathWorks, Inc. */
|
||||
body,p,table {font-family: calibri, verdana, sans-serif;}
|
||||
button,.buton {font-family: calibri, verdana, sans-serif;}
|
||||
button,.button {font-size: small;}
|
||||
.small_font {font-size: small;}
|
||||
h1 { font-weight: normal; color: #000066; }
|
||||
td { vertical-align: top }
|
||||
th { background-color: #eeeeee; text-align: left; }
|
||||
a:link { color: #0033cc; }
|
||||
a:visited { color: #666666; }
|
||||
input { font-family: sans-serif, verdana, calibri; }
|
||||
table {
|
||||
background-color: #ffffff;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
table.toc, table.button, table.panel {
|
||||
border-style: none;
|
||||
}
|
||||
|
||||
/* LineNumber */
|
||||
.LN {
|
||||
font-style: italic;
|
||||
color: #888888;
|
||||
}
|
||||
|
||||
/* Comment */
|
||||
.CT {
|
||||
font-style: italic;
|
||||
color: #117755;
|
||||
}
|
||||
|
||||
/* PreProcessor */
|
||||
PP {
|
||||
/* font-weight: bold; */
|
||||
color: #992211;
|
||||
}
|
||||
|
||||
/* Keyword */
|
||||
.KW {
|
||||
/* font-weight: bold; */
|
||||
color: #0000FF;
|
||||
}
|
||||
|
||||
/* Datatype */
|
||||
.DT {
|
||||
/* font-weight: bold; */
|
||||
color: #112266
|
||||
}
|
||||
|
||||
.highlighted {
|
||||
background-color: yellow;
|
||||
}
|
||||
|
||||
.highlightedCurrent {
|
||||
background-color: #819FF7;
|
||||
}
|
||||
|
||||
input.search {
|
||||
background-color: #ffffff;
|
||||
}
|
||||
|
||||
input.failedSearch {
|
||||
background-color: #F78181;
|
||||
}
|
||||
|
||||
/* ensure that code2model links are comment green */
|
||||
a.code2model:link {
|
||||
color: #117755;
|
||||
font-style: italic;
|
||||
}
|
||||
a.code2model:visited{
|
||||
color: #117755;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.toc td, .button td, .panel td {
|
||||
border-style: none;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
h1 { font-weight: normal; color: #000066; }
|
||||
td { vertical-align: top }
|
||||
th { background-color: #eeeeee; text-align: left; }
|
||||
a:link { color: #0033cc; }
|
||||
a:visited { color: #666666; }
|
||||
|
||||
/******* table *******/
|
||||
/* default table style */
|
||||
table.AltRow {
|
||||
border-collapse: collapse; border: none; border-spacing: 0pt;
|
||||
border-top: solid #4F81BD 1.0pt; border-bottom: solid #4F81BD 1.0pt;
|
||||
}
|
||||
table.AltRow th, table.AltRow td { padding: 2pt 8pt 2pt 2pt }
|
||||
/* default alternating row style */
|
||||
table.AltRow tr.even td { background-color:#D3DFEE; border:none;}
|
||||
table.AltRow tr.odd td { background-color:#FFFFFF; border:none;}
|
||||
/* tr class="heading" */
|
||||
table.AltRow tr.heading td, table.AltRow th {
|
||||
background-color:#FFFFFF; font-weight:bold; border:none;
|
||||
border-bottom: solid #4F81BD 1.0pt;
|
||||
}
|
||||
/* table class="FirstColumn" */
|
||||
table.FirstColumn td:first-child { font-weight:bold }
|
||||
/* table class="TotalRow" */
|
||||
table.TotalRow tr:last-child { font-weight:bold }
|
||||
table.TotalRow tr:last-child td { border-top: solid #4F81BD 1.0pt }
|
||||
|
||||
a.closeButton {
|
||||
background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #f9f9f9), color-stop(1, #e9e9e9) );
|
||||
background:-moz-linear-gradient( center top, #f9f9f9 5%, #e9e9e9 100% );
|
||||
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f9f9f9', endColorstr='#e9e9e9');
|
||||
background-color:#f9f9f9;
|
||||
-webkit-border-top-left-radius:20px;
|
||||
-moz-border-radius-topleft:20px;
|
||||
border-top-left-radius:20px;
|
||||
-webkit-border-top-right-radius:20px;
|
||||
-moz-border-radius-topright:20px;
|
||||
border-top-right-radius:20px;
|
||||
-webkit-border-bottom-right-radius:20px;
|
||||
-moz-border-radius-bottomright:20px;
|
||||
border-bottom-right-radius:20px;
|
||||
-webkit-border-bottom-left-radius:20px;
|
||||
-moz-border-radius-bottomleft:20px;
|
||||
border-bottom-left-radius:20px;
|
||||
text-indent:0;
|
||||
border:2px solid #dcdcdc;
|
||||
display:inline-block;
|
||||
color:#454143;
|
||||
font-family:Arial;
|
||||
font-size:15px;
|
||||
font-weight:bold;
|
||||
font-style:normal;
|
||||
height:20px;
|
||||
line-height:20px;
|
||||
width:20px;
|
||||
text-decoration:none;
|
||||
text-align:center;
|
||||
cursor: pointer;
|
||||
}
|
||||
a.closeButton:hover {
|
||||
background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #e9e9e9), color-stop(1, #f9f9f9) );
|
||||
background:-moz-linear-gradient( center top, #e9e9e9 5%, #f9f9f9 100% );
|
||||
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#e9e9e9', endColorstr='#f9f9f9');
|
||||
background-color:#e9e9e9;
|
||||
}
|
||||
a.closeButton:active {
|
||||
position:relative;
|
||||
top:1px;
|
||||
}
|
||||
|
||||
.button {
|
||||
-moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
|
||||
-webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
|
||||
box-shadow:inset 0px 1px 0px 0px #ffffff;
|
||||
background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ededed), color-stop(1, #dfdfdf) );
|
||||
background:-moz-linear-gradient( center top, #ededed 5%, #dfdfdf 100% );
|
||||
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#dfdfdf');
|
||||
background-color:#ededed;
|
||||
-webkit-border-top-left-radius:5px;
|
||||
-moz-border-radius-topleft:5px;
|
||||
border-top-left-radius:5px;
|
||||
-webkit-border-top-right-radius:5px;
|
||||
-moz-border-radius-topright:5px;
|
||||
border-top-right-radius:5px;
|
||||
-webkit-border-bottom-right-radius:5px;
|
||||
-moz-border-radius-bottomright:5px;
|
||||
border-bottom-right-radius:5px;
|
||||
-webkit-border-bottom-left-radius:5px;
|
||||
-moz-border-radius-bottomleft:5px;
|
||||
border-bottom-left-radius:5px;
|
||||
text-indent:0px;
|
||||
border:1px solid #dcdcdc;
|
||||
display:inline-block;
|
||||
color:black;
|
||||
font-family:Arial;
|
||||
font-size:12px;
|
||||
font-weight:bold;
|
||||
font-style:normal;
|
||||
height:12px;
|
||||
line-height:12px;
|
||||
width:45px;
|
||||
text-decoration:none;
|
||||
text-align:center;
|
||||
text-shadow:1px 1px 0px #ffffff;
|
||||
}
|
||||
.button:hover {
|
||||
background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #dfdfdf), color-stop(1, #ededed) );
|
||||
background:-moz-linear-gradient( center top, #dfdfdf 5%, #ededed 100% );
|
||||
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#dfdfdf', endColorstr='#ededed');
|
||||
background-color:#dfdfdf;
|
||||
}.button:active {
|
||||
position:relative;
|
||||
top:1px;
|
||||
}.button:disabled {
|
||||
color:#777777;
|
||||
}
|
||||
|
||||
ul.nav_list {
|
||||
list-style-type:none;
|
||||
display: block;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
ul.nav_list li {
|
||||
list-style-type:none;
|
||||
display: inline;
|
||||
margin: 0 18px 0 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.nav_toolbar {
|
||||
background-color: #aff;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.inspect_body {
|
||||
margin: 0;
|
||||
margin-bottom: 0;
|
||||
display: inline;
|
||||
vertical-align:middle;
|
||||
}
|
||||
|
||||
table.nav_table {
|
||||
background-color: #aff;
|
||||
border: none;
|
||||
width: 100%;
|
||||
display: inline;
|
||||
vertical-align:middle;
|
||||
}
|
||||
|
||||
table#rtwIdTracePanel > tr > td {
|
||||
white-space: nowrap;
|
||||
table-layout:fixed;
|
||||
vertical-align:middle;
|
||||
}
|
||||
|
||||
table.nav_table > button {
|
||||
height: 20px;
|
||||
}
|
||||
select#fileSelector {
|
||||
padding: 5px;
|
||||
font-size: 16px;
|
||||
line-height: 1;
|
||||
border-radius: 0;
|
||||
height: 34px;
|
||||
}
|
||||
|
||||
.treeTable table{
|
||||
table-layout: fixed;
|
||||
}
|
||||
.treeTable td:first-child > span{
|
||||
display: inline-block;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
}
|
92
01_Matlab/BLDC_controller_ert_rtw/html/rtwreport_utils.js
Normal file
@ -0,0 +1,92 @@
|
||||
// Copyright 2011-2013 The MathWorks, Inc.
|
||||
|
||||
|
||||
function local_onload() {
|
||||
if (typeof top.rtwreport_document_frame !== "undefined") {
|
||||
var docObj = window.document;
|
||||
var alink = docObj.getElementById("linkToText_plain");
|
||||
if (alink) {
|
||||
alink.href = "matlab:coder.internal.editUrlTextFile('" + alink.href + "')";
|
||||
}
|
||||
alink = docObj.getElementById("linkToCS");
|
||||
if (alink) {
|
||||
alink.href = "matlab:coder.internal.viewCodeConfigsetFromReport('" + alink.href + "');";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
var utils = (function() {
|
||||
|
||||
// Load via Microsoft.XMLDOM--for older versions of IE
|
||||
function loadXML_MSXMLDOM(filename, callback, async) {
|
||||
if (navigator.appName == "Microsoft Internet Explorer") {
|
||||
// Internet Explorer 5/6
|
||||
try {
|
||||
var xmlDoc = new ActiveXObject("Microsoft.XMLDOM");
|
||||
xmlDoc.async = async;
|
||||
xmlDoc.onreadystatechange = function() {
|
||||
if (xmlDoc.readyState == 4) {
|
||||
callback(xmlDoc);
|
||||
}
|
||||
}
|
||||
xmlDoc.load(filename);
|
||||
return true;
|
||||
} catch(e) {
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// Load via XMLHttpRequest
|
||||
function loadXML_XHR(filename, callback, async) {
|
||||
if (window.XMLHttpRequest) {
|
||||
try {
|
||||
var xhr = new XMLHttpRequest();
|
||||
xhr.onreadystatechange = function() {
|
||||
if (this.readyState == 4) {
|
||||
callback(this.responseXML);
|
||||
}
|
||||
}
|
||||
xhr.open("GET", filename, async);
|
||||
xhr.send("");
|
||||
return true;
|
||||
} catch(e) {
|
||||
if (navigator.appName === "Netscape" && e.code === 1012) {
|
||||
// file not found: ignore
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
return {
|
||||
trimText: function(s) {
|
||||
// In IE9, String.trim not present
|
||||
if (s && s.trim) {
|
||||
return s.trim();
|
||||
}
|
||||
else {
|
||||
return s;
|
||||
}
|
||||
},
|
||||
getText: function(elt) {
|
||||
// In IE9, use 'text' property rather than 'textContent'
|
||||
return elt.textContent ? elt.textContent : elt.text;
|
||||
},
|
||||
loadXML: function(filename, callback, options) {
|
||||
var async = !!options && typeof(options["async"]) !== "undefined" ? options.async : true;
|
||||
if (!loadXML_XHR(filename, callback, async)) {
|
||||
if (!loadXML_MSXMLDOM(filename, callback, async)) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
};
|
||||
})();
|
||||
|
||||
function code2model(sid) {
|
||||
utils.loadXML("http://localhost:31415/matlab/feval/coder.internal.code2model?arguments=[\"" + sid + "\"]", function() {});
|
||||
//window.location.href = "matlab:coder.internal.code2model('" + sid + "')";
|
||||
}
|
202
01_Matlab/BLDC_controller_ert_rtw/html/rtwshrink.js
Normal file
@ -0,0 +1,202 @@
|
||||
// Copyright 2011-2012 The MathWorks, Inc.
|
||||
|
||||
function RTW_STRUCT(prop, value) {
|
||||
this.prop = prop;
|
||||
if (typeof(value) == 'undefined')
|
||||
this.value = "";
|
||||
else
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
// initialize the cache when code generation report is first loaded
|
||||
function RTW_BOOK()
|
||||
{
|
||||
this.length = 0;
|
||||
this.rtw_pages = new Array();
|
||||
this.getPage = function(file) {
|
||||
return this.rtw_pages[file];
|
||||
}
|
||||
this.addPage = function(file) {
|
||||
var page;
|
||||
if (this.hasPage(file)) {
|
||||
page = this.rtw_pages[file];
|
||||
} else {
|
||||
page = new RTW_PAGE(file);
|
||||
this.rtw_pages[file] = page;
|
||||
}
|
||||
return page;
|
||||
}
|
||||
this.hasPage = function(file) {
|
||||
return typeof(this.rtw_pages[file]) != 'undefined';
|
||||
}
|
||||
this.removePage = function(file)
|
||||
{
|
||||
var tmp;
|
||||
if (typeof(this.rtw_pages[file]) != 'undefined') {
|
||||
tmp = this.rtw_pages[file];
|
||||
delete this.rtw_pages[file];
|
||||
this.length--;
|
||||
}
|
||||
return tmp;
|
||||
}
|
||||
}
|
||||
|
||||
if (!RTW_BOOK.instance) {
|
||||
RTW_BOOK.instance = new RTW_BOOK();
|
||||
}
|
||||
|
||||
function RTW_PAGE()
|
||||
{
|
||||
this.length = 0;
|
||||
this.items = new Array();
|
||||
this.pagename = '';
|
||||
if (arguments.length > 0 && typeof(arguments[1])!='undefined') {
|
||||
this.pagename = arguments[1];
|
||||
}
|
||||
|
||||
this.getItem = function(id) {
|
||||
return this.items[id];
|
||||
}
|
||||
this.getItems = function() {
|
||||
return this.items;
|
||||
}
|
||||
this.addItem = function(id, value) {
|
||||
var tmp;
|
||||
if (typeof(value) != 'undefined') {
|
||||
if (typeof(this.items[id]) != 'undefined') {
|
||||
this.length++;
|
||||
} else {
|
||||
tmp = this.items[id];
|
||||
}
|
||||
this.items[id] = value;
|
||||
this.length++;
|
||||
}
|
||||
return tmp;
|
||||
}
|
||||
this.hasItem = function(id) {
|
||||
return typeof(this.items[id]) != 'undefined';
|
||||
}
|
||||
this.removeItem = function(id) {
|
||||
var tmp;
|
||||
if (typeof(this.items[id]) != 'undefined') {
|
||||
tmp = this.items[id];
|
||||
delete this.items[id];
|
||||
this.length--;
|
||||
}
|
||||
return tmp;
|
||||
}
|
||||
}
|
||||
|
||||
function rtwTableShrink(doc, obj, id, isSymbol){
|
||||
if (isSymbol) {
|
||||
hide = "[-]";
|
||||
hide_text = hide;
|
||||
show = "[+]";
|
||||
show_text = show;
|
||||
} else {
|
||||
hide = "[<u>hide</u>]";
|
||||
hide_text = "[hide]";
|
||||
show = "[<u>show</u>]";
|
||||
show_text = "[show]";
|
||||
}
|
||||
hide = "<span class='shrink-button'>" + hide + "</span>";
|
||||
show = "<span class='shrink-button'>" + show + "</span>";
|
||||
if (doc.getElementsByName) {
|
||||
var o = doc.getElementsByName(id);
|
||||
for (var oid = 0; oid < o.length; ++oid) {
|
||||
if (o[oid].style.display == "none") {
|
||||
o[oid].style.display = "";
|
||||
} else {
|
||||
o[oid].style.display = "none";
|
||||
}
|
||||
}
|
||||
if (o.length >= 0 && top && top.addToPage)
|
||||
top.addToPage(doc, o[0], 'display');
|
||||
}
|
||||
|
||||
// IE supports innerText while other browsers support textContent
|
||||
if (obj.textContent)
|
||||
var objText = obj.textContent;
|
||||
else
|
||||
var objText = obj.innerText;
|
||||
|
||||
if (objText.toLowerCase() == show_text.toLowerCase())
|
||||
obj.innerHTML = hide;
|
||||
else
|
||||
obj.innerHTML = show;
|
||||
|
||||
if (top && top.addToPage)
|
||||
top.addToPage(doc, obj, 'innerHTML');
|
||||
}
|
||||
|
||||
function rtwTableExpand(doc, controlObj, id)
|
||||
{
|
||||
if (doc.getElementById) {
|
||||
var obj = doc.getElementById(id);
|
||||
if (obj && obj.style.display == "none") {
|
||||
rtwTableShrink(doc, controlObj, id, false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function restoreState(docObj) {
|
||||
var filename = docObj.location.href;
|
||||
if (RTW_BOOK.instance && RTW_BOOK.instance.hasPage(filename)) {
|
||||
var page = RTW_BOOK.instance.getPage(filename);
|
||||
var items = page.getItems();
|
||||
var elem;
|
||||
if (docObj.getElementsByName) {
|
||||
for (var i in items) {
|
||||
o = docObj.getElementsByName(i);
|
||||
for (var oid = 0; oid < o.length; ++oid) {
|
||||
elem = o[oid];
|
||||
if (items[i].prop == 'display') {
|
||||
if (elem.style.display == 'none')
|
||||
elem.style.display = '';
|
||||
else
|
||||
elem.style.display = 'none';
|
||||
} else if (items[i].prop == 'innerHTML') {
|
||||
elem.innerHTML = items[i].value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function addToPage(docObj, Obj, prop) {
|
||||
var filename = docObj.location.href;
|
||||
if (RTW_BOOK.instance) {
|
||||
var page;
|
||||
if (RTW_BOOK.instance.hasPage(filename))
|
||||
page = RTW_BOOK.instance.getPage(filename);
|
||||
else
|
||||
page = RTW_BOOK.instance.addPage(filename);
|
||||
if (page.hasItem(Obj.id))
|
||||
page.removeItem(Obj.id);
|
||||
else {
|
||||
if (prop == "display")
|
||||
my_struct = new RTW_STRUCT(prop, Obj.style.display);
|
||||
else
|
||||
my_struct = new RTW_STRUCT(prop, Obj.innerHTML);
|
||||
page.addItem(Obj.id, my_struct);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function rtwSwitchView(doc, obj1, obj2) {
|
||||
if (doc.getElementsByName) {
|
||||
var o = doc.getElementsByName(obj1);
|
||||
for (var oid = 0; oid < o.length; ++oid) {
|
||||
o[oid].style.display = "none";
|
||||
}
|
||||
if (o.length >= 0 && top && top.addToPage)
|
||||
top.addToPage(doc, o[0], 'display');
|
||||
var o = doc.getElementsByName(obj2);
|
||||
for (var oid = 0; oid < o.length; ++oid) {
|
||||
o[oid].style.display = "";
|
||||
}
|
||||
if (o.length >= 0 && top && top.addToPage)
|
||||
top.addToPage(doc, o[0], 'display');
|
||||
}
|
||||
}
|
128
01_Matlab/BLDC_controller_ert_rtw/html/rtwtypes_h.html
Normal file
@ -0,0 +1,128 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
||||
<title>RTW Report - rtwtypes.h</title>
|
||||
<link rel="stylesheet" type="text/css" href="rtwreport.css"></link><script language="JavaScript" type="text/javascript" src="rtwreport_utils.js"></script>
|
||||
<SCRIPT type="text/javascript" language="JavaScript" src="slwebview.js"></SCRIPT>
|
||||
<SCRIPT type="text/javascript" language="JavaScript" src="id_mapping.js"></SCRIPT>
|
||||
<SCRIPT type="text/javascript" src="rtwannotate.js"></SCRIPT>
|
||||
</head>
|
||||
<body bgcolor="#eeeeee" onload="try {if (top) { if (top.rtwFileOnLoad) top.rtwFileOnLoad(window.document); else local_onload();}} catch(err) {};if (typeof rtwannotate === 'function') {rtwannotate('rtwtypes_h_cov.xml');}">
|
||||
<p>
|
||||
<table border="0" cellspacing="0" cellpadding="6" width="100%%" height="100%%"><tr><td width="100%%" valign="top" bgcolor="#ffffff">
|
||||
<h4>File: <a href="../rtwtypes.h" target="rtwreport_document_frame" id="linkToText_plain">rtwtypes.h</a></h4>
|
||||
<pre id="RTWcode">
|
||||
<span><a class="LN" name="1"> 1 </a><span class="CT">/*</span>
|
||||
</span><span><a class="LN" name="2"> 2 </a><span class="CT"> * Academic License - for use in teaching, academic research, and meeting</span>
|
||||
</span><span><a class="LN" name="3"> 3 </a><span class="CT"> * course requirements at degree granting institutions only. Not for</span>
|
||||
</span><span><a class="LN" name="4"> 4 </a><span class="CT"> * government, commercial, or other organizational use.</span>
|
||||
</span><span><a class="LN" name="5"> 5 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="6"> 6 </a><span class="CT"> * File: rtwtypes.h</span>
|
||||
</span><span><a class="LN" name="7"> 7 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="8"> 8 </a><span class="CT"> * Code generated for Simulink model 'BLDC_controller'.</span>
|
||||
</span><span><a class="LN" name="9"> 9 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="10"> 10 </a><span class="CT"> * Model version : 1.800</span>
|
||||
</span><span><a class="LN" name="11"> 11 </a><span class="CT"> * Simulink Coder version : 8.13 (R2017b) 24-Jul-2017</span>
|
||||
</span><span><a class="LN" name="12"> 12 </a><span class="CT"> * C/C++ source code generated on : Sat May 25 21:42:39 2019</span>
|
||||
</span><span><a class="LN" name="13"> 13 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="14"> 14 </a><span class="CT"> * Target selection: ert.tlc</span>
|
||||
</span><span><a class="LN" name="15"> 15 </a><span class="CT"> * Embedded hardware selection: ARM Compatible->ARM Cortex</span>
|
||||
</span><span><a class="LN" name="16"> 16 </a><span class="CT"> * Emulation hardware selection:</span>
|
||||
</span><span><a class="LN" name="17"> 17 </a><span class="CT"> * Differs from embedded hardware (MATLAB Host)</span>
|
||||
</span><span><a class="LN" name="18"> 18 </a><span class="CT"> * Code generation objectives:</span>
|
||||
</span><span><a class="LN" name="19"> 19 </a><span class="CT"> * 1. Execution efficiency</span>
|
||||
</span><span><a class="LN" name="20"> 20 </a><span class="CT"> * 2. RAM efficiency</span>
|
||||
</span><span><a class="LN" name="21"> 21 </a><span class="CT"> * Validation result: Not run</span>
|
||||
</span><span><a class="LN" name="22"> 22 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="23"> 23 </a>
|
||||
</span><span><a class="LN" name="24"> 24 </a><font color="#992211">#</font><span class="PP">ifndef</span> RTWTYPES_H
|
||||
</span><span><a class="LN" name="25"> 25 </a><font color="#992211">#</font><span class="PP">define</span> RTWTYPES_H
|
||||
</span><span><a class="LN" name="26"> 26 </a>
|
||||
</span><span><a class="LN" name="27"> 27 </a><span class="CT">/* Logical type definitions */</span>
|
||||
</span><span><a class="LN" name="28"> 28 </a><font color="#992211">#</font><span class="PP">if</span> (!<span class="PP">defined</span>(__cplusplus))
|
||||
</span><span><a class="LN" name="29"> 29 </a><font color="#992211">#</font> <span class="PP">ifndef</span> false
|
||||
</span><span><a class="LN" name="30"> 30 </a><font color="#992211">#</font> <span class="PP">define</span> false (0U)
|
||||
</span><span><a class="LN" name="31"> 31 </a><font color="#992211">#</font> <span class="PP">endif</span>
|
||||
</span><span><a class="LN" name="32"> 32 </a>
|
||||
</span><span><a class="LN" name="33"> 33 </a><font color="#992211">#</font> <span class="PP">ifndef</span> true
|
||||
</span><span><a class="LN" name="34"> 34 </a><font color="#992211">#</font> <span class="PP">define</span> true (1U)
|
||||
</span><span><a class="LN" name="35"> 35 </a><font color="#992211">#</font> <span class="PP">endif</span>
|
||||
</span><span><a class="LN" name="36"> 36 </a><font color="#992211">#</font><span class="PP">endif</span>
|
||||
</span><span><a class="LN" name="37"> 37 </a>
|
||||
</span><span><a class="LN" name="38"> 38 </a><span class="CT">/*=======================================================================*</span>
|
||||
</span><span><a class="LN" name="39"> 39 </a><span class="CT"> * Target hardware information</span>
|
||||
</span><span><a class="LN" name="40"> 40 </a><span class="CT"> * Device type: MATLAB Host</span>
|
||||
</span><span><a class="LN" name="41"> 41 </a><span class="CT"> * Number of bits: char: 8 short: 16 int: 32</span>
|
||||
</span><span><a class="LN" name="42"> 42 </a><span class="CT"> * long: 32 long long: 64</span>
|
||||
</span><span><a class="LN" name="43"> 43 </a><span class="CT"> * native word size: 64</span>
|
||||
</span><span><a class="LN" name="44"> 44 </a><span class="CT"> * Byte ordering: LittleEndian</span>
|
||||
</span><span><a class="LN" name="45"> 45 </a><span class="CT"> * Signed integer division rounds to: Zero</span>
|
||||
</span><span><a class="LN" name="46"> 46 </a><span class="CT"> * Shift right on a signed integer as arithmetic shift: on</span>
|
||||
</span><span><a class="LN" name="47"> 47 </a><span class="CT"> *=======================================================================*/</span>
|
||||
</span><span><a class="LN" name="48"> 48 </a>
|
||||
</span><span><a class="LN" name="49"> 49 </a><span class="CT">/*=======================================================================*</span>
|
||||
</span><span><a class="LN" name="50"> 50 </a><span class="CT"> * Fixed width word size data types: *</span>
|
||||
</span><span><a class="LN" name="51"> 51 </a><span class="CT"> * int8_T, int16_T, int32_T - signed 8, 16, or 32 bit integers *</span>
|
||||
</span><span><a class="LN" name="52"> 52 </a><span class="CT"> * uint8_T, uint16_T, uint32_T - unsigned 8, 16, or 32 bit integers *</span>
|
||||
</span><span><a class="LN" name="53"> 53 </a><span class="CT"> * real32_T, real64_T - 32 and 64 bit floating point numbers *</span>
|
||||
</span><span><a class="LN" name="54"> 54 </a><span class="CT"> *=======================================================================*/</span>
|
||||
</span><span><a class="LN" name="55"> 55 </a><span class="KW">typedef</span> <span class="DT">signed</span> <span class="DT">char</span> <a name="type_int8_T">int8_T</a>;
|
||||
</span><span><a class="LN" name="56"> 56 </a><span class="KW">typedef</span> <span class="DT">unsigned</span> <span class="DT">char</span> <a name="type_uint8_T">uint8_T</a>;
|
||||
</span><span><a class="LN" name="57"> 57 </a><span class="KW">typedef</span> <span class="DT">short</span> <a name="type_int16_T">int16_T</a>;
|
||||
</span><span><a class="LN" name="58"> 58 </a><span class="KW">typedef</span> <span class="DT">unsigned</span> <span class="DT">short</span> <a name="type_uint16_T">uint16_T</a>;
|
||||
</span><span><a class="LN" name="59"> 59 </a><span class="KW">typedef</span> <span class="DT">int</span> <a name="type_int32_T">int32_T</a>;
|
||||
</span><span><a class="LN" name="60"> 60 </a><span class="KW">typedef</span> <span class="DT">unsigned</span> <span class="DT">int</span> <a name="type_uint32_T">uint32_T</a>;
|
||||
</span><span><a class="LN" name="61"> 61 </a><span class="KW">typedef</span> <span class="DT">long</span> <span class="DT">long</span> <a name="type_int64_T">int64_T</a>;
|
||||
</span><span><a class="LN" name="62"> 62 </a><span class="KW">typedef</span> <span class="DT">unsigned</span> <span class="DT">long</span> <span class="DT">long</span> <a name="type_uint64_T">uint64_T</a>;
|
||||
</span><span><a class="LN" name="63"> 63 </a><span class="KW">typedef</span> <span class="DT">float</span> <a name="type_real32_T">real32_T</a>;
|
||||
</span><span><a class="LN" name="64"> 64 </a><span class="KW">typedef</span> <span class="DT">double</span> <a name="type_real64_T">real64_T</a>;
|
||||
</span><span><a class="LN" name="65"> 65 </a>
|
||||
</span><span><a class="LN" name="66"> 66 </a><span class="CT">/*===========================================================================*</span>
|
||||
</span><span><a class="LN" name="67"> 67 </a><span class="CT"> * Generic type definitions: boolean_T, char_T, byte_T, int_T, uint_T, *</span>
|
||||
</span><span><a class="LN" name="68"> 68 </a><span class="CT"> * real_T, time_T, ulong_T, ulonglong_T. *</span>
|
||||
</span><span><a class="LN" name="69"> 69 </a><span class="CT"> *===========================================================================*/</span>
|
||||
</span><span><a class="LN" name="70"> 70 </a><span class="KW">typedef</span> <span class="DT">double</span> <a name="type_real_T">real_T</a>;
|
||||
</span><span><a class="LN" name="71"> 71 </a><span class="KW">typedef</span> <span class="DT">double</span> <a name="type_time_T">time_T</a>;
|
||||
</span><span><a class="LN" name="72"> 72 </a><span class="KW">typedef</span> <span class="DT">unsigned</span> <span class="DT">char</span> <a name="type_boolean_T">boolean_T</a>;
|
||||
</span><span><a class="LN" name="73"> 73 </a><span class="KW">typedef</span> <span class="DT">int</span> <a name="type_int_T">int_T</a>;
|
||||
</span><span><a class="LN" name="74"> 74 </a><span class="KW">typedef</span> <span class="DT">unsigned</span> <span class="DT">int</span> <a name="type_uint_T">uint_T</a>;
|
||||
</span><span><a class="LN" name="75"> 75 </a><span class="KW">typedef</span> <span class="DT">unsigned</span> <span class="DT">long</span> <a name="type_ulong_T">ulong_T</a>;
|
||||
</span><span><a class="LN" name="76"> 76 </a><span class="KW">typedef</span> <span class="DT">unsigned</span> <span class="DT">long</span> <span class="DT">long</span> <a name="type_ulonglong_T">ulonglong_T</a>;
|
||||
</span><span><a class="LN" name="77"> 77 </a><span class="KW">typedef</span> <span class="DT">char</span> <a name="type_char_T">char_T</a>;
|
||||
</span><span><a class="LN" name="78"> 78 </a><span class="KW">typedef</span> <span class="DT">unsigned</span> <span class="DT">char</span> <a name="type_uchar_T">uchar_T</a>;
|
||||
</span><span><a class="LN" name="79"> 79 </a><span class="KW">typedef</span> <a href="#type_char_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_char_T');" target="_self"><font color="#1122aa">char_T</font></a> <a name="type_byte_T">byte_T</a>;
|
||||
</span><span><a class="LN" name="80"> 80 </a>
|
||||
</span><span><a class="LN" name="81"> 81 </a><span class="CT">/*=======================================================================*</span>
|
||||
</span><span><a class="LN" name="82"> 82 </a><span class="CT"> * Min and Max: *</span>
|
||||
</span><span><a class="LN" name="83"> 83 </a><span class="CT"> * int8_T, int16_T, int32_T - signed 8, 16, or 32 bit integers *</span>
|
||||
</span><span><a class="LN" name="84"> 84 </a><span class="CT"> * uint8_T, uint16_T, uint32_T - unsigned 8, 16, or 32 bit integers *</span>
|
||||
</span><span><a class="LN" name="85"> 85 </a><span class="CT"> *=======================================================================*/</span>
|
||||
</span><span><a class="LN" name="86"> 86 </a><font color="#992211">#</font><span class="PP">define</span> MAX_int8_T ((<a href="#type_int8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int8_T');" target="_self"><font color="#1122aa">int8_T</font></a>)(127))
|
||||
</span><span><a class="LN" name="87"> 87 </a><font color="#992211">#</font><span class="PP">define</span> MIN_int8_T ((<a href="#type_int8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int8_T');" target="_self"><font color="#1122aa">int8_T</font></a>)(-128))
|
||||
</span><span><a class="LN" name="88"> 88 </a><font color="#992211">#</font><span class="PP">define</span> MAX_uint8_T ((<a href="#type_uint8_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_uint8_T');" target="_self"><font color="#1122aa">uint8_T</font></a>)(255U))
|
||||
</span><span><a class="LN" name="89"> 89 </a><font color="#992211">#</font><span class="PP">define</span> MAX_int16_T ((<a href="#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a>)(32767))
|
||||
</span><span><a class="LN" name="90"> 90 </a><font color="#992211">#</font><span class="PP">define</span> MIN_int16_T ((<a href="#type_int16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int16_T');" target="_self"><font color="#1122aa">int16_T</font></a>)(-32768))
|
||||
</span><span><a class="LN" name="91"> 91 </a><font color="#992211">#</font><span class="PP">define</span> MAX_uint16_T ((<a href="#type_uint16_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_uint16_T');" target="_self"><font color="#1122aa">uint16_T</font></a>)(65535U))
|
||||
</span><span><a class="LN" name="92"> 92 </a><font color="#992211">#</font><span class="PP">define</span> MAX_int32_T ((<a href="#type_int32_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int32_T');" target="_self"><font color="#1122aa">int32_T</font></a>)(2147483647))
|
||||
</span><span><a class="LN" name="93"> 93 </a><font color="#992211">#</font><span class="PP">define</span> MIN_int32_T ((<a href="#type_int32_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int32_T');" target="_self"><font color="#1122aa">int32_T</font></a>)(-2147483647-1))
|
||||
</span><span><a class="LN" name="94"> 94 </a><font color="#992211">#</font><span class="PP">define</span> MAX_uint32_T ((<a href="#type_uint32_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_uint32_T');" target="_self"><font color="#1122aa">uint32_T</font></a>)(0xFFFFFFFFU))
|
||||
</span><span><a class="LN" name="95"> 95 </a><font color="#992211">#</font><span class="PP">define</span> MAX_int64_T ((<a href="#type_int64_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int64_T');" target="_self"><font color="#1122aa">int64_T</font></a>)(9223372036854775807LL))
|
||||
</span><span><a class="LN" name="96"> 96 </a><font color="#992211">#</font><span class="PP">define</span> MIN_int64_T ((<a href="#type_int64_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_int64_T');" target="_self"><font color="#1122aa">int64_T</font></a>)(-9223372036854775807LL-1LL))
|
||||
</span><span><a class="LN" name="97"> 97 </a><font color="#992211">#</font><span class="PP">define</span> MAX_uint64_T ((<a href="#type_uint64_T" onclick="if (top) if (top.docHiliteMe) top.docHiliteMe(window, 'type_uint64_T');" target="_self"><font color="#1122aa">uint64_T</font></a>)(0xFFFFFFFFFFFFFFFFULL))
|
||||
</span><span><a class="LN" name="98"> 98 </a>
|
||||
</span><span><a class="LN" name="99"> 99 </a><span class="CT">/* Block D-Work pointer type */</span>
|
||||
</span><span><a class="LN" name="100"> 100 </a><span class="KW">typedef</span> <span class="DT">void</span> * <a name="type_pointer_T">pointer_T</a>;
|
||||
</span><span><a class="LN" name="101"> 101 </a>
|
||||
</span><span><a class="LN" name="102"> 102 </a><font color="#992211">#</font><span class="PP">endif</span> <span class="CT">/* RTWTYPES_H */</span>
|
||||
</span><span><a class="LN" name="103"> 103 </a>
|
||||
</span><span><a class="LN" name="104"> 104 </a><span class="CT">/*</span>
|
||||
</span><span><a class="LN" name="105"> 105 </a><span class="CT"> * File trailer for generated code.</span>
|
||||
</span><span><a class="LN" name="106"> 106 </a><span class="CT"> *</span>
|
||||
</span><span><a class="LN" name="107"> 107 </a><span class="CT"> * [EOF]</span>
|
||||
</span><span><a class="LN" name="108"> 108 </a><span class="CT"> */</span>
|
||||
</span><span><a class="LN" name="109"> 109 </a>
|
||||
</span></pre>
|
||||
</td></tr></table>
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
559
01_Matlab/BLDC_controller_ert_rtw/html/search.js
Normal file
@ -0,0 +1,559 @@
|
||||
// Copyright 2007-2012 The MathWorks, Inc.
|
||||
|
||||
function createHighlightSpanStart(num)
|
||||
{
|
||||
return "<span class=\"highlighted\" name=\"highlight" + num + "\">";
|
||||
}
|
||||
|
||||
var str2pos; // This is a map between a tag stripped string and the original string.
|
||||
function getTagStrippedStringAndMap(aString)
|
||||
{
|
||||
var tagStrippedString = new String();
|
||||
|
||||
str2pos = new Array();
|
||||
|
||||
var inTag = false;
|
||||
var inScript = false;
|
||||
|
||||
for (var strPos = 0; strPos < aString.length; strPos++) {
|
||||
if (inTag && aString.charAt(strPos) == '>') {
|
||||
inTag = false;
|
||||
if (inScript && (strPos > 8) && (aString.slice(strPos, strPos - 8) == '/script>')) {
|
||||
inScript = false;
|
||||
}
|
||||
continue;
|
||||
} else if (!inTag && aString.charAt(strPos) == '<') {
|
||||
inTag = true;
|
||||
if (!inScript && aString.slice(strPos, strPos + 7) == '<script') {
|
||||
inScript = true;
|
||||
strPos += 7;
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
||||
if (inTag == false && inScript == false) {
|
||||
tagStrippedString += aString.charAt(strPos);
|
||||
str2pos.push(strPos);
|
||||
}
|
||||
}
|
||||
return tagStrippedString;
|
||||
}
|
||||
|
||||
function escapeSpecialChars(string)
|
||||
{
|
||||
// let the browser handle the escaping rather than doing a String.replace
|
||||
// call
|
||||
var div = document.createElement("div");
|
||||
var text = document.createTextNode(string);
|
||||
div.appendChild(text);
|
||||
var escapedString = div.innerHTML;
|
||||
delete div;
|
||||
return escapedString;
|
||||
}
|
||||
|
||||
// insert highlight tags into the body. Split it up into multiple sections if necessary
|
||||
// (i.e. if there is a tag in the middle).
|
||||
function insertHighlighting(bodyText, previ, i, length, highlightStartTag, highlightEndTag)
|
||||
{
|
||||
var newText = "";
|
||||
newText = bodyText.slice(previ, str2pos[i]);
|
||||
|
||||
// insert start
|
||||
newText += highlightStartTag;
|
||||
|
||||
var str2posprev = str2pos[i];
|
||||
// deal with intermediate tags
|
||||
for(var cnt = i; cnt < i+length; cnt++)
|
||||
{
|
||||
if (str2pos[cnt] > str2posprev+1) // we have jumped some text, so there must be a tag
|
||||
{
|
||||
// insert end tag
|
||||
newText += highlightEndTag;
|
||||
|
||||
// insert intermediate body text tags
|
||||
newText += bodyText.slice(str2posprev+1, str2pos[cnt]);
|
||||
|
||||
// insert start tag
|
||||
newText += highlightStartTag;
|
||||
}
|
||||
newText += bodyText.charAt(str2pos[cnt]);
|
||||
str2posprev=str2pos[cnt];
|
||||
}
|
||||
|
||||
// insert end
|
||||
newText += highlightEndTag;
|
||||
return newText;
|
||||
|
||||
}
|
||||
|
||||
// check to see if the sequence at position 'i' in taglessString is actually in
|
||||
// the middle of an escape sequence. We assume escape sequences follow the pattern
|
||||
// &<sequenceText>;. We check for , <, > and &
|
||||
function isInEscapedSequence(i, taglessString, searchTerm)
|
||||
{
|
||||
var escapeSeq = / |<|>|&/gi;
|
||||
var maxEscapeSeqLength = 6;
|
||||
var startPos = 0;
|
||||
var endPos = 0;
|
||||
|
||||
// exit if the search term has an escape sequence inside it
|
||||
if (escapeSeq.test(searchTerm)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// reset the escape sequence
|
||||
escapeSeq = / |<|>|&/gi;
|
||||
|
||||
// go back in the string until we find an ampersand or we hit maxEscapeSeqLength characters
|
||||
tempI = i;
|
||||
var bFound = false;
|
||||
while (tempI >= 0 && tempI > (i-maxEscapeSeqLength)) {
|
||||
if (taglessString.charAt(tempI) == "&") {
|
||||
startPos = tempI;
|
||||
bFound = true;
|
||||
break;
|
||||
}
|
||||
tempI = tempI-1;
|
||||
|
||||
// if we hit a ';' in any position other than the first while searching
|
||||
// for an ampersand, then we cannot be inside an escape sequence
|
||||
if (tempI >= 0 && taglessString.charAt(tempI) == ";") {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (!bFound) {
|
||||
return false;
|
||||
}
|
||||
// reset the escape sequence
|
||||
escapeSeq = / |<|>|&/gi;
|
||||
|
||||
var subString = taglessString.substring(startPos, startPos + maxEscapeSeqLength);
|
||||
return escapeSeq.test(subString);
|
||||
}
|
||||
|
||||
// Adds highlighting to bodyText around searchTerm. Case sensitivity is optional.
|
||||
// hitCount is used to a) count the number of search matches and b) Generate unique
|
||||
// name strings for each highlighting SPAN element.
|
||||
function addHighlight(bodyText, searchTerm, caseSensitive, hitCount)
|
||||
{
|
||||
var highlightStartTag = "";
|
||||
var highlightEndTag = "</span>";
|
||||
|
||||
var newText = "";
|
||||
var i = 0;
|
||||
var previ = 0;
|
||||
var bodyTextUC = bodyText.toUpperCase();
|
||||
|
||||
if (caseSensitive) {
|
||||
var taglessString = getTagStrippedStringAndMap(bodyText);
|
||||
} else {
|
||||
var taglessString = getTagStrippedStringAndMap(bodyTextUC);
|
||||
}
|
||||
|
||||
// escape the search term in case the user input '<' or '>' etc
|
||||
searchTerm = escapeSpecialChars(searchTerm);
|
||||
|
||||
if (!caseSensitive) {
|
||||
var searchTermUC = searchTerm.toUpperCase();
|
||||
}
|
||||
|
||||
// search for subsequent matches
|
||||
while (true) {
|
||||
if (caseSensitive) {
|
||||
i = taglessString.indexOf(searchTerm, i);
|
||||
} else {
|
||||
i = taglessString.indexOf(searchTermUC, i);
|
||||
}
|
||||
if (i < 0) break;
|
||||
|
||||
// we have a match!
|
||||
|
||||
// make sure that the match is not inside an escaped sequence of text
|
||||
// such as
|
||||
if (isInEscapedSequence(i, taglessString, searchTerm)) {
|
||||
i=i+1;
|
||||
continue;
|
||||
}
|
||||
|
||||
// insert highlight tags that cross tag boundaries
|
||||
highlightStartTag = createHighlightSpanStart(hitCount);
|
||||
hitCount = hitCount+1;
|
||||
newText += insertHighlighting(bodyText, previ, i, searchTerm.length, highlightStartTag, highlightEndTag);
|
||||
previ = str2pos[i+searchTerm.length-1]+1;
|
||||
|
||||
i = i + searchTerm.length;
|
||||
}
|
||||
|
||||
newText += bodyText.slice(previ, bodyText.length);
|
||||
return [newText, hitCount];
|
||||
}
|
||||
|
||||
function removeHighlight(bodyText)
|
||||
{
|
||||
// We use regular expressions here rather than a straight text search because
|
||||
// some browsers actually insert double quotes and capitalize. Also, each highlight
|
||||
// name is uniquely numbered in order of discovery
|
||||
var highlightStartTag = /<span class=[\"]*highlighted(Current)*[\"]* name=[\"]*highlight[0-9]*[\"]*>/i;
|
||||
var highlightEndTag = /<\/span>/i;
|
||||
|
||||
var newText = "";
|
||||
|
||||
var startPatternFirstIndex = -1;
|
||||
var startPatternLastIndex = -1;
|
||||
|
||||
var endPatternFirstIndex = -1;
|
||||
var endPatternLastIndex = -1;
|
||||
|
||||
while (highlightStartTag.test(bodyText) === true) {
|
||||
startPatternFirstIndex = bodyText.search(highlightStartTag);
|
||||
newText += bodyText.substring(0, startPatternFirstIndex);
|
||||
startPatternLastIndex = bodyText.indexOf('>', startPatternFirstIndex+1);
|
||||
|
||||
bodyText = bodyText.substr(startPatternLastIndex+1);
|
||||
endPatternFirstIndex = bodyText.search(highlightEndTag);
|
||||
newText += bodyText.substring(0, endPatternFirstIndex);
|
||||
endPatternLastIndex = endPatternFirstIndex+7;
|
||||
|
||||
bodyText = bodyText.substr(endPatternLastIndex);
|
||||
}
|
||||
if (startPatternFirstIndex < 0) {
|
||||
return bodyText;
|
||||
} else {
|
||||
return newText+bodyText;
|
||||
}
|
||||
}
|
||||
|
||||
function removeHighlightInAllDocs()
|
||||
{
|
||||
if (top) {
|
||||
for (var i = 0; i < top.frames.length; i++) {
|
||||
if (top.frames[i].name === "rtwreport_contents_frame" || top.frames[i].name === "rtwreport_document_frame") {
|
||||
var currentDoc = top.frames[i].document;
|
||||
if (typeof currentDoc.body !== "undefined" && currentDoc.body !== null)
|
||||
currentDoc.body.innerHTML=removeHighlight(currentDoc.body.innerHTML);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function findInDoc(searchStringFromSubmitBox, doc, caseSensitive, hitCount)
|
||||
{
|
||||
var searchBody = doc.body.innerHTML;
|
||||
// if the document is empty, or the documents is invalid, return
|
||||
if (!doc.body || typeof(searchBody) === "undefined") {
|
||||
return [false, hitCount];
|
||||
}
|
||||
|
||||
// inject highlighting code into html
|
||||
var result = addHighlight(searchBody, searchStringFromSubmitBox, caseSensitive, hitCount);
|
||||
doc.body.innerHTML = result[0];
|
||||
|
||||
return [true, result[1]];
|
||||
}
|
||||
|
||||
var currentlyHighlightedHit;
|
||||
|
||||
function getSpansByName(name)
|
||||
{
|
||||
var allSpans = [];
|
||||
for (i = 0; i < top.frames.length; i++) {
|
||||
if (top.frames[i].name === "rtwreport_contents_frame" || top.frames[i].name === "rtwreport_document_frame") {
|
||||
var currentDoc = top.frames[i].document;
|
||||
var highlightedSpans = currentDoc.getElementsByName(name);
|
||||
if (highlightedSpans && highlightedSpans.length && highlightedSpans.length > 0) {
|
||||
for (j = 0; j < highlightedSpans.length; j++) {
|
||||
allSpans = allSpans.concat(highlightedSpans[j]);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return allSpans;
|
||||
}
|
||||
|
||||
function isVisibleElement(elementID)
|
||||
{
|
||||
if (elementID)
|
||||
return elementID.offsetWidth > 0 || elementID.offsetHeight > 0;
|
||||
else
|
||||
return false;
|
||||
}
|
||||
|
||||
function areAllSpansVisible(spans)
|
||||
{
|
||||
isVisible = true;
|
||||
for (i = 0; i < highlightedSpans.length; i++) {
|
||||
isVisible = isVisible && isVisibleElement(highlightedSpans[i]);
|
||||
}
|
||||
return isVisible;
|
||||
}
|
||||
|
||||
function getNextVisible()
|
||||
{
|
||||
var isVisible = false;
|
||||
var foundVisible = false;
|
||||
while (!isVisible) {
|
||||
currentlyHighlightedHit = currentlyHighlightedHit + 1;
|
||||
highlightedSpans = setCurrentSearchMatchIfVisible(currentlyHighlightedHit);
|
||||
if (highlightedSpans && highlightedSpans.length > 0) {
|
||||
isVisible = true;
|
||||
} else if (currentlyHighlightedHit < totalHits) {
|
||||
continue;
|
||||
} else {
|
||||
// we have reached the end
|
||||
isVisible = false;
|
||||
currentlyHighlightedHit = 0;
|
||||
highlightedSpans = null;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
return highlightedSpans;
|
||||
}
|
||||
|
||||
function clearCurrentSearchMatch()
|
||||
{
|
||||
// clear prior highlighting
|
||||
spanName = "highlight" + currentlyHighlightedHit;
|
||||
highlightedSpans = getSpansByName(spanName);
|
||||
if (highlightedSpans && highlightedSpans.length) {
|
||||
for (i = 0; i < highlightedSpans.length; i++) {
|
||||
if (highlightedSpans[i]) {
|
||||
highlightedSpans[i].setAttribute("class", "highlighted");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function setCurrentSearchMatchIfVisible(hitNum){
|
||||
currentlyHighlightedHit = hitNum;
|
||||
var spanName = "highlight" + currentlyHighlightedHit;
|
||||
var highlightedSpans = getSpansByName(spanName);
|
||||
if (highlightedSpans && highlightedSpans.length) {
|
||||
for (i = 0; i < highlightedSpans.length; i++) {
|
||||
if (!isVisibleElement(highlightedSpans[i])) {
|
||||
highlightedSpans = null;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
return highlightedSpans;
|
||||
}
|
||||
|
||||
// this takes in an option integer 'hitNum'. If not specified, it scrolls
|
||||
// to the next hit
|
||||
function scrollToNextHit(hitNum)
|
||||
{
|
||||
var i = 0;
|
||||
var found = false;
|
||||
var spanName = "";
|
||||
var highlightedSpans;
|
||||
var searchBox = findElement('searchTxtBox');
|
||||
|
||||
clearCurrentSearchMatch();
|
||||
|
||||
if (hitNum) {
|
||||
// if a number is provided, use it
|
||||
highlightedSpans = setCurrentSearchMatchIfVisible(hitNum);
|
||||
} else {
|
||||
// start working on next element to highlight
|
||||
highlightedSpans = getNextVisible();
|
||||
}
|
||||
|
||||
// we found the current
|
||||
if (highlightedSpans && highlightedSpans.length > 0) {
|
||||
highlightedSpans[0].scrollIntoView();
|
||||
for (i = 0; i < highlightedSpans.length; i++) {
|
||||
highlightedSpans[i].setAttribute("class", "highlightedCurrent");
|
||||
}
|
||||
searchBox.setAttribute("class", "search");
|
||||
|
||||
// if highlightedSpans is invalid, then we did not find any valid, visible subsequent matches
|
||||
// wrap to beginning or indicate no matches
|
||||
} else {
|
||||
// Element not found. Scroll to first visible element
|
||||
currentlyHighlightedHit = 0;
|
||||
var highlightedSpans = getNextVisible(currentlyHighlightedHit);
|
||||
if (highlightedSpans && highlightedSpans.length > 0) {
|
||||
highlightedSpans[0].scrollIntoView();
|
||||
for (i = 0; i < highlightedSpans.length; i++) {
|
||||
highlightedSpans[i].setAttribute("class", "highlightedCurrent");
|
||||
}
|
||||
searchBox.setAttribute("class", "search");
|
||||
} else {
|
||||
// there aren't any matches
|
||||
searchBox.setAttribute("class", "failedSearch");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// find search box
|
||||
function findElement(element)
|
||||
{
|
||||
var i = 0;
|
||||
for (i = 0; i < top.frames.length; i++) {
|
||||
if (top.frames[i].name === "rtwreport_contents_frame" || top.frames[i].name === "rtwreport_document_frame") {
|
||||
var elem = top.frames[i].document.getElementById(element);
|
||||
if (elem) {
|
||||
return elem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Restore search term once form is submitted
|
||||
function initSearchBox(strInitValue)
|
||||
{
|
||||
var txtBox = findElement('searchTxtBox');
|
||||
if (txtBox) {
|
||||
txtBox.value = strInitValue;
|
||||
}
|
||||
}
|
||||
|
||||
// Sets focus back on to the text box
|
||||
function setFocusOnTxtBox()
|
||||
{
|
||||
var txtBox = findElement('searchTxtBox');
|
||||
if (txtBox) {
|
||||
txtBox.focus();
|
||||
txtBox.select();
|
||||
}
|
||||
return txtBox;
|
||||
}
|
||||
|
||||
var previousSearchString;
|
||||
var totalHits;
|
||||
function findInAllDocs(searchStringFromSubmitBox, caseSensitive)
|
||||
{
|
||||
if (previousSearchString != searchStringFromSubmitBox) {
|
||||
// If the search string has changed or a new page has been loaded, do a new search
|
||||
var hitCount = 1;
|
||||
var i = 0;
|
||||
var success = false;
|
||||
previousSearchString = searchStringFromSubmitBox;
|
||||
|
||||
// start by removing traceinfo highlighting
|
||||
rtwRemoveHighlighting();
|
||||
|
||||
// remove all previous search highlighting
|
||||
removeHighlightInAllDocs();
|
||||
|
||||
// 1. Iterate through all frames in window and search
|
||||
for (i = 0; i < top.frames.length; i++) {
|
||||
var currentDoc = top.frames[i].document;
|
||||
|
||||
// if we have no search term, restore
|
||||
if (searchStringFromSubmitBox !== "") {
|
||||
// search and highlight in all frames
|
||||
var srchResult = findInDoc(searchStringFromSubmitBox, currentDoc, caseSensitive, hitCount);
|
||||
hitCount = srchResult[1];
|
||||
totalHits = srchResult[1];
|
||||
}
|
||||
}
|
||||
|
||||
// 2. Restore search term once form is submitted and text highlighted
|
||||
if (searchStringFromSubmitBox != "") {
|
||||
strInitValue = searchStringFromSubmitBox;
|
||||
}
|
||||
initSearchBox(strInitValue);
|
||||
|
||||
// 3. Scroll to the first hit encountered
|
||||
scrollToNextHit(1);
|
||||
|
||||
// 4. Set focus back to text box and select text
|
||||
var txtBox = setFocusOnTxtBox();
|
||||
if (txtBox) {
|
||||
txtBox.select();
|
||||
}
|
||||
|
||||
} else {
|
||||
// If the search string is the same, then scroll to the next
|
||||
// hit if the hit is valid. Else wrap back.
|
||||
scrollToNextHit();
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// if the search box is empty, clear highlighting
|
||||
function clearIfEmpty()
|
||||
{
|
||||
txtBox = findElement('searchTxtBox');
|
||||
if (txtBox.value == "") {
|
||||
txtBox.setAttribute("class", "search");
|
||||
removeHighlightInAllDocs();
|
||||
previousSearchString="";
|
||||
setFocusOnTxtBox();
|
||||
}
|
||||
}
|
||||
|
||||
function keyPressSwitchyard(keyPressEvent)
|
||||
{
|
||||
var kc;
|
||||
keyPressEvent = (keyPressEvent == null ? window.keyPressEvent : keyPressEvent);
|
||||
|
||||
// typically IE does not support this
|
||||
if (!keyPressEvent || (typeof keyPressEvent == "undefined")) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (keyPressEvent.keyCode) {
|
||||
kc=keyPressEvent.keyCode;
|
||||
} else if (keyPressEvent.which) {
|
||||
kc=keyPressEvent.which;
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
|
||||
// we do not care about the browser find appearing. If it does appear, then
|
||||
// we are running an external browser and that is okay.
|
||||
|
||||
// handle Ctrl-Key combinations
|
||||
if (keyPressEvent.ctrlKey) {
|
||||
switch (kc) {
|
||||
case 70: // Ctrl-F
|
||||
{
|
||||
setFocusOnTxtBox();
|
||||
break;
|
||||
}
|
||||
|
||||
default: break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function installDocumentKeyPressHandler()
|
||||
{
|
||||
var i = 0;
|
||||
for (i = 0; i < top.frames.length; i++) {
|
||||
var currentDoc = top.frames[i].document;
|
||||
currentDoc.onkeydown = keyPressSwitchyard;
|
||||
}
|
||||
top.document.onkeydown = keyPressSwitchyard;
|
||||
|
||||
// This also clears search related highlighting
|
||||
removeHighlightInAllDocs();
|
||||
currentlyHighlightedHit = 0;
|
||||
if (previousSearchString) initSearchBox(previousSearchString);
|
||||
previousSearchString = "";
|
||||
}
|
||||
|
||||
// This function is a onresize callback for the rtwreport_contents_frame
|
||||
// It is used to dynamically resize the searchbox based on the size of the frame.
|
||||
function setWidthDynamic(frameID, elementID, extraSpace, minSize)
|
||||
{
|
||||
var frame = document.getElementById(frameID);
|
||||
|
||||
// sanity check input args
|
||||
if (frame && extraSpace > 0 && minSize > 0) {
|
||||
var frameWidth = frame.scrollWidth;
|
||||
var newSize = extraSpace + minSize + 40; // 40 is the extra whitespace
|
||||
var element = findElement(elementID);
|
||||
if (element)
|
||||
{
|
||||
if (frameWidth < newSize) {
|
||||
element.style.width = minSize;
|
||||
} else {
|
||||
element.style.width = frameWidth - extraSpace - 40;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
BIN
01_Matlab/BLDC_controller_ert_rtw/html/traceInfo.mat
Normal file
@ -0,0 +1,190 @@
|
||||
dgrid is available under *either* the terms of the modified BSD license *or* the
|
||||
Academic Free License version 2.1. As a recipient of dgrid, you may choose which
|
||||
license to receive this code under.
|
||||
|
||||
The text of the AFL and BSD licenses is reproduced below.
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
The "New" BSD License:
|
||||
**********************
|
||||
|
||||
Copyright (c) 2010-2013, The Dojo Foundation
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
|
||||
* Redistributions of source code must retain the above copyright notice, this
|
||||
list of conditions and the following disclaimer.
|
||||
* Redistributions in binary form must reproduce the above copyright notice,
|
||||
this list of conditions and the following disclaimer in the documentation
|
||||
and/or other materials provided with the distribution.
|
||||
* Neither the name of the Dojo Foundation nor the names of its contributors
|
||||
may be used to endorse or promote products derived from this software
|
||||
without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
|
||||
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
||||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
||||
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
The Academic Free License, v. 2.1:
|
||||
**********************************
|
||||
|
||||
This Academic Free License (the "License") applies to any original work of
|
||||
authorship (the "Original Work") whose owner (the "Licensor") has placed the
|
||||
following notice immediately following the copyright notice for the Original
|
||||
Work:
|
||||
|
||||
Licensed under the Academic Free License version 2.1
|
||||
|
||||
1) Grant of Copyright License. Licensor hereby grants You a world-wide,
|
||||
royalty-free, non-exclusive, perpetual, sublicenseable license to do the
|
||||
following:
|
||||
|
||||
a) to reproduce the Original Work in copies;
|
||||
|
||||
b) to prepare derivative works ("Derivative Works") based upon the Original
|
||||
Work;
|
||||
|
||||
c) to distribute copies of the Original Work and Derivative Works to the
|
||||
public;
|
||||
|
||||
d) to perform the Original Work publicly; and
|
||||
|
||||
e) to display the Original Work publicly.
|
||||
|
||||
2) Grant of Patent License. Licensor hereby grants You a world-wide,
|
||||
royalty-free, non-exclusive, perpetual, sublicenseable license, under patent
|
||||
claims owned or controlled by the Licensor that are embodied in the Original
|
||||
Work as furnished by the Licensor, to make, use, sell and offer for sale the
|
||||
Original Work and Derivative Works.
|
||||
|
||||
3) Grant of Source Code License. The term "Source Code" means the preferred
|
||||
form of the Original Work for making modifications to it and all available
|
||||
documentation describing how to modify the Original Work. Licensor hereby
|
||||
agrees to provide a machine-readable copy of the Source Code of the Original
|
||||
Work along with each copy of the Original Work that Licensor distributes.
|
||||
Licensor reserves the right to satisfy this obligation by placing a
|
||||
machine-readable copy of the Source Code in an information repository
|
||||
reasonably calculated to permit inexpensive and convenient access by You for as
|
||||
long as Licensor continues to distribute the Original Work, and by publishing
|
||||
the address of that information repository in a notice immediately following
|
||||
the copyright notice that applies to the Original Work.
|
||||
|
||||
4) Exclusions From License Grant. Neither the names of Licensor, nor the names
|
||||
of any contributors to the Original Work, nor any of their trademarks or
|
||||
service marks, may be used to endorse or promote products derived from this
|
||||
Original Work without express prior written permission of the Licensor. Nothing
|
||||
in this License shall be deemed to grant any rights to trademarks, copyrights,
|
||||
patents, trade secrets or any other intellectual property of Licensor except as
|
||||
expressly stated herein. No patent license is granted to make, use, sell or
|
||||
offer to sell embodiments of any patent claims other than the licensed claims
|
||||
defined in Section 2. No right is granted to the trademarks of Licensor even if
|
||||
such marks are included in the Original Work. Nothing in this License shall be
|
||||
interpreted to prohibit Licensor from licensing under different terms from this
|
||||
License any Original Work that Licensor otherwise would have a right to
|
||||
license.
|
||||
|
||||
5) This section intentionally omitted.
|
||||
|
||||
6) Attribution Rights. You must retain, in the Source Code of any Derivative
|
||||
Works that You create, all copyright, patent or trademark notices from the
|
||||
Source Code of the Original Work, as well as any notices of licensing and any
|
||||
descriptive text identified therein as an "Attribution Notice." You must cause
|
||||
the Source Code for any Derivative Works that You create to carry a prominent
|
||||
Attribution Notice reasonably calculated to inform recipients that You have
|
||||
modified the Original Work.
|
||||
|
||||
7) Warranty of Provenance and Disclaimer of Warranty. Licensor warrants that
|
||||
the copyright in and to the Original Work and the patent rights granted herein
|
||||
by Licensor are owned by the Licensor or are sublicensed to You under the terms
|
||||
of this License with the permission of the contributor(s) of those copyrights
|
||||
and patent rights. Except as expressly stated in the immediately proceeding
|
||||
sentence, the Original Work is provided under this License on an "AS IS" BASIS
|
||||
and WITHOUT WARRANTY, either express or implied, including, without limitation,
|
||||
the warranties of NON-INFRINGEMENT, MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY OF THE ORIGINAL WORK IS WITH YOU.
|
||||
This DISCLAIMER OF WARRANTY constitutes an essential part of this License. No
|
||||
license to Original Work is granted hereunder except under this disclaimer.
|
||||
|
||||
8) Limitation of Liability. Under no circumstances and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise, shall the
|
||||
Licensor be liable to any person for any direct, indirect, special, incidental,
|
||||
or consequential damages of any character arising as a result of this License
|
||||
or the use of the Original Work including, without limitation, damages for loss
|
||||
of goodwill, work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses. This limitation of liability shall not
|
||||
apply to liability for death or personal injury resulting from Licensor's
|
||||
negligence to the extent applicable law prohibits such limitation. Some
|
||||
jurisdictions do not allow the exclusion or limitation of incidental or
|
||||
consequential damages, so this exclusion and limitation may not apply to You.
|
||||
|
||||
9) Acceptance and Termination. If You distribute copies of the Original Work or
|
||||
a Derivative Work, You must make a reasonable effort under the circumstances to
|
||||
obtain the express assent of recipients to the terms of this License. Nothing
|
||||
else but this License (or another written agreement between Licensor and You)
|
||||
grants You permission to create Derivative Works based upon the Original Work
|
||||
or to exercise any of the rights granted in Section 1 herein, and any attempt
|
||||
to do so except under the terms of this License (or another written agreement
|
||||
between Licensor and You) is expressly prohibited by U.S. copyright law, the
|
||||
equivalent laws of other countries, and by international treaty. Therefore, by
|
||||
exercising any of the rights granted to You in Section 1 herein, You indicate
|
||||
Your acceptance of this License and all of its terms and conditions.
|
||||
|
||||
10) Termination for Patent Action. This License shall terminate automatically
|
||||
and You may no longer exercise any of the rights granted to You by this License
|
||||
as of the date You commence an action, including a cross-claim or counterclaim,
|
||||
against Licensor or any licensee alleging that the Original Work infringes a
|
||||
patent. This termination provision shall not apply for an action alleging
|
||||
patent infringement by combinations of the Original Work with other software or
|
||||
hardware.
|
||||
|
||||
11) Jurisdiction, Venue and Governing Law. Any action or suit relating to this
|
||||
License may be brought only in the courts of a jurisdiction wherein the
|
||||
Licensor resides or in which Licensor conducts its primary business, and under
|
||||
the laws of that jurisdiction excluding its conflict-of-law provisions. The
|
||||
application of the United Nations Convention on Contracts for the International
|
||||
Sale of Goods is expressly excluded. Any use of the Original Work outside the
|
||||
scope of this License or after its termination shall be subject to the
|
||||
requirements and penalties of the U.S. Copyright Act, 17 U.S.C. § 101 et
|
||||
seq., the equivalent laws of other countries, and international treaty. This
|
||||
section shall survive the termination of this License.
|
||||
|
||||
12) Attorneys Fees. In any action to enforce the terms of this License or
|
||||
seeking damages relating thereto, the prevailing party shall be entitled to
|
||||
recover its costs and expenses, including, without limitation, reasonable
|
||||
attorneys' fees and costs incurred in connection with such action, including
|
||||
any appeal of such action. This section shall survive the termination of this
|
||||
License.
|
||||
|
||||
13) Miscellaneous. This License represents the complete agreement concerning
|
||||
the subject matter hereof. If any provision of this License is held to be
|
||||
unenforceable, such provision shall be reformed only to the extent necessary to
|
||||
make it enforceable.
|
||||
|
||||
14) Definition of "You" in This License. "You" throughout this License, whether
|
||||
in upper or lower case, means an individual or a legal entity exercising rights
|
||||
under, and complying with all of the terms of, this License. For legal
|
||||
entities, "You" includes any entity that controls, is controlled by, or is
|
||||
under common control with you. For purposes of this definition, "control" means
|
||||
(i) the power, direct or indirect, to cause the direction or management of such
|
||||
entity, whether by contract or otherwise, or (ii) ownership of fifty percent
|
||||
(50%) or more of the outstanding shares, or (iii) beneficial ownership of such
|
||||
entity.
|
||||
|
||||
15) Right to Use. You may use the Original Work in all ways not otherwise
|
||||
restricted or conditioned by this License or by law, and Licensor promises not
|
||||
to interfere with or be responsible for such uses by You.
|
||||
|
||||
This license is Copyright (C) 2003-2004 Lawrence E. Rosen. All rights reserved.
|
||||
Permission is hereby granted to copy and distribute this license without
|
||||
modification. This license may not be modified without the express written
|
||||
permission of its copyright owner.
|
@ -0,0 +1 @@
|
||||
.touchscroll-x, .touchscroll-y {display: none; overflow: hidden; position: absolute; opacity: 0.7;}.touchscroll-fadeout .touchscroll-x, .touchscroll-fadeout .touchscroll-y {opacity: 0; -webkit-transition: opacity 0.3s ease-out 0.1s; -moz-transition: opacity 0.3s ease-out 0.1s; -o-transition: opacity 0.3s ease-out 0.1s; transition: opacity 0.3s ease-out 0.1s;}.touchscroll-bar {background-color: rgba(88,88,88,0.97); border: 1px solid rgba(88,88,88,1); border-radius: 3px; -webkit-box-shadow: 0 0 1px rgba(88,88,88,0.4);}.touchscroll-x {left: 1px; right: 3px; bottom: 1px; height: 5px;}.touchscroll-y {top: 1px; bottom: 3px; right: 1px; width: 5px;}.touchscroll-scrollable-x .touchscroll-x, .touchscroll-scrollable-y .touchscroll-y {display: block;}.touchscroll-bar {-webkit-transition: transform cubic-bezier(0.33, 0.66, 0.66, 1); -moz-transition: transform cubic-bezier(0.33, 0.66, 0.66, 1); -o-transition: transform cubic-bezier(0.33, 0.66, 0.66, 1); transition: transform cubic-bezier(0.33, 0.66, 0.66, 1);}#dgrid-css-TouchScroll-loaded {display: none;}
|
@ -0,0 +1 @@
|
||||
.dgrid-column-set {overflow: hidden; width: 100%; position: relative; height: 100%;}.dgrid-column-set-cell {vertical-align: top; height: 100%;}.dgrid-column-set-scroller-container {font-size: 0; position: absolute; bottom: 0;}.dgrid-autoheight .dgrid-column-set-scroller-container {position: relative;}.dgrid-column-set-scroller {display: inline-block; overflow-x: auto; overflow-y: hidden;}.dgrid-column-set-scroller-content {height: 1px;}html.has-mozilla .dgrid-column-set *:focus, html.has-safari .dgrid-column-set *:focus {border: 1px dotted black; outline: 1px dotted black;}html.has-ie-7 .dgrid-column-set {width: auto;}html.has-quirks .dgrid-column-set {width: 100%;}#dgrid-css-columnset-loaded {display: none;}
|
@ -0,0 +1 @@
|
||||
.dgrid {position: relative; overflow: hidden; border: 1px solid #ddd; height: 30em; display: block;}.dgrid-header {background-color: #eee;}.dgrid-header-row {position: absolute; right: 17px; left: 0;}.dgrid-header-scroll {position: absolute; top: 0; right: 0;}.dgrid-footer {position: absolute; bottom: 0; width: 100%;}.dgrid-header-hidden,html.has-quirks .dgrid-header-hidden .dgrid-cell {font-size: 0; height: 0 !important; border-top: none !important; border-bottom: none !important; margin-top: 0 !important; margin-bottom: 0 !important; padding-top: 0 !important; padding-bottom: 0 !important;}.dgrid-footer-hidden {display: none;}.dgrid-sortable {cursor: pointer;}.dgrid-header, .dgrid-header-row, .dgrid-footer {overflow: hidden; background-color: #eee;}.dgrid-row-table {border-collapse: collapse; border: none; table-layout: fixed; empty-cells: show; width: 100%; height: 100%;}.dgrid-cell {padding: 0px; text-align: left; overflow: hidden; vertical-align: top; border: 1px solid #ddd; border-top-style: none; box-sizing: border-box; -moz-box-sizing: border-box; -ms-box-sizing: border-box; -webkit-box-sizing: border-box;}.dgrid-cell-padding {padding: 3px;}.dgrid-content {position: relative; height: 99%;}.dgrid-scroller {overflow-x: auto; overflow-y: scroll; position: absolute; top: 0px; margin-top: 25px; bottom: 0px; width: 100%;}.dgrid-preload {font-size: 0; line-height: 0;}.dgrid-loading {position: relative; height: 100%;}.dgrid-above {position: absolute; bottom: 0;}.ui-icon {width: 16px; height: 16px; background-image: url('images/ui-icons_222222_256x240.png');}.ui-icon-triangle-1-e {background-position: -32px -16px;}.ui-icon-triangle-1-se {background-position: -48px -16px;}.dgrid-expando-icon {width: 16px; height: 16px;}.dgrid-tree-container {-webkit-transition-duration: 0.3s; -moz-transition-duration: 0.3s; -ms-transition-duration: 0.3s; -o-transition-duration: 0.3s; transition-duration: 0.3s; overflow: hidden;}.dgrid-tree-container.dgrid-tree-resetting {-webkit-transition-duration: 0; -moz-transition-duration: 0; -ms-transition-duration: 0; -o-transition-duration: 0; transition-duration: 0;}.dgrid-sort-arrow {background-position: -64px -16px; display: block; float: right; margin: 0 4px 0 5px; height: 12px;}.dgrid-sort-up .dgrid-sort-arrow {background-position: 0px -16px;}.dgrid-selected {background-color: #bfd6eb;}.dgrid-input {width: 99%;}html.has-mozilla .dgrid *:focus, html.has-opera .dgrid *:focus {outline: 1px dotted;}html.has-ie-6-7.has-no-quirks .dgrid-row-table {width: auto;}html.has-quirks .dgrid-row-table, html.has-ie-6 .dgrid-row-table {height: auto;}html.has-quirks .dgrid-header-scroll,html.has-ie-6 .dgrid-header-scroll {font-size: 0;}html.has-mozilla .dgrid-focus {outline-offset: -1px;}.dgrid-scrollbar-measure {width: 100px; height: 100px; overflow: scroll; position: absolute; top: -9999px;}.dgrid-autoheight {height: auto;}.dgrid-autoheight .dgrid-scroller {position: relative; overflow-y: hidden;}.dgrid-autoheight .dgrid-header-scroll {display: none;}.dgrid-autoheight .dgrid-header {right: 0;}#dgrid-css-dgrid-loaded {display: none;}
|
@ -0,0 +1 @@
|
||||
.dgrid-rtl-swap .dgrid-header-row {right: 0; left: 17px;}.dgrid-rtl-swap .dgrid-header-scroll {left: 0px; right: auto;}.dgrid-rtl .dgrid-cell {text-align: right;}.dgrid-rtl .dgrid-sort-arrow {float: left; margin: 0 5px 0 4px;}.dgrid-rtl .ui-icon-triangle-1-e {background-position: -96px -16px;}.dgrid-rtl .ui-icon-triangle-1-se {background-position: -80px -16px;}.dgrid-rtl .dgrid-pagination .dgrid-status {float: right;}.dgrid-rtl .dgrid-pagination .dgrid-page-size {float: right;}.dgrid-rtl .dgrid-pagination .dgrid-navigation {float: left;}.dgrid-rtl.dgrid-autoheight .dgrid-header {left: 0;}.has-ie-6 .dgrid-rtl .dgrid-header-row {left: auto; right: auto;}#dgrid-css-dgrid_rtl-loaded {display: none;}
|
@ -0,0 +1 @@
|
||||
.dgrid-hider-toggle {background-position: 0 -192px; background-color: transparent; border: none; cursor: pointer; position: absolute; right: 0; top: 0;}.dgrid-rtl-swap .dgrid-hider-toggle {right: auto; left: 0;}.dgrid-hider-menu {position: absolute; top: 0; right: 17px; width: 184px; background-color: #fff; border: 1px solid black; z-index: 99999; padding: 4px; overflow-x: hidden; overflow-y: auto;}.dgrid-rtl-swap .dgrid-hider-menu {right: auto; left: 17px;}.dgrid-hider-menu-row {position: relative; padding: 2px;}.dgrid-hider-menu-check {position: absolute; top: 2px; left: 2px; padding: 0;}.dgrid-hider-menu-label {display: block; padding-left: 20px;}html.has-quirks .dgrid-hider-menu-check,html.has-ie-6-7 .dgrid-hider-menu-check {top: 0; left: 0;}#dgrid-css-extensions-ColumnHider-loaded {display: none;}
|
@ -0,0 +1 @@
|
||||
.dgrid-header .dojoDndContainer .dgrid-cell {display: table-cell;}.dgrid-header .dojoDndItemBefore {border-left: 2px dotted #000 !important;}.dgrid-header .dojoDndItemAfter {border-right: 2px dotted #000 !important;}#dgrid-css-extensions-ColumnReorder-loaded {display: none;}
|
@ -0,0 +1 @@
|
||||
.dgrid-column-resizer {cursor: col-resize; position: absolute; width: 2px; background-color: #666; z-index: 1000;}.dgrid-resize-guard {cursor: col-resize; position: absolute; bottom: 0; left: 0; right: 0; top: 0;}.dgrid-resize-handle {height: 100px; width: 0; position: absolute; right: -4px; top:-4px; cursor: col-resize; z-index: 999; border-left: 5px solid transparent; outline: none;}html.has-ie-6 .dgrid-resize-handle {border-color: pink; filter: chroma(color=pink);}html.has-mozilla .dgrid .dgrid-resize-handle:focus,html.has-opera .dgrid .dgrid-resize-handle:focus {outline: none;}.dgrid-resize-header-container {height:100%;}html.has-touch .dgrid-resize-handle {border-left: 20px solid transparent;}html.has-touch .dgrid-column-resizer {width: 2px;}html.has-no-quirks .dgrid-resize-header-container {position: relative;}html.has-ie-6 .dgrid-resize-header-container {position: static;}.dgrid-header .dgrid-cell-padding {overflow: hidden;}html.has-ie-6 .dgrid-header .dgrid-cell-padding {margin-right: 4px;}html.has-ie-6 .dgrid-header .dgrid-sort-arrow {margin-right: 0;}html.has-quirks .dgrid-header .dgrid-cell-padding, html.has-ie-6 .dgrid-header .dgrid-cell {position:relative;}#dgrid-css-extensions-ColumnResizer-loaded {display: none;}
|
@ -0,0 +1 @@
|
||||
.dgrid-spacer-row {height: 0;}.dgrid-spacer-row th {padding-top: 0; padding-bottom: 0; border-top: none; border-bottom: none;}#dgrid-css-extensions-CompoundColumns-loaded {display: none;}
|
@ -0,0 +1 @@
|
||||
.dgrid-status {padding: 2px;}.dgrid-pagination .dgrid-status {float: left;}.dgrid-pagination .dgrid-navigation, .dgrid-pagination .dgrid-page-size {float: right;}.dgrid-navigation .dgrid-page-link {cursor: pointer; font-weight: bold; text-decoration: none; color: inherit; padding: 0 4px;}.dgrid-first, .dgrid-last, .dgrid-next, .dgrid-previous {font-size: 130%;}.dgrid-pagination .dgrid-page-disabled,.has-ie-6-7 .dgrid-navigation .dgrid-page-disabled,.has-ie.has-quirks .dgrid-navigation .dgrid-page-disabled {color: #aaa; cursor: default;}.dgrid-page-input {margin-top: 1px; width: 2em; text-align: center;}.dgrid-page-size {margin: 1px 4px 0 4px;}#dgrid-css-extensions-Pagination-loaded {display: none;}
|
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 4.9 KiB |
@ -0,0 +1 @@
|
||||
.cactus .dgrid-content {border: none; background: #faffef; color: #000;}.cactus .dgrid-header-row {border-bottom: none;}.cactus .dgrid-header,.cactus .dgrid-footer {color: #fff; background: #333; background: -moz-linear-gradient(top, #4e4e4e 0%, #555555 12%, #636363 25%, #505050 39%, #303030 49%, #000000 50%, #1c1c1c 60%, #292929 76%, #1e1e1e 91%, #141414 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4e4e4e), color-stop(12%,#555555), color-stop(25%,#636363), color-stop(39%,#505050), color-stop(49%,#303030), color-stop(50%,#000000), color-stop(60%,#1c1c1c), color-stop(76%,#292929), color-stop(91%,#1e1e1e), color-stop(100%,#141414)); background: -webkit-linear-gradient(top, #4e4e4e 0%,#555555 12%,#636363 25%,#505050 39%,#303030 49%,#000000 50%,#1c1c1c 60%,#292929 76%,#1e1e1e 91%,#141414 100%); background: -o-linear-gradient(top, #4e4e4e 0%,#555555 12%,#636363 25%,#505050 39%,#303030 49%,#000000 50%,#1c1c1c 60%,#292929 76%,#1e1e1e 91%,#141414 100%); background: -ms-linear-gradient(top, #4e4e4e 0%,#555555 12%,#636363 25%,#505050 39%,#303030 49%,#000000 50%,#1c1c1c 60%,#292929 76%,#1e1e1e 91%,#141414 100%); background: linear-gradient(top, #4e4e4e 0%,#555555 12%,#636363 25%,#505050 39%,#303030 49%,#000000 50%,#1c1c1c 60%,#292929 76%,#1e1e1e 91%,#141414 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4e4e4e', endColorstr='#141414',GradientType=0 );}.cactus .dgrid-header th {padding: 7px 3px; font-weight: bold; color: #fff; text-shadow: 0 -1px 0 rgba(0,0,0,.9); border-color: #111; text-transform: uppercase;}.cactus .dgrid-cell {border-color: #bbc581; border-top: none; border-right: none; border-left: none;}.cactus .dgrid-row-even {border-top: 1px solid #FFF;}.cactus .dgrid-row-odd {background: #9a6; background-image: -moz-linear-gradient(top, rgba(185,203,127,1) 0%, rgba(143,160,91,1) 100%); background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(185,203,127,1)), color-stop(100%,rgba(143,160,91,1))); background-image: -webkit-linear-gradient(top, rgba(185,203,127,1) 0%,rgba(143,160,91,1) 100%); background-image: -o-linear-gradient(top, rgba(185,203,127,1) 0%,rgba(143,160,91,1) 100%); background-image: -ms-linear-gradient(top, rgba(185,203,127,1) 0%,rgba(143,160,91,1) 100%); background-image: linear-gradient(top, rgba(185,203,127,1) 0%,rgba(143,160,91,1) 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b9cb7f', endColorstr='#8fa05b',GradientType=0 ); text-shadow: 0 1px 0 rgba(255,255,255,.9); border-top: 1px solid #ccd595; color: #FFF; text-shadow: 0 -1px 0 rgba(0,0,0,.3);}.cactus .dgrid-row-odd .dgrid-cell {border-top: 1px solid #e9efbd;}.cactus .dgrid-row:hover,.cactus .dgrid-row:hover .dgrid-cell {background: #555; color: #fff; text-shadow: 0 -1px 0 rgba(0,0,0,.9); border-color: #555;}.cactus .dgrid-selected,.cactus .dgrid-selected .dgrid-cell {background: #333; color: #fff; text-shadow: 0 -1px 0 rgba(0,0,0,.9); border-color: #333;}.cactus .dgrid-selected:hover {background: #333; border-color: #333;}.cactus .dgrid-highlight {background: #d6e5a5; filter: none; color: #000; text-shadow: none;}.cactus .dgrid-sort-arrow {background-image: url("../images/ui-icons_ffffff_256x240.png");}.cactus .dgrid-header .dojoDndItemBefore {border-left: 2px dotted #fff !important;}.cactus .dgrid-header .dojoDndItemAfter {border-right: 2px dotted #fff !important;}.has-ie-6-7 .cactus .dgrid-navigation a,.has-ie.has-quirks .cactus .dgrid-navigation a {color: #fff;}
|
@ -0,0 +1 @@
|
||||
.claro .dgrid {border: 1px solid #aaa; background: #fff; color: #000;}.claro .dgrid-header {font-weight: bold;}.claro .dgrid-header,.claro .dgrid-footer {background: #ebf0f5; background: -moz-linear-gradient(top, #ebf0f5 0%, #d5e0ea 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ebf0f5), color-stop(100%,#d5e0ea)); background: -webkit-linear-gradient(top, #ebf0f5 0%,#d5e0ea 100%); background: -o-linear-gradient(top, #ebf0f5 0%,#d5e0ea 100%); background: -ms-linear-gradient(top, #ebf0f5 0%,#d5e0ea 100%); background: linear-gradient(top, #ebf0f5 0%,#d5e0ea 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ebf0f5', endColorstr='#d5e0ea',GradientType=0 );}.claro .dgrid-header .dgrid-cell:hover {background: #ebf1f6; background: -moz-linear-gradient(top, #ffffff 0%, #d2e0eb 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#d2e0eb)); background: -webkit-linear-gradient(top, #ffffff 0%,#d2e0eb 100%); background: -o-linear-gradient(top, #ffffff 0%,#d2e0eb 100%); background: -ms-linear-gradient(top, #ffffff 0%,#d2e0eb 100%); background: linear-gradient(top, #ffffff 0%,#d2e0eb 100%);}.claro .dgrid-row {-webkit-transition-duration: 0.2s; -moz-transition-duration: 0.2s; -o-transition-duration: 0.2s; transition-duration: 0.2s; -webkit-transition-property: background-color, border-color; -moz-transition-property: background-color, border-color; -o-transition-property: background-color, border-color; transition-property: background-color, border-color; background: url("images/row_back.png") #fff repeat-x;}.has-ie-6 .claro .dgrid-row {background-image: none;}.claro .dgrid-row:hover {background-color: #e9f2fe;}.claro .dgrid-selected {background-color: #cee6fa;}.claro .dgrid-selected:hover {background-color: #9bc6f2;}.claro .dgrid-highlight {background-color: #ff6;}.claro .dgrid-cell {border-color: #edc;}.claro .dgrid-header .dgrid-cell {border-color: #bbb;}
|
After Width: | Height: | Size: 2.8 KiB |
@ -0,0 +1 @@
|
||||
.nihilo .dgrid {border-color: #bba;}.nihilo .dgrid-content {background: #fff; color: #000;}.nihilo .dgrid-header {background: #fff; border-bottom-color: #919191;}.nihilo .dgrid-footer {background: #fff; border-top: 1px solid #919191;}.nihilo .dgrid-header .dgrid-cell {border-right-color: #acab99;}.nihilo .dgrid-selected {background-color: #aec7e3;}.nihilo .dgrid-row:hover {background-color: #ffe284;}.nihilo .dgrid-highlight {background-color: #ff6;}.nihilo .dgrid-cell {border-color: #ddc;}.nihilo .dgrid-header .dgrid-cell {border-color: #bba;}
|
@ -0,0 +1 @@
|
||||
.sage .dgrid-content {border: none; background: #fff; color: #000; text-shadow: 0 1px 0 rgba(255,255,255,.9);}.sage .dgrid-header-row {border-bottom: none;}.sage .dgrid-header,.sage .dgrid-footer {color: #fff; background: #333; background: -moz-linear-gradient(top, #4e4e4e 0%, #555555 12%, #636363 25%, #505050 39%, #303030 49%, #000000 50%, #1c1c1c 60%, #292929 76%, #1e1e1e 91%, #141414 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4e4e4e), color-stop(12%,#555555), color-stop(25%,#636363), color-stop(39%,#505050), color-stop(49%,#303030), color-stop(50%,#000000), color-stop(60%,#1c1c1c), color-stop(76%,#292929), color-stop(91%,#1e1e1e), color-stop(100%,#141414)); background: -webkit-linear-gradient(top, #4e4e4e 0%,#555555 12%,#636363 25%,#505050 39%,#303030 49%,#000000 50%,#1c1c1c 60%,#292929 76%,#1e1e1e 91%,#141414 100%); background: -o-linear-gradient(top, #4e4e4e 0%,#555555 12%,#636363 25%,#505050 39%,#303030 49%,#000000 50%,#1c1c1c 60%,#292929 76%,#1e1e1e 91%,#141414 100%); background: -ms-linear-gradient(top, #4e4e4e 0%,#555555 12%,#636363 25%,#505050 39%,#303030 49%,#000000 50%,#1c1c1c 60%,#292929 76%,#1e1e1e 91%,#141414 100%); background: linear-gradient(top, #4e4e4e 0%,#555555 12%,#636363 25%,#505050 39%,#303030 49%,#000000 50%,#1c1c1c 60%,#292929 76%,#1e1e1e 91%,#141414 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4e4e4e', endColorstr='#141414',GradientType=0 );}.sage .dgrid-header th {padding: 7px 3px; font-weight: bold; color: #fff; text-shadow: 0 -1px 0 rgba(0,0,0,.9); border-color: #111; text-transform: uppercase;}.sage .dgrid-cell {border-color: #bbc581; border-top: none; border-right: none; border-left: none;}.sage .dgrid-row-odd {background: #f2f7e8;}.sage .dgrid-row:hover {background: #c5dca6; color: #333; text-shadow: 0 1px 0 rgba(255,255,255,.5);}.sage .dgrid-row {-webkit-transition-duration: 0.1s; -moz-transition-duration: 0.1s; transition-duration: 0.1s; -webkit-transition-property: background-color, border-color; -moz-transition-property: background-color, border-color; transition-property: background-color, border-color;}.sage .dgrid-selected,.sage .dgrid-selected:hover {background: #b3d18b; text-shadow: 0 1px 0 rgba(255,255,255,.6);}.sage .dgrid-highlight {background-color: #d5e8bd;}.sage .dgrid-sort-arrow {background-image: url("../images/ui-icons_ffffff_256x240.png");}.sage .dgrid-header .dojoDndItemBefore {border-left: 2px dotted #fff !important;}.sage .dgrid-header .dojoDndItemAfter {border-right: 2px dotted #fff !important;}.has-ie-6-7 .sage .dgrid-navigation a,.has-ie.has-quirks .sage .dgrid-navigation a {color: #fff;}
|
@ -0,0 +1 @@
|
||||
.slate .dgrid-content {background: #fff; color: #000; text-shadow: 0 1px 0 rgba(255,255,255,.9);}.slate .dgrid-header-row {border-bottom: none;}.slate .dgrid-header,.slate .dgrid-footer {color: #fff; background: #333; background: -moz-linear-gradient(top, #4e4e4e 0%, #555555 12%, #636363 25%, #505050 39%, #303030 49%, #000000 50%, #1c1c1c 60%, #292929 76%, #1e1e1e 91%, #141414 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4e4e4e), color-stop(12%,#555555), color-stop(25%,#636363), color-stop(39%,#505050), color-stop(49%,#303030), color-stop(50%,#000000), color-stop(60%,#1c1c1c), color-stop(76%,#292929), color-stop(91%,#1e1e1e), color-stop(100%,#141414)); background: -webkit-linear-gradient(top, #4e4e4e 0%,#555555 12%,#636363 25%,#505050 39%,#303030 49%,#000000 50%,#1c1c1c 60%,#292929 76%,#1e1e1e 91%,#141414 100%); background: -o-linear-gradient(top, #4e4e4e 0%,#555555 12%,#636363 25%,#505050 39%,#303030 49%,#000000 50%,#1c1c1c 60%,#292929 76%,#1e1e1e 91%,#141414 100%); background: -ms-linear-gradient(top, #4e4e4e 0%,#555555 12%,#636363 25%,#505050 39%,#303030 49%,#000000 50%,#1c1c1c 60%,#292929 76%,#1e1e1e 91%,#141414 100%); background: linear-gradient(top, #4e4e4e 0%,#555555 12%,#636363 25%,#505050 39%,#303030 49%,#000000 50%,#1c1c1c 60%,#292929 76%,#1e1e1e 91%,#141414 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4e4e4e', endColorstr='#141414',GradientType=0 );}.slate .dgrid-header th {padding: 7px 3px; font-weight: bold; color: #FFF; text-shadow: 0 -1px 0 rgba(0,0,0,.9); border-color: #111; text-transform: uppercase;}.slate .dgrid-row-odd {background-color: #f7f7f7;}.slate .dgrid-row:hover {background-color: #ddd;}.slate .dgrid-selected,.slate .dgrid-selected:hover {background-color: #555; color: #fff; text-shadow: 0 -1px 0 rgba(0,0,0,.5);}.slate .dgrid-highlight {background-color: #999;}.slate .dgrid-sort-arrow {background-image: url("../images/ui-icons_ffffff_256x240.png");}.slate .dgrid-header .dojoDndItemBefore {border-left: 2px dotted #fff !important;}.slate .dgrid-header .dojoDndItemAfter {border-right: 2px dotted #fff !important;}.has-ie-6-7 .slate .dgrid-navigation a,.has-ie.has-quirks .slate .dgrid-navigation a {color: #fff;}
|
@ -0,0 +1 @@
|
||||
.soria .dgrid {border-color: #bba;}.soria .dgrid-content {background: #fff; color: #000;}.soria .dgrid-header,.soria .dgrid-footer {background: #f2f4fe; background: -moz-linear-gradient(top, #f2f4fe 0%, #d0dff5 50%, #c6d8f0 51%, #c2d5ef 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f2f4fe), color-stop(50%,#d0dff5), color-stop(51%,#c6d8f0), color-stop(100%,#c2d5ef)); background: -webkit-linear-gradient(top, #f2f4fe 0%,#d0dff5 50%,#c6d8f0 51%,#c2d5ef 100%); background: -o-linear-gradient(top, #f2f4fe 0%,#d0dff5 50%,#c6d8f0 51%,#c2d5ef 100%); background: -ms-linear-gradient(top, #f2f4fe 0%,#d0dff5 50%,#c6d8f0 51%,#c2d5ef 100%); background: linear-gradient(top, #f2f4fe 0%,#d0dff5 50%,#c6d8f0 51%,#c2d5ef 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f2f4fe', endColorstr='#c2d5ef',GradientType=0 );}.soria .dgrid-header th:hover {background: #d4deec; background: -moz-linear-gradient(top, #dae2ed 0%, #b2c7e8 49%, #a8c1eb 50%, #9ebaec 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#dae2ed), color-stop(49%,#b2c7e8), color-stop(50%,#a8c1eb), color-stop(100%,#9ebaec)); background: -webkit-linear-gradient(top, #dae2ed 0%,#b2c7e8 49%,#a8c1eb 50%,#9ebaec 100%); background: -o-linear-gradient(top, #dae2ed 0%,#b2c7e8 49%,#a8c1eb 50%,#9ebaec 100%); background: -ms-linear-gradient(top, #dae2ed 0%,#b2c7e8 49%,#a8c1eb 50%,#9ebaec 100%); background: linear-gradient(top, #dae2ed 0%,#b2c7e8 49%,#a8c1eb 50%,#9ebaec 100%);}.soria .dgrid-selected {background-color: #aec7e3;}.soria .dgrid-row:hover {background-color: #60a1ea;}.soria .dgrid-highlight {background-color: #ff6;}.soria .dgrid-cell {border-color: #ddc;}.soria .dgrid-header .dgrid-cell {border-color: #bba;}
|
@ -0,0 +1 @@
|
||||
.squid .dgrid-content {border: 1px solid #555; background: #000; color: #fff; text-shadow: 0 -1px 0 rgba(0,0,0,.7);}.squid .ui-icon {background-image: url("../images/ui-icons_ffffff_256x240.png");}.squid .dgrid-header {padding: 0 1px;}.squid .dgrid-header,.squid .dgrid-footer {color: #fff; background: #2d1f14; background: -moz-linear-gradient(top, #140e09 0%, #2d1f14 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#140e09), color-stop(100%,#2d1f14)); background: -webkit-linear-gradient(top, #140e09 0%,#2d1f14 100%); background: -o-linear-gradient(top, #140e09 0%,#2d1f14 100%); background: -ms-linear-gradient(top, #140e09 0%,#2d1f14 100%); background: linear-gradient(top, #140e09 0%,#2d1f14 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#140e09', endColorstr='#2d1f14',GradientType=0 ); color: #fff; font-weight: bold;}.squid .dgrid-header:hover {background: #000; background: -moz-linear-gradient(top, #000000 0%, #2d1f14 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#000000), color-stop(100%,#2d1f14)); background: -webkit-linear-gradient(top, #000000 0%,#2d1f14 100%); background: -o-linear-gradient(top, #000000 0%,#2d1f14 100%); background: -ms-linear-gradient(top, #000000 0%,#2d1f14 100%); background: linear-gradient(top, #000000 0%,#2d1f14 100%);}.squid .dgrid-row {-webkit-transition-duration: 0.2s; -moz-transition-duration: 0.2s; transition-duration: 0.2s; -webkit-transition-property: background-color, border-color; -moz-transition-property: background-color, border-color; transition-property: background-color, border-color; background: url("images/row_back.png") #000 repeat-x;}.squid .dgrid-row:hover {background-color: #444;}.has-ie-6 .squid .dgrid-row {background-image: none;}.squid .dgrid-selected {background-color: #64390d; text-shadow: 0 -1px 0 rgba(0,0,0,.3);}.squid .dgrid-selected:hover {background-color: #8b6b4a;}.squid .dgrid-highlight {background-color: #666;}.squid .dgrid-cell {border-color: #ccc;}.squid .dgrid-header .dojoDndItemBefore {border-left: 2px dotted #fff !important;}.squid .dgrid-header .dojoDndItemAfter {border-right: 2px dotted #fff !important;}.has-ie-6-7 .squid .dgrid-navigation a,.has-ie.has-quirks .squid .dgrid-navigation a {color: #fff;}
|
@ -0,0 +1 @@
|
||||
.tundra .dgrid {border-color: #bba;}.tundra .dgrid-content {background: #fff; color: #000;}.tundra .dgrid-header, .tundra .dgrid-footer {background: #e8e8e8; background: -moz-linear-gradient(top, #ffffff 0%, #e8e8e8 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#e8e8e8)); background: -webkit-linear-gradient(top, #ffffff 0%,#e8e8e8 100%); background: -o-linear-gradient(top, #ffffff 0%,#e8e8e8 100%); background: -ms-linear-gradient(top, #ffffff 0%,#e8e8e8 100%); background: linear-gradient(top, #ffffff 0%,#e8e8e8 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e8e8e8',GradientType=0 ); font-weight: bold;}.tundra .dgrid-header th:hover {background: #f6f6f6; background: -moz-linear-gradient(top, #ffffff 0%, #eeeeee 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#eeeeee)); background: -webkit-linear-gradient(top, #ffffff 0%,#eeeeee 100%); background: -o-linear-gradient(top, #ffffff 0%,#eeeeee 100%); background: -ms-linear-gradient(top, #ffffff 0%,#eeeeee 100%); background: linear-gradient(top, #ffffff 0%,#eeeeee 100%);}.tundra .dgrid-selected {background-color: #aec7e3;}.tundra .dgrid-row:hover {background-color: #60a1ea;}.tundra .dgrid-highlight {background-color: #ff6;}.tundra .dgrid-cell {border-color: #ddc;}.tundra .dgrid-header .dgrid-cell {border-color: #bba;}
|
@ -0,0 +1,195 @@
|
||||
Dojo is available under *either* the terms of the modified BSD license *or* the
|
||||
Academic Free License version 2.1. As a recipient of Dojo, you may choose which
|
||||
license to receive this code under (except as noted in per-module LICENSE
|
||||
files). Some modules may not be the copyright of the Dojo Foundation. These
|
||||
modules contain explicit declarations of copyright in both the LICENSE files in
|
||||
the directories in which they reside and in the code itself. No external
|
||||
contributions are allowed under licenses which are fundamentally incompatible
|
||||
with the AFL or BSD licenses that Dojo is distributed under.
|
||||
|
||||
The text of the AFL and BSD licenses is reproduced below.
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
The "New" BSD License:
|
||||
**********************
|
||||
|
||||
Copyright (c) 2005-2016, The Dojo Foundation
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
|
||||
* Redistributions of source code must retain the above copyright notice, this
|
||||
list of conditions and the following disclaimer.
|
||||
* Redistributions in binary form must reproduce the above copyright notice,
|
||||
this list of conditions and the following disclaimer in the documentation
|
||||
and/or other materials provided with the distribution.
|
||||
* Neither the name of the Dojo Foundation nor the names of its contributors
|
||||
may be used to endorse or promote products derived from this software
|
||||
without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
|
||||
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
||||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
||||
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
The Academic Free License, v. 2.1:
|
||||
**********************************
|
||||
|
||||
This Academic Free License (the "License") applies to any original work of
|
||||
authorship (the "Original Work") whose owner (the "Licensor") has placed the
|
||||
following notice immediately following the copyright notice for the Original
|
||||
Work:
|
||||
|
||||
Licensed under the Academic Free License version 2.1
|
||||
|
||||
1) Grant of Copyright License. Licensor hereby grants You a world-wide,
|
||||
royalty-free, non-exclusive, perpetual, sublicenseable license to do the
|
||||
following:
|
||||
|
||||
a) to reproduce the Original Work in copies;
|
||||
|
||||
b) to prepare derivative works ("Derivative Works") based upon the Original
|
||||
Work;
|
||||
|
||||
c) to distribute copies of the Original Work and Derivative Works to the
|
||||
public;
|
||||
|
||||
d) to perform the Original Work publicly; and
|
||||
|
||||
e) to display the Original Work publicly.
|
||||
|
||||
2) Grant of Patent License. Licensor hereby grants You a world-wide,
|
||||
royalty-free, non-exclusive, perpetual, sublicenseable license, under patent
|
||||
claims owned or controlled by the Licensor that are embodied in the Original
|
||||
Work as furnished by the Licensor, to make, use, sell and offer for sale the
|
||||
Original Work and Derivative Works.
|
||||
|
||||
3) Grant of Source Code License. The term "Source Code" means the preferred
|
||||
form of the Original Work for making modifications to it and all available
|
||||
documentation describing how to modify the Original Work. Licensor hereby
|
||||
agrees to provide a machine-readable copy of the Source Code of the Original
|
||||
Work along with each copy of the Original Work that Licensor distributes.
|
||||
Licensor reserves the right to satisfy this obligation by placing a
|
||||
machine-readable copy of the Source Code in an information repository
|
||||
reasonably calculated to permit inexpensive and convenient access by You for as
|
||||
long as Licensor continues to distribute the Original Work, and by publishing
|
||||
the address of that information repository in a notice immediately following
|
||||
the copyright notice that applies to the Original Work.
|
||||
|
||||
4) Exclusions From License Grant. Neither the names of Licensor, nor the names
|
||||
of any contributors to the Original Work, nor any of their trademarks or
|
||||
service marks, may be used to endorse or promote products derived from this
|
||||
Original Work without express prior written permission of the Licensor. Nothing
|
||||
in this License shall be deemed to grant any rights to trademarks, copyrights,
|
||||
patents, trade secrets or any other intellectual property of Licensor except as
|
||||
expressly stated herein. No patent license is granted to make, use, sell or
|
||||
offer to sell embodiments of any patent claims other than the licensed claims
|
||||
defined in Section 2. No right is granted to the trademarks of Licensor even if
|
||||
such marks are included in the Original Work. Nothing in this License shall be
|
||||
interpreted to prohibit Licensor from licensing under different terms from this
|
||||
License any Original Work that Licensor otherwise would have a right to
|
||||
license.
|
||||
|
||||
5) This section intentionally omitted.
|
||||
|
||||
6) Attribution Rights. You must retain, in the Source Code of any Derivative
|
||||
Works that You create, all copyright, patent or trademark notices from the
|
||||
Source Code of the Original Work, as well as any notices of licensing and any
|
||||
descriptive text identified therein as an "Attribution Notice." You must cause
|
||||
the Source Code for any Derivative Works that You create to carry a prominent
|
||||
Attribution Notice reasonably calculated to inform recipients that You have
|
||||
modified the Original Work.
|
||||
|
||||
7) Warranty of Provenance and Disclaimer of Warranty. Licensor warrants that
|
||||
the copyright in and to the Original Work and the patent rights granted herein
|
||||
by Licensor are owned by the Licensor or are sublicensed to You under the terms
|
||||
of this License with the permission of the contributor(s) of those copyrights
|
||||
and patent rights. Except as expressly stated in the immediately proceeding
|
||||
sentence, the Original Work is provided under this License on an "AS IS" BASIS
|
||||
and WITHOUT WARRANTY, either express or implied, including, without limitation,
|
||||
the warranties of NON-INFRINGEMENT, MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY OF THE ORIGINAL WORK IS WITH YOU.
|
||||
This DISCLAIMER OF WARRANTY constitutes an essential part of this License. No
|
||||
license to Original Work is granted hereunder except under this disclaimer.
|
||||
|
||||
8) Limitation of Liability. Under no circumstances and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise, shall the
|
||||
Licensor be liable to any person for any direct, indirect, special, incidental,
|
||||
or consequential damages of any character arising as a result of this License
|
||||
or the use of the Original Work including, without limitation, damages for loss
|
||||
of goodwill, work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses. This limitation of liability shall not
|
||||
apply to liability for death or personal injury resulting from Licensor's
|
||||
negligence to the extent applicable law prohibits such limitation. Some
|
||||
jurisdictions do not allow the exclusion or limitation of incidental or
|
||||
consequential damages, so this exclusion and limitation may not apply to You.
|
||||
|
||||
9) Acceptance and Termination. If You distribute copies of the Original Work or
|
||||
a Derivative Work, You must make a reasonable effort under the circumstances to
|
||||
obtain the express assent of recipients to the terms of this License. Nothing
|
||||
else but this License (or another written agreement between Licensor and You)
|
||||
grants You permission to create Derivative Works based upon the Original Work
|
||||
or to exercise any of the rights granted in Section 1 herein, and any attempt
|
||||
to do so except under the terms of this License (or another written agreement
|
||||
between Licensor and You) is expressly prohibited by U.S. copyright law, the
|
||||
equivalent laws of other countries, and by international treaty. Therefore, by
|
||||
exercising any of the rights granted to You in Section 1 herein, You indicate
|
||||
Your acceptance of this License and all of its terms and conditions.
|
||||
|
||||
10) Termination for Patent Action. This License shall terminate automatically
|
||||
and You may no longer exercise any of the rights granted to You by this License
|
||||
as of the date You commence an action, including a cross-claim or counterclaim,
|
||||
against Licensor or any licensee alleging that the Original Work infringes a
|
||||
patent. This termination provision shall not apply for an action alleging
|
||||
patent infringement by combinations of the Original Work with other software or
|
||||
hardware.
|
||||
|
||||
11) Jurisdiction, Venue and Governing Law. Any action or suit relating to this
|
||||
License may be brought only in the courts of a jurisdiction wherein the
|
||||
Licensor resides or in which Licensor conducts its primary business, and under
|
||||
the laws of that jurisdiction excluding its conflict-of-law provisions. The
|
||||
application of the United Nations Convention on Contracts for the International
|
||||
Sale of Goods is expressly excluded. Any use of the Original Work outside the
|
||||
scope of this License or after its termination shall be subject to the
|
||||
requirements and penalties of the U.S. Copyright Act, 17 U.S.C. § 101 et
|
||||
seq., the equivalent laws of other countries, and international treaty. This
|
||||
section shall survive the termination of this License.
|
||||
|
||||
12) Attorneys Fees. In any action to enforce the terms of this License or
|
||||
seeking damages relating thereto, the prevailing party shall be entitled to
|
||||
recover its costs and expenses, including, without limitation, reasonable
|
||||
attorneys' fees and costs incurred in connection with such action, including
|
||||
any appeal of such action. This section shall survive the termination of this
|
||||
License.
|
||||
|
||||
13) Miscellaneous. This License represents the complete agreement concerning
|
||||
the subject matter hereof. If any provision of this License is held to be
|
||||
unenforceable, such provision shall be reformed only to the extent necessary to
|
||||
make it enforceable.
|
||||
|
||||
14) Definition of "You" in This License. "You" throughout this License, whether
|
||||
in upper or lower case, means an individual or a legal entity exercising rights
|
||||
under, and complying with all of the terms of, this License. For legal
|
||||
entities, "You" includes any entity that controls, is controlled by, or is
|
||||
under common control with you. For purposes of this definition, "control" means
|
||||
(i) the power, direct or indirect, to cause the direction or management of such
|
||||
entity, whether by contract or otherwise, or (ii) ownership of fifty percent
|
||||
(50%) or more of the outstanding shares, or (iii) beneficial ownership of such
|
||||
entity.
|
||||
|
||||
15) Right to Use. You may use the Original Work in all ways not otherwise
|
||||
restricted or conditioned by this License or by law, and Licensor promises not
|
||||
to interfere with or be responsible for such uses by You.
|
||||
|
||||
This license is Copyright (C) 2003-2004 Lawrence E. Rosen. All rights reserved.
|
||||
Permission is hereby granted to copy and distribute this license without
|
||||
modification. This license may not be modified without the express written
|
||||
permission of its copyright owner.
|
After Width: | Height: | Size: 4.8 KiB |
After Width: | Height: | Size: 4.9 KiB |
After Width: | Height: | Size: 7.6 KiB |
After Width: | Height: | Size: 4.2 KiB |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 7.6 KiB |
After Width: | Height: | Size: 3.1 KiB |
After Width: | Height: | Size: 3.9 KiB |
After Width: | Height: | Size: 3.7 KiB |
After Width: | Height: | Size: 4.1 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 630 B |
@ -0,0 +1,8 @@
|
||||
define(
|
||||
"dijit/nls/ar/common", ({
|
||||
buttonOk: "حسنا",
|
||||
buttonCancel: "الغاء",
|
||||
buttonSave: "حفظ",
|
||||
itemClose: "اغلاق"
|
||||
})
|
||||
);
|
@ -0,0 +1,6 @@
|
||||
define(
|
||||
"dijit/nls/ar/loading", ({
|
||||
loadingState: "جاري التحميل...",
|
||||
errorState: "عفوا، حدث خطأ"
|
||||
})
|
||||
);
|
@ -0,0 +1,8 @@
|
||||
define(
|
||||
"dijit/nls/az/common", ({
|
||||
"buttonOk" : "Ok",
|
||||
"buttonCancel" : "Ləğv et",
|
||||
"buttonSave" : "Saxla",
|
||||
"itemClose" : "Bağla"
|
||||
})
|
||||
);
|
@ -0,0 +1,6 @@
|
||||
define(
|
||||
"dijit/nls/az/loading", ({
|
||||
"loadingState" : "Yüklənir...",
|
||||
"errorState" : "Problem yarandı"
|
||||
})
|
||||
);
|
@ -0,0 +1,8 @@
|
||||
define(
|
||||
"dijit/nls/bg/common", ({
|
||||
buttonOk: "ОК",
|
||||
buttonCancel: "Отмени",
|
||||
buttonSave: "Запази",
|
||||
itemClose: "Затвори"
|
||||
})
|
||||
);
|
@ -0,0 +1,6 @@
|
||||
define(
|
||||
"dijit/nls/bg/loading", ({
|
||||
loadingState: "Зареждане...",
|
||||
errorState: "Съжаляваме, възникна грешка"
|
||||
})
|
||||
);
|
@ -0,0 +1,9 @@
|
||||
define("dijit/nls/bs/common", {
|
||||
//begin v1.x content
|
||||
buttonOk: "OK",
|
||||
buttonCancel: "Odustani",
|
||||
buttonSave: "Spremi",
|
||||
itemClose: "Zatvori"
|
||||
//end v1.x content
|
||||
});
|
||||
|
@ -0,0 +1,7 @@
|
||||
define("dijit/nls/bs/loading", {
|
||||
//begin v1.x content
|
||||
loadingState: "Učitavanje...",
|
||||
errorState: "Izvinite, došlo je do greške"
|
||||
//end v1.x content
|
||||
});
|
||||
|
@ -0,0 +1,8 @@
|
||||
define(
|
||||
"dijit/nls/ca/common", ({
|
||||
buttonOk: "D'acord",
|
||||
buttonCancel: "Cancel·la",
|
||||
buttonSave: "Desa",
|
||||
itemClose: "Tanca"
|
||||
})
|
||||
);
|
@ -0,0 +1,6 @@
|
||||
define(
|
||||
"dijit/nls/ca/loading", ({
|
||||
loadingState: "S'està carregant...",
|
||||
errorState: "Ens sap greu. S'ha produït un error."
|
||||
})
|
||||
);
|
@ -0,0 +1,49 @@
|
||||
define("dijit/nls/common", { root:
|
||||
//begin v1.x content
|
||||
({
|
||||
buttonOk: "OK",
|
||||
buttonCancel: "Cancel",
|
||||
buttonSave: "Save",
|
||||
itemClose: "Close"
|
||||
})
|
||||
//end v1.x content
|
||||
,
|
||||
"bs": true,
|
||||
"mk": true,
|
||||
"sr": true,
|
||||
"zh": true,
|
||||
"zh-tw": true,
|
||||
"uk": true,
|
||||
"tr": true,
|
||||
"th": true,
|
||||
"sv": true,
|
||||
"sl": true,
|
||||
"sk": true,
|
||||
"ru": true,
|
||||
"ro": true,
|
||||
"pt": true,
|
||||
"pt-pt": true,
|
||||
"pl": true,
|
||||
"nl": true,
|
||||
"nb": true,
|
||||
"ko": true,
|
||||
"kk": true,
|
||||
"ja": true,
|
||||
"it": true,
|
||||
"id": true,
|
||||
"hu": true,
|
||||
"hr": true,
|
||||
"he": true,
|
||||
"fr": true,
|
||||
"fi": true,
|
||||
"eu": true,
|
||||
"es": true,
|
||||
"el": true,
|
||||
"de": true,
|
||||
"da": true,
|
||||
"cs": true,
|
||||
"ca": true,
|
||||
"bg": true,
|
||||
"az": true,
|
||||
"ar": true
|
||||
});
|
@ -0,0 +1,8 @@
|
||||
define(
|
||||
"dijit/nls/cs/common", ({
|
||||
buttonOk: "OK",
|
||||
buttonCancel: "Storno",
|
||||
buttonSave: "Uložit",
|
||||
itemClose: "Zavřít"
|
||||
})
|
||||
);
|
@ -0,0 +1,6 @@
|
||||
define(
|
||||
"dijit/nls/cs/loading", ({
|
||||
loadingState: "Probíhá načítání...",
|
||||
errorState: "Omlouváme se, došlo k chybě"
|
||||
})
|
||||
);
|
@ -0,0 +1,8 @@
|
||||
define(
|
||||
"dijit/nls/da/common", ({
|
||||
buttonOk: "OK",
|
||||
buttonCancel: "Annullér",
|
||||
buttonSave: "Gem",
|
||||
itemClose: "Luk"
|
||||
})
|
||||
);
|
@ -0,0 +1,6 @@
|
||||
define(
|
||||
"dijit/nls/da/loading", ({
|
||||
loadingState: "Indlæser...",
|
||||
errorState: "Der er opstået en fejl"
|
||||
})
|
||||
);
|
@ -0,0 +1,8 @@
|
||||
define(
|
||||
"dijit/nls/de/common", ({
|
||||
buttonOk: "OK",
|
||||
buttonCancel: "Abbrechen",
|
||||
buttonSave: "Speichern",
|
||||
itemClose: "Schließen"
|
||||
})
|
||||
);
|