Texas Instruments TMS320C6000 Reference Manual page 69

Chip support library api
Hide thumbs Also See for TMS320C6000:
Table of Contents

Advertisement

4.5.4
CHIP_GetMapMode
Function
Arguments
Return Value
Description
Example
4.5.5
CHIP_GetRevId
Function
Arguments
Return Value
Description
Example
4.5.6
CHIP_SUPPORT
Constant
Description
Example
Returns the current map mode of the device
int CHIP_GetMapMode();
none
Returns current device MAP mode; will be one of the
map mode
following:
CHIP
CHIP
Returns the current MAP mode of the device as determined by the MAP
bit of the EMIF global control register.
UINT32 MapMode;
MapMode = CHIP_GetMapMode();
if (MapMode == CHIP_MAP_0) {
/* user map 0 configuration /
} else {
/ user map 1 configuration */
}
Returns the CPU revision ID
UINT32 CHIP_GetRevId();
none
Returns CPU revision ID
revision ID
This function returns the CPU revision ID as determined by the Revi-
sion ID field of the CSR register.
UINT32 RevId;
RevId = CHIP_GetRevId();
A compile time constant whose value is 1 if the device
supports the CHIP module
CHIP_SUPPORT
Compile time constant that has a value of 1 if the device supports the
CHIP module and 0 otherwise. You are not required to use this
constant.
Currently, all devices support this module.
#if (CHIP_SUPPORT)
/* user CHIP configuration */
#endif
_MAP_0
_MAP_1
CSL API Reference
CHIP
4-21

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the TMS320C6000 and is the answer not in the manual?

Table of Contents