Section 5 Cache
Rev. 5.00 May 29, 2006 page 101 of 698
REJ09B0146-0500
5.2
Register Description
The cache includes the following registers. Refer to section 23, List of Registers, for more details
of the addresses and access sizes.
•
Cache control register (CCR)
•
Cache control register 2 (CCR2)
5.2.1
Cache Control Register (CCR)
The cache is enabled or disabled using the CE bit of the cache control register (CCR). CCR also
has a CF bit (which invalidates all cache entries), and a WT and CB bits (which select either write-
through mode or write-back mode). Programs that change the contents of the CCR register should
be placed in address space that is not cached.
Bit
Bit Name
Initial Value
R/W
Description
31 to 4
All 0
R
Reserved
These bits are always read as 0. The write value
should always be 0.
3
CF
0
R
Cache Flash
When 1 is set, the V, U and LRU bits of all cache
entries are cleared to 0 (flush).
This bit is always read as 0. Write-back to external
memory is not performed when the cache is flushed.
2
CB
0
R/W
Cache Write-back
Indicates the cache's operating mode for area P1.
0: Write-through mode
1: Write-back mode
1
WT
0
R/W
Write through
Indicates the cache's operating mode for area P0, U0,
and P3.
0: Write-back mode
1: Write-through mode
0
CE
0
R/W
Cache enable
Indicates whether to use the cache function.
0: Cache not used
1: Cache used
Содержание SH7706 Series
Страница 8: ...Rev 5 00 May 29 2006 page viii of xlviii ...
Страница 160: ...Section 5 Cache Rev 5 00 May 29 2006 page 112 of 698 REJ09B0146 0500 ...
Страница 370: ...Section 11 Watchdog Timer WDT Rev 5 00 May 29 2006 page 322 of 698 REJ09B0146 0500 ...
Страница 532: ...Section 16 Serial Communication Interface with FIFO SCIF Rev 5 00 May 29 2006 page 484 of 698 REJ09B0146 0500 ...
Страница 554: ...Section 17 Pin Function Controller PFC Rev 5 00 May 29 2006 page 506 of 698 REJ09B0146 0500 ...
Страница 576: ...Section 18 I O Ports Rev 5 00 May 29 2006 page 528 of 698 REJ09B0146 0500 ...
Страница 614: ...Section 21 User Debugging Interface H UDI Rev 5 00 May 29 2006 page 566 of 698 REJ09B0146 0500 ...
Страница 746: ...Index Rev 5 00 May 29 2006 page 698 of 698 REJ09B0146 0500 ...
Страница 749: ...SH7706 Group Hardware Manual ...