📄 cursample.h
字号:
/*-------------------------------------------------------------------------------
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -