User`s guide
Host Channel Manager (HST Module)
Input/Output Overview and Pipes 6-13
6.4 Host Channel Manager (HST Module)
The HST module manages host channel objects, which allow an application
to stream data between the target and the host. Host channels are configured
for input or output. Input streams read data from the host to the target. Output
streams transfer data from the target to the host.
Note:
HST channel names cannot start with a leading underscore ( _ ).
You dynamically bind channels to files on the PC host by right-clicking on the
Code Composer Studio Host Channel Control. Then you start the data
transfer for each channel as shown in Example 6-4.
Figure 6-4. Binding Channels
Each host channel is internally implemented using a pipe object. To use a
particular host channel, the program uses HST_getpipe to get the
corresponding pipe object and then transfers data by calling the PIP_get and
PIP_free operations (for input) or PIP_alloc and PIP_put operations (for
output).
The code for reading data might look like Example 6-5.










