@ -3,9 +3,9 @@
*
* Code generated for Simulink model ' BLDC_controller ' .
*
* Model version : 1.12 60
* Model version : 1.12 84
* Simulink Coder version : 8.13 ( R2017b ) 24 - Jul - 2017
* C / C + + source code generated on : Tue Mar 24 11 : 01 : 08 2020
* C / C + + source code generated on : Sun Oct 11 21 : 38 : 56 2020
*
* Target selection : ert . tlc
* Embedded hardware selection : ARM Compatible - > ARM Cortex
@ -32,82 +32,97 @@ typedef struct tag_RTM RT_MODEL;
/* Block signals and states (auto storage) for system '<S12>/Counter' */
typedef struct {
int16_T UnitDelay_DSTATE ; /* '<S1 6 >/UnitDelay' */
int16_T UnitDelay_DSTATE ; /* '<S1 7 >/UnitDelay' */
} DW_Counter ;
/* Block signals and states (auto storage) for system '<S5 4 >/PI_clamp_fixdt' */
/* Block signals and states (auto storage) for system '<S5 7 >/PI_clamp_fixdt' */
typedef struct {
int32_T UnitDelay_DSTATE ; /* '<S68>/UnitDelay' */
boolean_T UnitDelay1_DSTATE ; /* '<S65>/UnitDelay1' */
int32_T ResettableDelay_DSTATE ; /* '<S71>/Resettable Delay' */
uint8_T icLoad ; /* '<S71>/Resettable Delay' */
boolean_T UnitDelay1_DSTATE ; /* '<S68>/UnitDelay1' */
} DW_PI_clamp_fixdt ;
/* Block signals and states (auto storage) for system '<S 41>/Low_Pass_Filter ' */
/* Block signals and states (auto storage) for system '<S 55>/PI_clamp_fixdt ' */
typedef struct {
int32_T UnitDelay1_DSTATE [ 2 ] ; /* '<S50>/UnitDelay1' */
int32_T ResettableDelay_DSTATE ; /* '<S61>/Resettable Delay' */
uint8_T icLoad ; /* '<S61>/Resettable Delay' */
boolean_T UnitDelay1_DSTATE ; /* '<S59>/UnitDelay1' */
} DW_PI_clamp_fixdt_i ;
/* Block signals and states (auto storage) for system '<S56>/PI_clamp_fixdt' */
typedef struct {
int16_T ResettableDelay_DSTATE ; /* '<S66>/Resettable Delay' */
uint8_T icLoad ; /* '<S66>/Resettable Delay' */
boolean_T UnitDelay1_DSTATE ; /* '<S63>/UnitDelay1' */
} DW_PI_clamp_fixdt_e ;
/* Block signals and states (auto storage) for system '<S43>/Low_Pass_Filter' */
typedef struct {
int32_T UnitDelay1_DSTATE [ 2 ] ; /* '<S53>/UnitDelay1' */
} DW_Low_Pass_Filter ;
/* Block signals and states (auto storage) for system '<S73>/I_backCalc_fixdt' */
/* Block signals and states (auto storage) for system '<S7 6 >/I_backCalc_fixdt' */
typedef struct {
int32_T UnitDelay_DSTATE ; /* '<S78>/UnitDelay' */
int32_T UnitDelay_DSTATE_h ; /* '<S80>/UnitDelay' */
int32_T UnitDelay_DSTATE ; /* '<S 81 >/UnitDelay' */
int32_T UnitDelay_DSTATE_h ; /* '<S8 3 >/UnitDelay' */
} DW_I_backCalc_fixdt ;
/* Block signals and states (auto storage) for system '<S21>/Counter' */
/* Block signals and states (auto storage) for system '<S2 3 >/Counter' */
typedef struct {
uint16_T UnitDelay_DSTATE ; /* '<S26>/UnitDelay' */
uint16_T UnitDelay_DSTATE ; /* '<S2 8 >/UnitDelay' */
} DW_Counter_l ;
/* Block signals and states (auto storage) for system '<S17>/either_edge' */
/* Block signals and states (auto storage) for system '<S1 9 >/either_edge' */
typedef struct {
boolean_T UnitDelay_DSTATE ; /* '<S2 2 >/UnitDelay' */
boolean_T UnitDelay_DSTATE ; /* '<S2 4 >/UnitDelay' */
} DW_either_edge ;
/* Block signals and states (auto storage) for system '<S3>/Debounce_Filter' */
typedef struct {
DW_either_edge either_edge_k ; /* '<S1 7 >/either_edge' */
DW_Counter_l Counter_h ; /* '<S2 0 >/Counter' */
DW_Counter_l Counter_i0 ; /* '<S2 1 >/Counter' */
boolean_T UnitDelay_DSTATE ; /* '<S1 7 >/UnitDelay' */
DW_either_edge either_edge_k ; /* '<S1 9 >/either_edge' */
DW_Counter_l Counter_h ; /* '<S2 2 >/Counter' */
DW_Counter_l Counter_i0 ; /* '<S2 3 >/Counter' */
boolean_T UnitDelay_DSTATE ; /* '<S1 9 >/UnitDelay' */
} DW_Debounce_Filter ;
/* Block signals and states (auto storage) for system '<Root>' */
typedef struct {
DW_either_edge either_edge_a ; /* '<S3>/either_edge' */
DW_Debounce_Filter Debounce_Filter_f ; /* '<S3>/Debounce_Filter' */
DW_I_backCalc_fixdt I_backCalc_fixdt_g ; /* '<S7 2 >/I_backCalc_fixdt' */
DW_I_backCalc_fixdt I_backCalc_fixdt1 ; /* '<S7 3 >/I_backCalc_fixdt1' */
DW_I_backCalc_fixdt I_backCalc_fixdt_i ; /* '<S7 3 >/I_backCalc_fixdt' */
DW_Low_Pass_Filter Low_Pass_Filter_m ; /* '<S4 1 >/Low_Pass_Filter' */
DW_PI_clamp_fixdt PI_clamp_fixdt_a ; /* '<S53 >/PI_clamp_fixdt' */
DW_PI_clamp_fixdt PI_clamp_fixdt_o ; /* '<S52 >/PI_clamp_fixdt' */
DW_PI_clamp_fixdt PI_clamp_fixdt_k ; /* '<S5 4 >/PI_clamp_fixdt' */
DW_I_backCalc_fixdt I_backCalc_fixdt_g ; /* '<S7 5 >/I_backCalc_fixdt' */
DW_I_backCalc_fixdt I_backCalc_fixdt1 ; /* '<S7 6 >/I_backCalc_fixdt1' */
DW_I_backCalc_fixdt I_backCalc_fixdt_i ; /* '<S7 6 >/I_backCalc_fixdt' */
DW_Low_Pass_Filter Low_Pass_Filter_m ; /* '<S4 3 >/Low_Pass_Filter' */
DW_PI_clamp_fixdt _e PI_clamp_fixdt_at ; /* '<S56 >/PI_clamp_fixdt' */
DW_PI_clamp_fixdt _i PI_clamp_fixdt_oc ; /* '<S55 >/PI_clamp_fixdt' */
DW_PI_clamp_fixdt PI_clamp_fixdt_k ; /* '<S5 7 >/PI_clamp_fixdt' */
DW_Counter Counter_e ; /* '<S12>/Counter' */
int32_T Divide1 ; /* '<S7 1 >/Divide1' */
int32_T UnitDelay_DSTATE ; /* '<S3 6 >/UnitDelay' */
int16_T Gain4 [ 3 ] ; /* '<S4 3 >/Gain4' */
int16_T DataTypeConversion [ 2 ] ; /* '<S5 0 >/Data Type Conversion' */
int16_T z_counterRawPrev ; /* '<S1 5 >/z_counterRawPrev' */
int16_T Merge1 ; /* '<S 29 >/Merge1' */
int32_T Divide1 ; /* '<S7 4 >/Divide1' */
int32_T UnitDelay_DSTATE ; /* '<S3 8 >/UnitDelay' */
int16_T Gain4 [ 3 ] ; /* '<S4 5 >/Gain4' */
int16_T DataTypeConversion [ 2 ] ; /* '<S5 3 >/Data Type Conversion' */
int16_T z_counterRawPrev ; /* '<S1 6 >/z_counterRawPrev' */
int16_T Merge1 ; /* '<S 31 >/Merge1' */
int16_T Divide3 ; /* '<S5>/Divide3' */
int16_T Vd_max1 ; /* '<S4 5 >/Vd_max1' */
int16_T Gain3 ; /* '<S4 5 >/Gain3' */
int16_T Vq_max_M1 ; /* '<S4 5 >/Vq_max_M1' */
int16_T Gain5 ; /* '<S4 5 >/Gain5' */
int16_T i_max ; /* '<S4 5 >/i_max' */
int16_T Divide1_a ; /* '<S4 5 >/Divide1' */
int16_T Gain1 ; /* '<S4 5 >/Gain1' */
int16_T Gain4_c ; /* '<S4 5 >/Gain4' */
int16_T Switch2 ; /* '<S 77 >/Switch2' */
int16_T Switch2_l ; /* '<S8 3 >/Switch2' */
int16_T Switch2_c ; /* '<S8 1 >/Switch2' */
int16_T Merge ; /* '<S4 2 >/Merge' */
int16_T Switch1 ; /* '<S 69 >/Switch1' */
int16_T Divide11 ; /* '<S1 5 >/Divide11' */
int16_T Vd_max1 ; /* '<S4 7 >/Vd_max1' */
int16_T Gain3 ; /* '<S4 7 >/Gain3' */
int16_T Vq_max_M1 ; /* '<S4 7 >/Vq_max_M1' */
int16_T Gain5 ; /* '<S4 7 >/Gain5' */
int16_T i_max ; /* '<S4 7 >/i_max' */
int16_T Divide1_a ; /* '<S4 7 >/Divide1' */
int16_T Gain1 ; /* '<S4 7 >/Gain1' */
int16_T Gain4_c ; /* '<S4 7 >/Gain4' */
int16_T Switch2 ; /* '<S 80 >/Switch2' */
int16_T Switch2_l ; /* '<S8 6 >/Switch2' */
int16_T Switch2_c ; /* '<S8 4 >/Switch2' */
int16_T Merge ; /* '<S4 4 >/Merge' */
int16_T Switch1 ; /* '<S 72 >/Switch1' */
int16_T Divide11 ; /* '<S1 6 >/Divide11' */
int16_T UnitDelay3_DSTATE ; /* '<S12>/UnitDelay3' */
int16_T UnitDelay4_DSTATE ; /* '<S1 5 >/UnitDelay4' */
int16_T UnitDelay2_DSTATE ; /* '<S1 5 >/UnitDelay2' */
int16_T UnitDelay3_DSTATE_o ; /* '<S1 5 >/UnitDelay3' */
int16_T UnitDelay5_DSTATE ; /* '<S1 5 >/UnitDelay5' */
int16_T UnitDelay4_DSTATE ; /* '<S1 6 >/UnitDelay4' */
int16_T UnitDelay2_DSTATE ; /* '<S1 6 >/UnitDelay2' */
int16_T UnitDelay3_DSTATE_o ; /* '<S1 6 >/UnitDelay3' */
int16_T UnitDelay5_DSTATE ; /* '<S1 6 >/UnitDelay5' */
int16_T UnitDelay4_DSTATE_e ; /* '<S12>/UnitDelay4' */
int16_T UnitDelay4_DSTATE_eu ; /* '<S7>/UnitDelay4' */
int16_T UnitDelay4_DSTATE_h ; /* '<S6>/UnitDelay4' */
@ -115,8 +130,10 @@ typedef struct {
int8_T UnitDelay2_DSTATE_b ; /* '<S11>/UnitDelay2' */
int8_T If4_ActiveSubsystem ; /* '<S1>/If4' */
int8_T If1_ActiveSubsystem ; /* '<S1>/If1' */
int8_T If2_ActiveSubsystem ; /* '<S 29 >/If2' */
int8_T If2_ActiveSubsystem ; /* '<S 31 >/If2' */
int8_T If2_ActiveSubsystem_a ; /* '<S6>/If2' */
int8_T If1_ActiveSubsystem_e ; /* '<S6>/If1' */
int8_T SwitchCase_ActiveSubsystem ; /* '<S44>/Switch Case' */
uint8_T z_ctrlMod ; /* '<S4>/F03_02_Control_Mode_Manager' */
uint8_T UnitDelay3_DSTATE_fy ; /* '<S9>/UnitDelay3' */
uint8_T UnitDelay1_DSTATE ; /* '<S9>/UnitDelay1' */
@ -124,51 +141,51 @@ typedef struct {
uint8_T is_active_c1_BLDC_controller ; /* '<S4>/F03_02_Control_Mode_Manager' */
uint8_T is_c1_BLDC_controller ; /* '<S4>/F03_02_Control_Mode_Manager' */
uint8_T is_ACTIVE ; /* '<S4>/F03_02_Control_Mode_Manager' */
boolean_T Merge_n ; /* '<S1 7 >/Merge' */
boolean_T dz_cntTrnsDet ; /* '<S1 5 >/dz_cntTrnsDet' */
boolean_T Merge_n ; /* '<S1 9 >/Merge' */
boolean_T dz_cntTrnsDet ; /* '<S1 6 >/dz_cntTrnsDet' */
boolean_T UnitDelay2_DSTATE_g ; /* '<S8>/UnitDelay2' */
boolean_T UnitDelay5_DSTATE_l ; /* '<S8>/UnitDelay5' */
boolean_T UnitDelay6_DSTATE ; /* '<S8>/UnitDelay6' */
boolean_T UnitDelay_DSTATE_ e; /* '<S35 >/UnitDelay' */
boolean_T UnitDelay1_DSTATE_n ; /* '<S1 5 >/UnitDelay1' */
boolean_T UnitDelay_DSTATE_ b; /* '<S37 >/UnitDelay' */
boolean_T UnitDelay1_DSTATE_n ; /* '<S1 6 >/UnitDelay1' */
boolean_T n_commDeacv_Mode ; /* '<S12>/n_commDeacv' */
boolean_T dz_cntTrnsDet_Mode ; /* '<S1 5 >/dz_cntTrnsDet' */
boolean_T dz_cntTrnsDet_Mode ; /* '<S1 6 >/dz_cntTrnsDet' */
} DW ;
/* Constant parameters (auto storage) */
typedef struct {
/* Computed Parameter: r_sin3PhaA_M1_Table
* Referenced by : ' < S8 6 > / r_sin3PhaA_M1 '
* Referenced by : ' < S8 9 > / r_sin3PhaA_M1 '
*/
int16_T r_sin3PhaA_M1_Table [ 181 ] ;
/* Computed Parameter: r_sin3PhaB_M1_Table
* Referenced by : ' < S8 6 > / r_sin3PhaB_M1 '
* Referenced by : ' < S8 9 > / r_sin3PhaB_M1 '
*/
int16_T r_sin3PhaB_M1_Table [ 181 ] ;
/* Computed Parameter: r_sin3PhaC_M1_Table
* Referenced by : ' < S8 6 > / r_sin3PhaC_M1 '
* Referenced by : ' < S8 9 > / r_sin3PhaC_M1 '
*/
int16_T r_sin3PhaC_M1_Table [ 181 ] ;
/* Computed Parameter: r_sin_M1_Table
* Referenced by : ' < S4 7 > / r_sin_M1 '
* Referenced by : ' < S4 9 > / r_sin_M1 '
*/
int16_T r_sin_M1_Table [ 181 ] ;
/* Computed Parameter: r_cos_M1_Table
* Referenced by : ' < S4 7 > / r_cos_M1 '
* Referenced by : ' < S4 9 > / r_cos_M1 '
*/
int16_T r_cos_M1_Table [ 181 ] ;
/* Computed Parameter: iq_maxSca_M1_Table
* Referenced by : ' < S4 5 > / iq_maxSca_M1 '
* Referenced by : ' < S4 7 > / iq_maxSca_M1 '
*/
uint16_T iq_maxSca_M1_Table [ 50 ] ;
/* Computed Parameter: z_commutMap_M1_table
* Referenced by : ' < S8 4 > / z_commutMap_M1 '
* Referenced by : ' < S8 7 > / z_commutMap_M1 '
*/
int8_T z_commutMap_M1_table [ 18 ] ;
@ -189,6 +206,7 @@ typedef struct {
int16_T i_phaAB ; /* '<Root>/i_phaAB' */
int16_T i_phaBC ; /* '<Root>/i_phaBC' */
int16_T i_DCLink ; /* '<Root>/i_DCLink' */
int16_T a_mechAngle ; /* '<Root>/a_mechAngle' */
} ExtU ;
/* External outputs (root outports fed by signals with auto storage) */
@ -199,20 +217,23 @@ typedef struct {
uint8_T z_errCode ; /* '<Root>/z_errCode' */
int16_T n_mot ; /* '<Root>/n_mot' */
int16_T a_elecAngle ; /* '<Root>/a_elecAngle' */
int16_T r_devSignal1; /* '<Root>/r_devSignal1 ' */
int16_T r_devSignal2; /* '<Root>/r_devSignal2 ' */
int16_T iq; /* '<Root>/iq ' */
int16_T id; /* '<Root>/id ' */
} ExtY ;
/* Parameters (auto storage) */
struct P_ {
int32_T dV_openRate ; /* Variable: dV_openRate
* Referenced by : ' < S3 3 > / dV_openRate '
* Referenced by : ' < S3 5 > / dV_openRate '
*/
int16_T dz_cntTrnsDetHi ; /* Variable: dz_cntTrnsDetHi
* Referenced by : ' < S1 5 > / dz_cntTrnsDet '
* Referenced by : ' < S1 6 > / dz_cntTrnsDet '
*/
int16_T dz_cntTrnsDetLo ; /* Variable: dz_cntTrnsDetLo
* Referenced by : ' < S15 > / dz_cntTrnsDet '
* Referenced by : ' < S16 > / dz_cntTrnsDet '
*/
int16_T n_cruiseMotTgt ; /* Variable: n_cruiseMotTgt
* Referenced by : ' < S55 > / n_cruiseMotTgt '
*/
int16_T z_maxCntRst ; /* Variable: z_maxCntRst
* Referenced by :
@ -220,10 +241,10 @@ struct P_ {
* ' < S12 > / z_maxCntRst '
* ' < S12 > / z_maxCntRst2 '
* ' < S12 > / UnitDelay3 '
* ' < S1 5 > / z_counter '
* ' < S1 6 > / z_counter '
*/
uint16_T cf_speedCoef ; /* Variable: cf_speedCoef
* Referenced by : ' < S1 5 > / cf_speedCoef '
* Referenced by : ' < S1 6 > / cf_speedCoef '
*/
uint16_T t_errDequal ; /* Variable: t_errDequal
* Referenced by : ' < S3 > / t_errDequal '
@ -233,22 +254,22 @@ struct P_ {
*/
int16_T Vd_max ; /* Variable: Vd_max
* Referenced by :
* ' < S4 5 > / Vd_max1 '
* ' < S3 2 > / Vd_max '
* ' < S4 7 > / Vd_max1 '
* ' < S3 4 > / Vd_max '
*/
int16_T Vq_max_M1 [ 46 ] ; /* Variable: Vq_max_M1
* Referenced by : ' < S4 5 > / Vq_max_M1 '
* Referenced by : ' < S4 7 > / Vq_max_M1 '
*/
int16_T Vq_max_XA [ 46 ] ; /* Variable: Vq_max_XA
* Referenced by : ' < S4 5 > / Vq_max_XA '
* Referenced by : ' < S4 7 > / Vq_max_XA '
*/
int16_T a_phaAdvMax ; /* Variable: a_phaAdvMax
* Referenced by : ' < S5 > / a_phaAdvMax '
*/
int16_T i_max ; /* Variable: i_max
* Referenced by :
* ' < S4 5 > / i_max '
* ' < S3 2 > / i_max '
* ' < S4 7 > / i_max '
* ' < S3 4 > / i_max '
*/
int16_T id_fieldWeakMax ; /* Variable: id_fieldWeakMax
* Referenced by : ' < S5 > / id_fieldWeakMax '
@ -267,8 +288,8 @@ struct P_ {
*/
int16_T n_max ; /* Variable: n_max
* Referenced by :
* ' < S4 5 > / n_max1 '
* ' < S3 2 > / n_max '
* ' < S4 7 > / n_max1 '
* ' < S3 4 > / n_max '
*/
int16_T n_stdStillDet ; /* Variable: n_stdStillDet
* Referenced by : ' < S12 > / n_stdStillDet '
@ -284,42 +305,56 @@ struct P_ {
*/
uint16_T cf_KbLimProt ; /* Variable: cf_KbLimProt
* Referenced by :
* ' < S7 2 > / cf_KbLimProt '
* ' < S7 3 > / cf_KbLimProt '
* ' < S7 5 > / cf_KbLimProt '
* ' < S7 6 > / cf_KbLimProt '
*/
uint16_T cf_idKp ; /* Variable: cf_idKp
* Referenced by : ' < S5 4 > / cf_idKp1 '
* Referenced by : ' < S5 7 > / cf_idKp1 '
*/
uint16_T cf_iqKp ; /* Variable: cf_iqKp
* Referenced by : ' < S5 3 > / cf_iqKp '
* Referenced by : ' < S5 6 > / cf_iqKp '
*/
uint16_T cf_nKp ; /* Variable: cf_nKp
* Referenced by : ' < S5 2 > / cf_nKp '
* Referenced by : ' < S5 5 > / cf_nKp '
*/
uint16_T cf_currFilt ; /* Variable: cf_currFilt
* Referenced by : ' < S4 1 > / cf_currFilt '
* Referenced by : ' < S4 3 > / cf_currFilt '
*/
uint16_T cf_idKi ; /* Variable: cf_idKi
* Referenced by : ' < S5 4 > / cf_idKi1 '
* Referenced by : ' < S5 7 > / cf_idKi1 '
*/
uint16_T cf_iqKi ; /* Variable: cf_iqKi
* Referenced by : ' < S5 3 > / cf_iqKi '
* Referenced by : ' < S5 6 > / cf_iqKi '
*/
uint16_T cf_iqKiLimProt ; /* Variable: cf_iqKiLimProt
* Referenced by :
* ' < S7 1 > / cf_iqKiLimProt '
* ' < S7 3 > / cf_iqKiLimProt '
* ' < S7 4 > / cf_iqKiLimProt '
* ' < S7 6 > / cf_iqKiLimProt '
*/
uint16_T cf_nKi ; /* Variable: cf_nKi
* Referenced by : ' < S5 2 > / cf_nKi '
* Referenced by : ' < S5 5 > / cf_nKi '
*/
uint16_T cf_nKiLimProt ; /* Variable: cf_nKiLimProt
* Referenced by :
* ' < S72 > / cf_nKiLimProt '
* ' < S73 > / cf_nKiLimProt '
* ' < S75 > / cf_nKiLimProt '
* ' < S76 > / cf_nKiLimProt '
*/
uint8_T n_polePairs ; /* Variable: n_polePairs
* Referenced by : ' < S14 > / n_polePairs '
*/
uint8_T z_ctrlTypSel ; /* Variable: z_ctrlTypSel
* Referenced by : ' < S1 > / z_ctrlTypSel1 '
* Referenced by : ' < S1 > / z_ctrlTypSel '
*/
uint8_T z_selPhaCurMeasABC ; /* Variable: z_selPhaCurMeasABC
* Referenced by : ' < S42 > / z_selPhaCurMeasABC '
*/
boolean_T b_angleMeasEna ; /* Variable: b_angleMeasEna
* Referenced by :
* ' < S2 > / b_angleMeasEna '
* ' < S12 > / b_angleMeasEna '
*/
boolean_T b_cruiseCtrlEna ; /* Variable: b_cruiseCtrlEna
* Referenced by : ' < S1 > / b_cruiseCtrlEna '
*/
boolean_T b_diagEna ; /* Variable: b_diagEna
* Referenced by : ' < S1 > / b_diagEna '
@ -327,10 +362,7 @@ struct P_ {
boolean_T b_fieldWeakEna ; /* Variable: b_fieldWeakEna
* Referenced by :
* ' < S1 > / b_fieldWeakEna '
* ' < S87 > / b_fieldWeakEna '
*/
boolean_T b_selPhaABCurrMeas ; /* Variable: b_selPhaABCurrMeas
* Referenced by : ' < S40 > / b_selPhaABCurrMeas '
* ' < S90 > / b_fieldWeakEna '
*/
} ;
@ -357,30 +389,30 @@ extern void BLDC_controller_step(RT_MODEL *const rtM);
*
* Block ' < S12 > / Scope2 ' : Unused code path elimination
* Block ' < S13 > / Scope ' : Unused code path elimination
* Block ' < S37 > / Data Type Duplicate ' : Unused code path elimination
* Block ' < S37 > / Data Type Propagation ' : Unused code path elimination
* Block ' < S38 > / Data Type Duplicate ' : Unused code path elimination
* Block ' < S38 > / Data Type Propagation ' : Unused code path elimination
* Block ' < S39 > / Data Type Duplicate ' : Unused code path elimination
* Block ' < S39 > / Data Type Propagation ' : Unused code path elimination
* Block ' < S61 > / Data Type Duplicate ' : Unused code path elimination
* Block ' < S61 > / Data Type Propagation ' : Unused code path elimination
* Block ' < S66 > / Data Type Duplicate ' : Unused code path elimination
* Block ' < S66 > / Data Type Propagation ' : Unused code path elimination
* Block ' < S70 > / Data Type Duplicate ' : Unused code path elimination
* Block ' < S70 > / Data Type Propagation ' : Unused code path elimination
* Block ' < S74 > / Data Type Duplicate ' : Unused code path elimination
* Block ' < S74 > / Data Type Propagation ' : Unused code path elimination
* Block ' < S40 > / Data Type Duplicate ' : Unused code path elimination
* Block ' < S40 > / Data Type Propagation ' : Unused code path elimination
* Block ' < S41 > / Data Type Duplicate ' : Unused code path elimination
* Block ' < S41 > / Data Type Propagation ' : Unused code path elimination
* Block ' < S64 > / Data Type Duplicate ' : Unused code path elimination
* Block ' < S64 > / Data Type Propagation ' : Unused code path elimination
* Block ' < S69 > / Data Type Duplicate ' : Unused code path elimination
* Block ' < S69 > / Data Type Propagation ' : Unused code path elimination
* Block ' < S73 > / Data Type Duplicate ' : Unused code path elimination
* Block ' < S73 > / Data Type Propagation ' : Unused code path elimination
* Block ' < S77 > / Data Type Duplicate ' : Unused code path elimination
* Block ' < S77 > / Data Type Propagation ' : Unused code path elimination
* Block ' < S81 > / Data Type Duplicate ' : Unused code path elimination
* Block ' < S81 > / Data Type Propagation ' : Unused code path elimination
* Block ' < S83 > / Data Type Duplicate ' : Unused code path elimination
* Block ' < S83 > / Data Type Propagation ' : Unused code path elimination
* Block ' < S80 > / Data Type Duplicate ' : Unused code path elimination
* Block ' < S80 > / Data Type Propagation ' : Unused code path elimination
* Block ' < S84 > / Data Type Duplicate ' : Unused code path elimination
* Block ' < S84 > / Data Type Propagation ' : Unused code path elimination
* Block ' < S86 > / Data Type Duplicate ' : Unused code path elimination
* Block ' < S86 > / Data Type Propagation ' : Unused code path elimination
* Block ' < S6 > / Scope12 ' : Unused code path elimination
* Block ' < S6 > / Scope8 ' : Unused code path elimination
* Block ' < S 6> / Scope9 ' : Unused code path elimination
* Block ' < S 87> / Scope ' : Unused code path eliminat ion
* Block ' < S 90> / Scope ' : Unused code path elimination
* Block ' < S 66> / Data Type Conversion1 ' : Eliminate redundant data type convers ion
* Block ' < S8 > / Data Type Conversion ' : Eliminate redundant data type conversion
*/
@ -396,100 +428,103 @@ extern void BLDC_controller_step(RT_MODEL *const rtM);
* MATLAB hilite_system command to trace the generated code back
* to the parent model . For example ,
*
* hilite_system ( ' BLDCmotor Control _FOC_R2017b_fixdt/ BLDC_controller ' ) - opens subsystem BLDCmotor Control _FOC_R2017b_fixdt/ BLDC_controller
* hilite_system ( ' BLDCmotor Control _FOC_R2017b_fixdt/ BLDC_controller / Kp ' ) - opens and selects block Kp
* hilite_system ( ' BLDCmotor _FOC_R2017b_fixdt/ BLDC_controller ' ) - opens subsystem BLDCmotor _FOC_R2017b_fixdt/ BLDC_controller
* hilite_system ( ' BLDCmotor _FOC_R2017b_fixdt/ BLDC_controller / Kp ' ) - opens and selects block Kp
*
* Here is the system hierarchy for this model
*
* ' < Root > ' : ' BLDCmotorControl_FOC_R2017b_fixdt '
* ' < S1 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller '
* ' < S2 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F01_Estimations '
* ' < S3 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F02_Diagnostics '
* ' < S4 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F03_Control_Mode_Manager '
* ' < S5 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F04_Field_Weakening '
* ' < S6 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control '
* ' < S7 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F06_Control_Type_Management '
* ' < S8 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / Task_Scheduler '
* ' < S9 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F01_Estimations / F01_01_Edge_Detector '
* ' < S10 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F01_Estimations / F01_02_Position_Calculation '
* ' < S11 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F01_Estimations / F01_03_Direction_Detection '
* ' < S12 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F01_Estimations / F01_04_Speed_Estimation '
* ' < S13 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F01_Estimations / F01_05_Electrical_Angle_Estimation '
* ' < S14 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F01_Estimations / F01_04_Speed_Estimation / Counter '
* ' < S15 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F01_Estimations / F01_04_Speed_Estimation / Raw_Motor_Speed_Estimation '
* ' < S16 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F01_Estimations / F01_04_Speed_Estimation / Counter / rst_Delay '
* ' < S17 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F02_Diagnostics / Debounce_Filter '
* ' < S18 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F02_Diagnostics / either_edge '
* ' < S19 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F02_Diagnostics / Debounce_Filter / Default '
* ' < S20 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F02_Diagnostics / Debounce_Filter / Dequalification '
* ' < S21 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F02_Diagnostics / Debounce_Filter / Qualification '
* ' < S22 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F02_Diagnostics / Debounce_Filter / either_edge '
* ' < S23 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F02_Diagnostics / Debounce_Filter / Dequalification / Counter '
* ' < S24 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F02_Diagnostics / Debounce_Filter / Dequalification / Counter / rst_Delay '
* ' < S25 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F02_Diagnostics / Debounce_Filter / Qualification / Counter '
* ' < S26 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F02_Diagnostics / Debounce_Filter / Qualification / Counter / rst_Delay '
* ' < S27 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F03_Control_Mode_Manager / F03_01_Mode_Transition_Calculation '
* ' < S28 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F03_Control_Mode_Manager / F03_02_Control_Mode_Manager '
* ' < S29 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F03_Control_Mode_Manager / F03_03_Input_Target_Synthesis '
* ' < S30 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F03_Control_Mode_Manager / F03_03_Input_Target_Synthesis / Default_Control_Type '
* ' < S31 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F03_Control_Mode_Manager / F03_03_Input_Target_Synthesis / Default_Mode '
* ' < S32 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F03_Control_Mode_Manager / F03_03_Input_Target_Synthesis / FOC_Control_Type '
* ' < S33 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F03_Control_Mode_Manager / F03_03_Input_Target_Synthesis / Open_Mode '
* ' < S34 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F03_Control_Mode_Manager / F03_03_Input_Target_Synthesis / Open_Mode / Rate_Limiter '
* ' < S35 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F03_Control_Mode_Manager / F03_03_Input_Target_Synthesis / Open_Mode / rising_edge_init '
* ' < S36 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F03_Control_Mode_Manager / F03_03_Input_Target_Synthesis / Open_Mode / Rate_Limiter / Delay_Init1 '
* ' < S37 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F03_Control_Mode_Manager / F03_03_Input_Target_Synthesis / Open_Mode / Rate_Limiter / Saturation Dynamic '
* ' < S38 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F04_Field_Weakening / Saturation Dynamic '
* ' < S39 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F04_Field_Weakening / Saturation Dynamic1 '
* ' < S40 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / Clarke_Transform '
* ' < S41 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / Current_Filtering '
* ' < S42 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / FOC '
* ' < S43 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / Inv_Clarke_Transform '
* ' < S44 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / Inv_Park_Transform '
* ' < S45 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / Motor_Limitations '
* ' < S46 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / Park_Transform '
* ' < S47 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / Sine_Cosine_Approximation '
* ' < S48 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / Clarke_Transform / Clarke_PhasesAB '
* ' < S49 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / Clarke_Transform / Clarke_PhasesBC '
* ' < S50 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / Current_Filtering / Low_Pass_Filter '
* ' < S51 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / FOC / Open_Mode '
* ' < S52 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / FOC / Speed_Mode '
* ' < S53 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / FOC / Torque_Mode '
* ' < S54 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / FOC / Vd_Calculation '
* ' < S55 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / FOC / Voltage_Mode '
* ' < S56 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / FOC / Speed_Mode / PI_clamp_fixdt '
* ' < S57 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / FOC / Speed_Mode / PI_clamp_fixdt / Clamping_circuit '
* ' < S58 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / FOC / Speed_Mode / PI_clamp_fixdt / Integrator '
* ' < S59 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / FOC / Speed_Mode / PI_clamp_fixdt / Saturation_hit '
* ' < S60 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / FOC / Torque_Mode / PI_clamp_fixdt '
* ' < S61 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / FOC / Torque_Mode / Saturation Dynamic1 '
* ' < S62 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / FOC / Torque_Mode / PI_clamp_fixdt / Clamping_circuit '
* ' < S63 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / FOC / Torque_Mode / PI_clamp_fixdt / Integrator '
* ' < S64 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / FOC / Torque_Mode / PI_clamp_fixdt / Saturation_hit '
* ' < S65 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / FOC / Vd_Calculation / PI_clamp_fixdt '
* ' < S66 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / FOC / Vd_Calculation / Saturation Dynamic '
* ' < S67 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / FOC / Vd_Calculation / PI_clamp_fixdt / Clamping_circuit '
* ' < S68 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / FOC / Vd_Calculation / PI_clamp_fixdt / Integrator '
* ' < S69 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / FOC / Vd_Calculation / PI_clamp_fixdt / Saturation_hit '
* ' < S70 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / FOC / Voltage_Mode / Saturation Dynamic1 '
* ' < S71 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / Motor_Limitations / Speed_Mode_Protection '
* ' < S72 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / Motor_Limitations / Torque_Mode_Protection '
* ' < S73 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / Motor_Limitations / Voltage_Mode_Protection '
* ' < S74 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / Motor_Limitations / Speed_Mode_Protection / Saturation Dynamic '
* ' < S75 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / Motor_Limitations / Torque_Mode_Protection / I_backCalc_fixdt '
* ' < S76 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / Motor_Limitations / Torque_Mode_Protection / I_backCalc_fixdt / Integrator '
* ' < S77 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / Motor_Limitations / Torque_Mode_Protection / I_backCalc_fixdt / Saturation Dynamic1 '
* ' < S78 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / Motor_Limitations / Voltage_Mode_Protection / I_backCalc_fixdt '
* ' < S79 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / Motor_Limitations / Voltage_Mode_Protection / I_backCalc_fixdt1 '
* ' < S80 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / Motor_Limitations / Voltage_Mode_Protection / I_backCalc_fixdt / Integrator '
* ' < S81 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / Motor_Limitations / Voltage_Mode_Protection / I_backCalc_fixdt / Saturation Dynamic1 '
* ' < S82 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / Motor_Limitations / Voltage_Mode_Protection / I_backCalc_fixdt1 / Integrator '
* ' < S83 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / Motor_Limitations / Voltage_Mode_Protection / I_backCalc_fixdt1 / Saturation Dynamic1 '
* ' < S84 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F06_Control_Type_Management / COM_Method '
* ' < S85 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F06_Control_Type_Management / FOC_Method '
* ' < S86 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F06_Control_Type_Management / SIN_Method '
* ' < S87 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F06_Control_Type_Management / SIN_Method / Final_Phase_Advance_Calculation '
* ' < S88 > ' : ' BLDCmotorControl_FOC_R2017b_fixdt / BLDC_controller / F06_Control_Type_Management / SIN_Method / Final_Phase_Advance_Calculation / Modulo_fixdt '
* ' < Root > ' : ' BLDCmotor_FOC_R2017b_fixdt '
* ' < S1 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller '
* ' < S2 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F01_Estimations '
* ' < S3 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F02_Diagnostics '
* ' < S4 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F03_Control_Mode_Manager '
* ' < S5 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F04_Field_Weakening '
* ' < S6 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control '
* ' < S7 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F06_Control_Type_Management '
* ' < S8 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / Task_Scheduler '
* ' < S9 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F01_Estimations / F01_01_Edge_Detector '
* ' < S10 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F01_Estimations / F01_02_Position_Calculation '
* ' < S11 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F01_Estimations / F01_03_Direction_Detection '
* ' < S12 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F01_Estimations / F01_04_Speed_Estimation '
* ' < S13 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F01_Estimations / F01_05_Electrical_Angle_Estimation '
* ' < S14 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F01_Estimations / F01_06_Electrical_Angle_Measurement '
* ' < S15 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F01_Estimations / F01_04_Speed_Estimation / Counter '
* ' < S16 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F01_Estimations / F01_04_Speed_Estimation / Raw_Motor_Speed_Estimation '
* ' < S17 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F01_Estimations / F01_04_Speed_Estimation / Counter / rst_Delay '
* ' < S18 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F01_Estimations / F01_06_Electrical_Angle_Measurement / Modulo_fixdt '
* ' < S19 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F02_Diagnostics / Debounce_Filter '
* ' < S20 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F02_Diagnostics / either_edge '
* ' < S21 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F02_Diagnostics / Debounce_Filter / Default '
* ' < S22 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F02_Diagnostics / Debounce_Filter / Dequalification '
* ' < S23 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F02_Diagnostics / Debounce_Filter / Qualification '
* ' < S24 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F02_Diagnostics / Debounce_Filter / either_edge '
* ' < S25 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F02_Diagnostics / Debounce_Filter / Dequalification / Counter '
* ' < S26 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F02_Diagnostics / Debounce_Filter / Dequalification / Counter / rst_Delay '
* ' < S27 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F02_Diagnostics / Debounce_Filter / Qualification / Counter '
* ' < S28 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F02_Diagnostics / Debounce_Filter / Qualification / Counter / rst_Delay '
* ' < S29 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F03_Control_Mode_Manager / F03_01_Mode_Transition_Calculation '
* ' < S30 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F03_Control_Mode_Manager / F03_02_Control_Mode_Manager '
* ' < S31 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F03_Control_Mode_Manager / F03_03_Input_Target_Synthesis '
* ' < S32 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F03_Control_Mode_Manager / F03_03_Input_Target_Synthesis / Default_Control_Type '
* ' < S33 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F03_Control_Mode_Manager / F03_03_Input_Target_Synthesis / Default_Mode '
* ' < S34 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F03_Control_Mode_Manager / F03_03_Input_Target_Synthesis / FOC_Control_Type '
* ' < S35 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F03_Control_Mode_Manager / F03_03_Input_Target_Synthesis / Open_Mode '
* ' < S36 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F03_Control_Mode_Manager / F03_03_Input_Target_Synthesis / Open_Mode / Rate_Limiter '
* ' < S37 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F03_Control_Mode_Manager / F03_03_Input_Target_Synthesis / Open_Mode / rising_edge_init '
* ' < S38 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F03_Control_Mode_Manager / F03_03_Input_Target_Synthesis / Open_Mode / Rate_Limiter / Delay_Init1 '
* ' < S39 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F03_Control_Mode_Manager / F03_03_Input_Target_Synthesis / Open_Mode / Rate_Limiter / Saturation Dynamic '
* ' < S40 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F04_Field_Weakening / Saturation Dynamic '
* ' < S41 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F04_Field_Weakening / Saturation Dynamic1 '
* ' < S42 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / Clarke_Transform '
* ' < S43 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / Current_Filtering '
* ' < S44 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / FOC '
* ' < S45 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / Inv_Clarke_Transform '
* ' < S46 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / Inv_Park_Transform '
* ' < S47 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / Motor_Limitations '
* ' < S48 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / Park_Transform '
* ' < S49 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / Sine_Cosine_Approximation '
* ' < S50 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / Clarke_Transform / Clarke_PhasesAB '
* ' < S51 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / Clarke_Transform / Clarke_PhasesAC '
* ' < S52 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / Clarke_Transform / Clarke_PhasesBC '
* ' < S53 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / Current_Filtering / Low_Pass_Filter '
* ' < S54 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / FOC / Open_Mode '
* ' < S55 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / FOC / Speed_Mode '
* ' < S56 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / FOC / Torque_Mode '
* ' < S57 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / FOC / Vd_Calculation '
* ' < S58 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / FOC / Voltage_Mode '
* ' < S59 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / FOC / Speed_Mode / PI_clamp_fixdt '
* ' < S60 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / FOC / Speed_Mode / PI_clamp_fixdt / Clamping_circuit '
* ' < S61 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / FOC / Speed_Mode / PI_clamp_fixdt / Integrator '
* ' < S62 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / FOC / Speed_Mode / PI_clamp_fixdt / Saturation_hit '
* ' < S63 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / FOC / Torque_Mode / PI_clamp_fixdt '
* ' < S64 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / FOC / Torque_Mode / Saturation Dynamic1 '
* ' < S65 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / FOC / Torque_Mode / PI_clamp_fixdt / Clamping_circuit '
* ' < S66 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / FOC / Torque_Mode / PI_clamp_fixdt / Integrator '
* ' < S67 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / FOC / Torque_Mode / PI_clamp_fixdt / Saturation_hit '
* ' < S68 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / FOC / Vd_Calculation / PI_clamp_fixdt '
* ' < S69 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / FOC / Vd_Calculation / Saturation Dynamic '
* ' < S70 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / FOC / Vd_Calculation / PI_clamp_fixdt / Clamping_circuit '
* ' < S71 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / FOC / Vd_Calculation / PI_clamp_fixdt / Integrator '
* ' < S72 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / FOC / Vd_Calculation / PI_clamp_fixdt / Saturation_hit '
* ' < S73 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / FOC / Voltage_Mode / Saturation Dynamic1 '
* ' < S74 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / Motor_Limitations / Speed_Mode_Protection '
* ' < S75 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / Motor_Limitations / Torque_Mode_Protection '
* ' < S76 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / Motor_Limitations / Voltage_Mode_Protection '
* ' < S77 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / Motor_Limitations / Speed_Mode_Protection / Saturation Dynamic '
* ' < S78 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / Motor_Limitations / Torque_Mode_Protection / I_backCalc_fixdt '
* ' < S79 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / Motor_Limitations / Torque_Mode_Protection / I_backCalc_fixdt / Integrator '
* ' < S80 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / Motor_Limitations / Torque_Mode_Protection / I_backCalc_fixdt / Saturation Dynamic1 '
* ' < S81 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / Motor_Limitations / Voltage_Mode_Protection / I_backCalc_fixdt '
* ' < S82 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / Motor_Limitations / Voltage_Mode_Protection / I_backCalc_fixdt1 '
* ' < S83 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / Motor_Limitations / Voltage_Mode_Protection / I_backCalc_fixdt / Integrator '
* ' < S84 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / Motor_Limitations / Voltage_Mode_Protection / I_backCalc_fixdt / Saturation Dynamic1 '
* ' < S85 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / Motor_Limitations / Voltage_Mode_Protection / I_backCalc_fixdt1 / Integrator '
* ' < S86 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F05_Field_Oriented_Control / Motor_Limitations / Voltage_Mode_Protection / I_backCalc_fixdt1 / Saturation Dynamic1 '
* ' < S87 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F06_Control_Type_Management / COM_Method '
* ' < S88 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F06_Control_Type_Management / FOC_Method '
* ' < S89 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F06_Control_Type_Management / SIN_Method '
* ' < S90 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F06_Control_Type_Management / SIN_Method / Final_Phase_Advance_Calculation '
* ' < S91 > ' : ' BLDCmotor_FOC_R2017b_fixdt / BLDC_controller / F06_Control_Type_Management / SIN_Method / Final_Phase_Advance_Calculation / Modulo_fixdt '
*/
# endif /* RTW_HEADER_BLDC_controller_h_ */