Texas Instruments TMS320C6000 Reference Manual page 68

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

Advertisement

CHIP
4.5.2
CHIP_GetCpuId
Function
Arguments
Return Value
Description
Example
4.5.3
CHIP_GetEndian
Function
Arguments
Return Value
Description
Example
4-20
Returns the CPU ID field of the CSR register
UINT32 CHIP_GetCpuId();
none
Returns the CPU ID
CPU ID
This function returns the CPU ID field of the CSR register.
UINT32 CpuId;
CpuId = CHIP_GetCpuId();
Returns the current endian mode of the device
int CHIP_GetEndian();
none
Returns the current endian mode of the device; will
endian mode
be one of the following:
Returns the current endian mode of the device as determined by the
EN bit of the CSR register.
UINT32 Endian;
Endian = CHIP_GetEndian();
if (Endian == CHIP_ENDIAN_BIG) {
/* user big endian configuration /
} else {
/ user little endian configuration */
}
_ENDIAN_BIG
CHIP
_ENDIAN_LITTLE
CHIP

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