clarke.h
来自「TI2812DSP芯片采用EVA(事件管理器)产生SVPWM例程」· C头文件 代码 · 共 37 行
H
37 行
/* =================================================================================
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 + =
减小字号Ctrl + -
显示快捷键?