cursample.h

来自「f2407:电机控制」· C头文件 代码 · 共 19 行

H
19
字号
/*-------------------------------------------------------------------------------
function name
	void cursample(cursample_struct *p);
author: Xian Chengyu
-------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------
function return structure statement
-------------------------------------------------------------------------------*/
typedef struct
{	int zeropoint_ib;		//B相电流采样提升零点
	int ib;					//B相电流值,Q12
	int zeropoint_ia;		//A相电流采样提升零点	Q0
	int ia;					//A相电流值,Q12
}cursample_struct;    
/*-------------------------------------------------------------------------------
external function prototype statement    
--------------------------------------------------------------------------------*/
extern void cursample(cursample_struct *p);

⌨️ 快捷键说明

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