DSP/BIOS使用的数据类型 - DSP/BIOS开源共享 - TI中文代码工厂(国内最...
来源:百度文库 编辑:神马文学网 时间:2024/04/28 11:16:02
DSP/BIOS使用的数据类型
问题的提出:我们在DSP/BIOS 使用的数据类型是怎么样的呢?问题的解决:DSP/BIOS 为了在所有器件中共有一些数据类型,自己定义了一些和标准C不一样的数据类型!
如下:
Type Description
Arg Type capable of holding both Ptr and Int arguments
Bool Boolean value
Char Character value
Int Signed integer value
LgInt Large signed integer value
LgUns Large unsigned integer value
Ptr Generic pointer value
String Zero-terminated (\0) sequence (array) of characters
Uns Unsigned integer value
Void Empty type
In addition, the standard constant NULL (0) is used by DSP/BIOS to signify an empty pointer value.
The constants TRUE (1) and FALSE (0) are used for values of type Bool.
Arg Data Type:
如果要想程序可以在5000的平台上跑或便携的,就应该用Arg数据类型来传送函数变量,这些变量用DSP/BIOS Configuration Tool制定。这包括了传给SWI, TSK, HST, PIP, and PRD函数的参数。Arg数据类型支持Ptr和Int类型的变量。在55dsp上必须用这个数据类型
因为寄存器惯于传送这样的数据。
数据类型的转化:
ArgToInt(arg) Casts Arg type parameter as Integer (Int) type
ArgToPtr(arg) Casts Arg type parameter as Pointer (Ptr) type
DSP/BIOS使用的数据类型 - DSP/BIOS开源共享 - TI中文代码工厂(国内最...
ti dsp biosC64x系列DSP/BIOS中设备驱动程序的设计
DSP/BIOS入门
基础类的DSP/BIOS API调用
基础类的DSP/BIOS API调用
dsp bios hwiC64x系列DSP/BIOS中设备驱动程序的设计
dsp bios用户手册C64x系列DSP/BIOS中设备驱动程序的设计
dsp bios 2812C64x系列DSP/BIOS中设备驱动程序的设计
dsp bios hookC64x系列DSP/BIOS中设备驱动程序的设计
MSP430全中文书籍介绍(选书指南) - MSP430开源共享 - TI中文代码工厂(国...
采用 Linux 与 DSP/BIOS RTOS 实施双 OS 信号处理技 - TI.co...
实时操作系统DSP/BIOS在DSP开发中的应用
bios中周边设备选项C64x系列DSP/BIOS中设备驱动程序的设计
针对Ti的DSP C语言编程
针对Ti的DSP C语言编程
联想家悦e系列biosC64x系列DSP/BIOS中设备驱动程序的设计
实时操作系统DSP/BIOS在DSP开发中的应用--电子工程师之路
dsp
DSP高手的经验
摄像机的DSP培训
TI, ADI view the DSP world of 2007
TI, ADI view the DSP world of 2007
BIOS
BIOS