CACHE
4.2.2
CACHE_EnableCaching
Function
Arguments
Return Value
Description
Example
4-4
Specifies block of ext. memory for caching
void CACHE_EnableCaching(
UINT32 Block
);
Specifies a block of external memory to enable caching for;
Block
must one of the following:
CACHE_CE33 –(0xB3000000 to 0xB3FFFFFF)
CACHE_CE32 –(0xB2000000 to 0xB2FFFFFF)
CACHE_CE31 –(0xB1000000 to 0xB1FFFFFF)
CACHE_CE30 –(0xB0000000 to 0xB0FFFFFF)
CACHE_CE23 –(0xA3000000 to 0xA3FFFFFF)
CACHE_CE22 –(0xA2000000 to 0xA2FFFFFF)
CACHE_CE21 –(0xA1000000 to 0xA1FFFFFF)
CACHE_CE20 –(0xA0000000 to 0xA0FFFFFF)
CACHE_CE13 –(0x93000000 to 0x93FFFFFF)
CACHE_CE12 –(0x92000000 to 0x92FFFFFF)
CACHE_CE11 –(0x91000000 to 0x91FFFFFF)
CACHE_CE10 –(0x90000000 to 0x90FFFFFF)
CACHE_CE03 –(0x83000000 to 0x83FFFFFF)
CACHE_CE02 –(0x82000000 to 0x82FFFFFF)
CACHE_CE01 –(0x81000000 to 0x81FFFFFF)
CACHE_CE00 –(0x80000000 to 0x80FFFFFF)
none
Enables caching for the specified block of memory. This is accomplished
by setting the CE bit in the appropriate memory attribute register (MAR).
By default, caching is disabled for all memory spaces.
Note: This function does nothing on devices without L2 cache.
To enable caching for the range of memory from 0x80000000 to
0x80FFFFFF use:
CACHE_EnableCaching(CACHE_CE00);
Need help?
Do you have a question about the TMS320C6000 and is the answer not in the manual?