GBL Module
Application Program Interface
2-109
GBL Module
Properties
The following Global Settings can be made:
❏
Target Board Name
. The name of the board or board family.
Tconf Name: BOARDNAME
Type: String
Example:
bios.GBL.BOARDNAME = "c55xx";
❏
Processor ID (PROCID)
. ID used to communicate with other
processors using the MSGQ Module. The procId is also defined in
the MSGQ_TransportObj array that is part of the MSGQ_Config
structure. This value can be obtained with GBL_getProcId and
modified by GBL_setProcId (but only within the User Init Function).
Tconf Name: PROCID
Type: Int16
Example:
bios.GBL.PROCID = 0;
❏
Board Clock In KHz (Informational Only)
. Frequency of the input
clock in KHz. You should set this property to match the actual board
clock rate. This property does not change the rate of the board; it is
informational only. The configured value can be obtained at run-time
using the GBL_getClkin API. This property is used on the ’C5503 to
compute the USB PLL settings. The default value is
20000 KHz.
Tconf Name: CLKIN
Type: Uint32
Example:
bios.GBL.CLKIN = 20000;
❏
DSP Speed In MHz (CLKOUT)
. This number, times 1000000, is the
number of instructions the processor can execute in 1 second. You
should set this property to match the actual rate. This property does
not change the rate of the board. This value is used by the CLK
manager to calculate register settings for the on-device timers.
Tconf Name: CLKOUT
Type: Int16
Example:
bios.GBL.CLKOUT = 100.0000;
❏
Specify RTS Library
. Determines whether a user can specify the
run-time support library to which the application is linked. The RTS
library contains the printf, malloc, and other standard C library
functions. For information about using this library, see “std.h and
stdlib.h functions” on page 2-511. If you do not choose to specify a
library, the default library for your platform is used.
Tconf Name: SPECIFYRTSLIB
Type: Bool
Example:
bios.GBL.SPECIFYRTSLIB = false;