L2C-310 Cache Controller gives access to functions for level 2 cache maintenance.
Reference: Level 2 Cache Controller L2C-310 Technical Reference Manual.
More...
Data Structures | |
struct | L2C_310_TypeDef |
Union type to access the L2C_310 Cache Controller. More... | |
Macros | |
#define | L2C_310 ((L2C_310_TypeDef *)L2C_310_BASE) |
L2C_310 register set access pointer. | |
Functions | |
__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.
#define L2C_310 ((L2C_310_TypeDef *)L2C_310_BASE) |
L2C_310 register set access pointer.
__STATIC_INLINE void L2C_CleanInvAllByWay | ( | void | ) |
Clean and Invalidate all cache by way.
__STATIC_INLINE void L2C_CleanInvPa | ( | void * | pa | ) |
Clean and invalidate cache by physical address.
[in] | pa | Pointer to data to invalidate cache for. |
__STATIC_INLINE void L2C_CleanPa | ( | void * | pa | ) |
Clean cache by physical address.
[in] | pa | Pointer to data to invalidate cache for. |
__STATIC_INLINE void L2C_Disable | ( | void | ) |
Disable Level 2 Cache.
__STATIC_INLINE void L2C_Enable | ( | void | ) |
Enable Level 2 Cache.
__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_InvPa | ( | void * | pa | ) |
Invalidate cache by physical address.
[in] | pa | Pointer to data to invalidate cache for. |
__STATIC_INLINE void L2C_Sync | ( | void | ) |
Cache Sync operation by writing CACHE_SYNC register.