4.2.8
CACHE_SetPccMode
Function
Arguments
Return Value
Description
Example
4.2.9
CACHE_SUPPORT
Constant
Description
Example
Sets program cache mode
CACHE_PCC CACHE_SetPccMode(
CACHE_PCC NewMode
);
New program cache mode; must be one of the following:
NewMode
CACHE_PCCMAPPED
CACHE_PCCENABLE
CACHE_PCCFREEZE
CACHE_PCCBYPASS
Returns the old program cache mode; will be one of the
OldMode
following:
CACHE_PCCMAPPED
CACHE_PCCENABLE
CACHE_PCCFREEZE
CACHE_PCCBYPASS
This function sets the program cache mode for devices that don't have
an L2 cache. For devices that do have an L2 cache such as the '6211,
this function does nothing. See the TMS320C6000 Peripherals Refer-
ence Guide (literature number SPRU190) for the meaning of the cache
modes.
To enable the program cache in normal mode, use:
CACHE_PCC OldMode;
OldMode = CACHE_SetPccMode(CACHE_PCCENABLE);
A compile time constant whose value is 1 if the device
supports the CACHE module
CACHE_SUPPORT
Compile time constant that has a value of 1 if the device supports the
CACHE module and 0 otherwise. You are not required to use this
constant.
Currently, all devices support this module.
#if (CACHE_SUPPORT)
/* user cache configuration */
#endif
CSL API Reference
CACHE
4-9
Need help?
Do you have a question about the TMS320C6000 and is the answer not in the manual?