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
Need help?
Do you have a question about the TMS320C6000 and is the answer not in the manual?