English
Language : 

TMS320C6000 Datasheet, PDF (20/126 Pages) Texas Instruments – Code Composer Studio Tutorial
DSP/BIOS Plug-ins
1.4.2
DSP/BIOS API Modules
Unlike traditional debugging, which is external to the executing program, the
DSP/BIOS features require the target program to be linked with certain
DSP/BIOS API modules.
A program can use one or more DSP/BIOS modules by defining DSP/BIOS
objects in a configuration file, declaring these objects as external, and calling
DSP/BIOS API functions in the source code. Each module has a separate C
header file or assembly macro file you can include in your program. This
allows you to minimize the program size in a program that uses some, but not
all, DSP/BIOS modules.
The DSP/BIOS API calls (in C and assembly) are optimized to use minimal
resources on your target DSP.
The DSP/BIOS API is divided into the following modules. All the API calls
within a module begin with the letter codes shown here.
t ATM. This module provides atomic functions that can be used to
manipulate shared data.
t C62. This module provides DSP-specific functions to manage interrupts.
t CLK. The on-chip timer module controls the on-chip timer and provides
a logical 32-bit real-time clock with a high-resolution interrupt rate as fine
as the resolution of the on-chip timer register (4 instruction cycles) and a
low-resolution interrupt rate as long as several milliseconds or longer.
t DEV. This module allows you to create and use your own device drivers.
t HST. The host input/output module manages host channel objects, which
allow an application to stream data between the target and the host. Host
channels are statically configured for input or output.
t HWI. The hardware interrupt module provides support for hardware
interrupt routines. In a configuration file, you can assign functions that run
when hardware interrupts occur.
t IDL. The idle function module manages idle functions, which are run in a
loop when the target program has no higher priority functions to perform.
t LCK. The lock module manages shared global resources, and is used to
arbitrate access to this resource among several competing tasks.
t LOG. The log module manages LOG objects, which capture events in
real time while the target program executes. You can use system logs or
define your own logs. You can view messages in these logs in real time
with Code Composer Studio.
t MBX. The mailbox module manages objects that pass messages from
one task to another. Tasks block when waiting for a mailbox message.
1-10