STM32F769IDiscovery  1.00
uDANTE Audio Networking with STM32F7 DISCO board
Macros | Functions

Functions that configure Instruction and Data cache. More...

Macros

#define CCSIDR_WAYS(x)    (((x) & SCB_CCSIDR_ASSOCIATIVITY_Msk) >> SCB_CCSIDR_ASSOCIATIVITY_Pos)
 
#define CCSIDR_SETS(x)    (((x) & SCB_CCSIDR_NUMSETS_Msk ) >> SCB_CCSIDR_NUMSETS_Pos )
 

Functions

__STATIC_INLINE void SCB_EnableICache (void)
 Enable I-Cache. More...
 
__STATIC_INLINE void SCB_DisableICache (void)
 Disable I-Cache. More...
 
__STATIC_INLINE void SCB_InvalidateICache (void)
 Invalidate I-Cache. More...
 
__STATIC_INLINE void SCB_EnableDCache (void)
 Enable D-Cache. More...
 
__STATIC_INLINE void SCB_DisableDCache (void)
 Disable D-Cache. More...
 
__STATIC_INLINE void SCB_InvalidateDCache (void)
 Invalidate D-Cache. More...
 
__STATIC_INLINE void SCB_CleanDCache (void)
 Clean D-Cache. More...
 
__STATIC_INLINE void SCB_CleanInvalidateDCache (void)
 Clean & Invalidate D-Cache. More...
 
__STATIC_INLINE void SCB_InvalidateDCache_by_Addr (uint32_t *addr, int32_t dsize)
 D-Cache Invalidate by address. More...
 
__STATIC_INLINE void SCB_CleanDCache_by_Addr (uint32_t *addr, int32_t dsize)
 D-Cache Clean by address. More...
 
__STATIC_INLINE void SCB_CleanInvalidateDCache_by_Addr (uint32_t *addr, int32_t dsize)
 D-Cache Clean and Invalidate by address. More...
 

Detailed Description

Functions that configure Instruction and Data cache.

Macro Definition Documentation

#define CCSIDR_SETS (   x)    (((x) & SCB_CCSIDR_NUMSETS_Msk ) >> SCB_CCSIDR_NUMSETS_Pos )

Definition at line 2066 of file core_cm7.h.

#define CCSIDR_WAYS (   x)    (((x) & SCB_CCSIDR_ASSOCIATIVITY_Msk) >> SCB_CCSIDR_ASSOCIATIVITY_Pos)

Definition at line 2065 of file core_cm7.h.

Function Documentation

__STATIC_INLINE void SCB_CleanDCache ( void  )

Clean D-Cache.

Cleans D-Cache

Definition at line 2233 of file core_cm7.h.

__STATIC_INLINE void SCB_CleanDCache_by_Addr ( uint32_t *  addr,
int32_t  dsize 
)

D-Cache Clean by address.

Cleans D-Cache for the given address

Parameters
[in]addraddress (aligned to 32-byte boundary)
[in]dsizesize of memory block (in number of bytes)

Definition at line 2332 of file core_cm7.h.

__STATIC_INLINE void SCB_CleanInvalidateDCache ( void  )

Clean & Invalidate D-Cache.

Cleans and Invalidates D-Cache

Definition at line 2268 of file core_cm7.h.

__STATIC_INLINE void SCB_CleanInvalidateDCache_by_Addr ( uint32_t *  addr,
int32_t  dsize 
)

D-Cache Clean and Invalidate by address.

Cleans and invalidates D_Cache for the given address

Parameters
[in]addraddress (aligned to 32-byte boundary)
[in]dsizesize of memory block (in number of bytes)

Definition at line 2359 of file core_cm7.h.

__STATIC_INLINE void SCB_DisableDCache ( void  )

Disable D-Cache.

Turns off D-Cache

Definition at line 2161 of file core_cm7.h.

__STATIC_INLINE void SCB_DisableICache ( void  )

Disable I-Cache.

Turns off I-Cache

Definition at line 2090 of file core_cm7.h.

__STATIC_INLINE void SCB_EnableDCache ( void  )

Enable D-Cache.

Turns on D-Cache

Definition at line 2123 of file core_cm7.h.

__STATIC_INLINE void SCB_EnableICache ( void  )

Enable I-Cache.

Turns on I-Cache

Definition at line 2073 of file core_cm7.h.

__STATIC_INLINE void SCB_InvalidateDCache ( void  )

Invalidate D-Cache.

Invalidates D-Cache

Definition at line 2198 of file core_cm7.h.

__STATIC_INLINE void SCB_InvalidateDCache_by_Addr ( uint32_t *  addr,
int32_t  dsize 
)

D-Cache Invalidate by address.

Invalidates D-Cache for the given address

Parameters
[in]addraddress (aligned to 32-byte boundary)
[in]dsizesize of memory block (in number of bytes)

Definition at line 2305 of file core_cm7.h.

__STATIC_INLINE void SCB_InvalidateICache ( void  )

Invalidate I-Cache.

Invalidates I-Cache

Definition at line 2107 of file core_cm7.h.