📄 clarke.h
字号:
/* =================================================================================
File name: CLARKE.H (IQ version)
Originator: Digital Control Systems Group
Texas Instruments
Description:
Header file containing constants, data type definitions, and
function prototypes for the CLARKE.
=====================================================================================
History:
-------------------------------------------------------------------------------------
05-15-2002 Release Rev 1.0
------------------------------------------------------------------------------*/
typedef struct { _iq as; /* Input: phase-a stator variable */
_iq bs; /* Input: phase-b stator variable */
_iq ds; /* Output: stationary d-axis stator variable */
_iq qs; /* Output: stationary q-axis stator variable */
void (*calc)(); /* Pointer to calculation function */
} CLARKE;
typedef CLARKE *CLARKE_handle;
/*-----------------------------------------------------------------------------
Default initalizer for the CLARKE object.
-----------------------------------------------------------------------------*/
#define CLARKE_DEFAULTS { 0, \
0, \
0, \
0, \
(void (*)(long))clarke_calc }
/*------------------------------------------------------------------------------
Prototypes for the functions in CLARKE.C
------------------------------------------------------------------------------*/
void clarke_calc(CLARKE_handle);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -