📄 dsp281x_en.h
字号:
/* ==================================================================================
File name: DSP281x_EN.H
Originator: Digital Control Systems Group
Texas Instruments
Description:
Header file containing data type and object definitions and
initializers. Also contains prototypes for the functions in DSP281x_EN.C.
Target: TMS320F281x family
=====================================================================================
History:
-------------------------------------------------------------------------------------
04-15-2005 Version 3.20: Using DSP281x v. 1.00 or higher
---------------------------------------------------------------------------------- */
#ifndef __DSP281X_EN_H__
#define __DSP281X_EN_H__
#include "DSP281X_BMSK.h"
/*-----------------------------------------------------------------------------
Define the structure of the DRIVE Object
-----------------------------------------------------------------------------*/
typedef struct {
Uint16 EnableFlag; // Input: Enable/Disable (1/0) flag (Q0)
void (*init)(); // Pointer to the init function
void (*update)(); // Pointer to the update function
} DRIVE ;
typedef DRIVE *DRIVE_handle;
/*------------------------------------------------------------------------------
Default Initializers for the F28X DRIVE Object
------------------------------------------------------------------------------*/
#define F281X_EV1_DRIVE {0, \
(void (*)(Uint32))F281X_EV1_DRIVE_Init, \
(void (*)(Uint32))F281X_EV1_DRIVE_Update \
}
#define DRIVE_DEFAULTS F281X_EV1_DRIVE
/*------------------------------------------------------------------------------
Prototypes for the functions in F281X_EN.C
------------------------------------------------------------------------------*/
void F281X_EV1_DRIVE_Init(DRIVE_handle);
void F281X_EV1_DRIVE_Update(DRIVE_handle);
#endif // __DSP281X_EN_H__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -