📄 f280x_en.h
字号:
/* ==================================================================================
File name: F280X_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 F280X_EN.C.
Target: TMS320F280x family
=====================================================================================
History:
-------------------------------------------------------------------------------------
04-15-2005 Version 3.20: Using DSP280x v. 1.10 or higher
------------------------------------------------------------------------------------*/
#ifndef __F280X_EN_H__
#define __F280X_EN_H__
#include "f280xbmsk.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 F280X_DRIVE {0, \
(void (*)(Uint32))F280X_DRIVE_Init, \
(void (*)(Uint32))F280X_DRIVE_Update \
}
#define DRIVE_DEFAULTS F280X_DRIVE
/*------------------------------------------------------------------------------
Prototypes for the functions in F280X_EN.C
------------------------------------------------------------------------------*/
void F280X_DRIVE_Init(DRIVE_handle);
void F280X_DRIVE_Update(DRIVE_handle);
#endif // __F280X_EN_H__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -