📄 sts.h
字号:
/*
* Copyright 2003 by Texas Instruments Incorporated.
* All rights reserved. Property of Texas Instruments Incorporated.
* Restricted rights to use, duplicate or disclose this code are
* granted through contract.
*
*/
/* "@(#) DSP/BIOS 4.90.270 12-18-03 (barracuda-o04)" */
/*
* ======== sts.h ========
*
*/
#ifndef STS_
#define STS_
#ifdef __cplusplus
extern "C" {
#endif
#if defined(_30_) || defined(_40_) || defined(_6x_) || defined (_55_)|| defined (_28_)
typedef struct STS_Obj {
LgInt num;
LgInt acc;
LgInt max;
} STS_Obj;
#else
/*
* The following are not defined as LgInt since the
* C5x and C54x differ in the word ordering for LgInt's.
* Defining these as LgInt would require a change to
* vbd.dll to deal with the C5x and C54x differently.
*/
typedef struct STS_Obj {
Int numh;
Int numl;
Int acch;
Int accl;
Int maxh;
Int maxl;
} STS_Obj;
#endif
typedef struct STS_Obj *STS_Handle;
/*
* ======== STS_add ========
*/
extern Void STS_add(STS_Handle sts, LgInt value);
/*
* ======== STS_delta ========
*/
extern Void STS_delta(STS_Handle sts, LgInt value);
/*
* ======== STS_set ========
*/
extern Void STS_set(STS_Handle sts, LgInt value);
/*
* ======== STS_reset ========
*/
extern Void STS_reset(STS_Handle sts);
#ifdef __cplusplus
}
#endif /* extern "C" */
#endif /* STS_ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -