📄 rmp_cntl.h
字号:
/* =================================================================================
File name: RMP_CNTL.H
Originator: Digital Control Systems Group
Texas Instruments
Description:
Header file containing constants, data type definitions, and
function prototypes for the RMPCNTL module.
=====================================================================================
History:
-------------------------------------------------------------------------------------
9-15-2000 Release Rev 1.00
------------------------------------------------------------------------------*/
#ifndef __RMP_CNTL_H__
#define __RMP_CNTL_H__
typedef struct { int target_value; /* Input: Target input (Q15) */
int rmp_dly_max; /* Parameter: Maximum delay rate */
int rmp_lo_limit; /* Parameter: Minimum limit (Q15) */
int rmp_hi_limit; /* Parameter: Maximum limit (Q15) */
int rmp_delay_cntl; /* Variable: Incremental delay */
int setpt_value; /* Output: Target output (Q15) */
int s_eq_t_flg; /* Output: Flag output */
int (*calc)(); /* Pointer to calculation function */
} RMPCNTL;
/*-----------------------------------------------------------------------------
Default initalizer for the RMPCNTL object.
-----------------------------------------------------------------------------*/
#define RMPCNTL_DEFAULTS { 0x0000, \
0x0040, \
0x8000, \
0x7FFF, \
0x0000, \
0x0000, \
0x0000, \
(int (*)(int))rmp_cntl_calc }
/*------------------------------------------------------------------------------
Prototypes for the functions in RMP_CNTL.ASM
------------------------------------------------------------------------------*/
void rmp_cntl_calc(RMPCNTL *);
#endif /* __RMP_CNTL_H__ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -