mc_control.h

来自「无刷电机驱动原理」· C头文件 代码 · 共 29 行

H
29
字号
/**
* @file mc_control.h
*
* Copyright (c) 2005 Atmel.
*
* @brief This module provide services to define config for AT90PWM3 Only
* This file need to be include in all files using speed regulation.
* @version 1.0 (CVS revision : $Revision: 1.1 $)
* @date $Date: 2006/06/22 16:02:15 $
* @author $Author: raubree $
*****************************************************************************/
#ifndef _MC_CONTROL_H_
#define _MC_CONTROL_H_

U8 mc_control_speed(U8 speed_cmd);
U8 mc_control_current(U8 cur_cmd);
U8 mc_control_position(S32 Number_of_turns);

void mc_regulation_loop();

void mc_set_Open_Loop();
void mc_set_Speed_Loop();
void mc_set_Current_Loop();
void mc_set_Position_Loop();

U8 mc_get_Duty_Cycle();

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?