L2C-310 Cache Controller gives access to functions for level 2 cache maintenance.
Reference: Level 2 Cache Controller L2C-310 Technical Reference Manual.
More...
|
__STATIC_INLINE void | L2C_Sync (void) |
| Cache Sync operation by writing CACHE_SYNC register.
|
|
__STATIC_INLINE int | L2C_GetID (void) |
| Read cache controller cache ID from CACHE_ID register.
|
|
__STATIC_INLINE int | L2C_GetType (void) |
| Read cache controller cache type from CACHE_TYPE register.
|
|
__STATIC_INLINE void | L2C_InvAllByWay (void) |
| Invalidate all cache by way.
|
|
__STATIC_INLINE void | L2C_CleanInvAllByWay (void) |
| Clean and Invalidate all cache by way.
|
|
__STATIC_INLINE void | L2C_Enable (void) |
| Enable Level 2 Cache.
|
|
__STATIC_INLINE void | L2C_Disable (void) |
| Disable Level 2 Cache.
|
|
__STATIC_INLINE void | L2C_InvPa (void *pa) |
| Invalidate cache by physical address.
|
|
__STATIC_INLINE void | L2C_CleanPa (void *pa) |
| Clean cache by physical address.
|
|
__STATIC_INLINE void | L2C_CleanInvPa (void *pa) |
| Clean and invalidate cache by physical address.
|
|
L2C-310 Cache Controller gives access to functions for level 2 cache maintenance.
Reference: Level 2 Cache Controller L2C-310 Technical Reference Manual.
◆ L2C_310
L2C_310 register set access pointer.
◆ L2C_CleanInvAllByWay()
__STATIC_INLINE void L2C_CleanInvAllByWay |
( |
void |
| ) |
|
Clean and Invalidate all cache by way.
◆ L2C_CleanInvPa()
__STATIC_INLINE void L2C_CleanInvPa |
( |
void * |
pa | ) |
|
Clean and invalidate cache by physical address.
- Parameters
-
[in] | pa | Pointer to data to invalidate cache for. |
◆ L2C_CleanPa()
__STATIC_INLINE void L2C_CleanPa |
( |
void * |
pa | ) |
|
Clean cache by physical address.
- Parameters
-
[in] | pa | Pointer to data to invalidate cache for. |
◆ L2C_Disable()
__STATIC_INLINE void L2C_Disable |
( |
void |
| ) |
|
◆ L2C_Enable()
__STATIC_INLINE void L2C_Enable |
( |
void |
| ) |
|
◆ L2C_GetID()
__STATIC_INLINE int L2C_GetID |
( |
void |
| ) |
|
◆ L2C_GetType()
__STATIC_INLINE int L2C_GetType |
( |
void |
| ) |
|
◆ L2C_InvAllByWay()
__STATIC_INLINE void L2C_InvAllByWay |
( |
void |
| ) |
|
Invalidate all cache by way.
◆ L2C_InvPa()
__STATIC_INLINE void L2C_InvPa |
( |
void * |
pa | ) |
|
Invalidate cache by physical address.
- Parameters
-
[in] | pa | Pointer to data to invalidate cache for. |
◆ L2C_Sync()
__STATIC_INLINE void L2C_Sync |
( |
void |
| ) |
|
Cache Sync operation by writing CACHE_SYNC register.