00001 00002 00003 00004 00005 00006 00007 00008 00009 00010 00011 00012 #ifndef _MC_CONTROL_H_ 00013 #define _MC_CONTROL_H_ 00014 00015 U8 mc_control_speed(U8 speed_cmd); 00016 U8 mc_control_current(U8 cur_cmd); 00017 U8 mc_control_position(S32 Number_of_turns); 00018 00019 void mc_regulation_loop(); 00020 00021 void mc_set_Open_Loop(); 00022 void mc_set_Speed_Loop(); 00023 void mc_set_Current_Loop(); 00024 void mc_set_Position_Loop(); 00025 00026 U8 mc_get_Duty_Cycle(); 00027 00028 #endif
1.5.3