Texas Instruments TMS320 User Manual page 104

Dsp/bios v5.40
Hide thumbs Also See for TMS320:
Table of Contents

Advertisement

Real-Time Data Exchange
3.8.5
Special Considerations When Writing Assembly Code
3.8.6
Target Buffer Size
3.8.7
Sending Data From Target to Host or Host to Target
3-42
The RTDX functionality in the user library interface can be accessed by a
target application written in assembly code.
See the TMS320C55x Optimizing Compiler User's Guide or the
TMS320C6000 Optimizing Compiler User's Guide for information about the
C calling conventions, run-time environment, and run-time-support functions
applicable to your platform.
The RTDX target buffer is used to temporarily store data that is waiting to be
transferred to the host. You may want to reduce the size of the buffer if you
are transferring only a small amount of data. Alternately, you may need to
increase the size of the buffer if you are transferring blocks of data larger than
the default buffer size.
You can change the RTDX buffer size in the .tcf configuration file.
The user library interface provides the data types and functions for:
❏ Sending data from the target to the host
❏ Sending data from the host to the target
The following data types and functions are defined in the header file rtdx.h.
They are available via DSP/BIOS or standalone.
❏ Declaration Macros
■ RTDX_CreateInputChannel
■ RTDX_CreateOutputChannel
❏ Functions
■ RTDX_channelBusy
■ RTDX_disableInput
■ RTDX_disableOutput
■ RTDX_enableOutput
■ RTDX_enableInput
■ RTDX_read
■ RTDX_readNB
■ RTDX_sizeofInput
■ RTDX_write
❏ Macros
■ RTDX_isInputEnabled
■ RTDX_isOutputEnabled
See the TMS320 DSP/BIOS API Reference Guide for your platform for
detailed descriptions of all RTDX functions.

Advertisement

Table of Contents
loading

Table of Contents