1 #ifndef __CORE_CM7_4_30_H 2 #define __CORE_CM7_4_30_H 18 #if (__DCACHE_PRESENT == 1U) && (CONF_BOARD_ENABLE_DCACHE==1) 19 int32_t op_size = dsize;
20 uint32_t op_addr = (uint32_t)addr;
21 int32_t linesize = 32U;
26 #if (__CM7_CMSIS_VERSION_SUB == 0x00) 27 SCB->DCIMVAU = op_addr;
29 SCB->DCIMVAC = op_addr;
30 #endif // (__CM7_CMSIS_VERSION_SUB == 0x00) 49 #if (__DCACHE_PRESENT == 1) && (CONF_BOARD_ENABLE_DCACHE==1) 50 int32_t op_size = dsize;
51 uint32_t op_addr = (uint32_t) addr;
52 int32_t linesize = 32U;
57 SCB->DCCMVAC = op_addr;
76 #if (__DCACHE_PRESENT == 1U) && (CONF_BOARD_ENABLE_DCACHE==1) 77 int32_t op_size = dsize;
78 uint32_t op_addr = (uint32_t) addr;
79 int32_t linesize = 32U;
84 SCB->DCCIMVAC = op_addr;
94 #if CONF_BOARD_ENABLE_DCACHE == 1 96 #define SCB_CLEANINVALIDATE_DCACHE_BY_ADDR_32BYTE_ALIGNED(addr,size) SCB_CleanInvalidateDCache_by_Addr((uint32_t*)(((uint32_t)(addr))&0xFFFFFFE0), (size) + (((uint32_t)(addr))&0x0000001F)) 99 #define SCB_CLEAN_DCACHE_BY_ADDR_32BYTE_ALIGNED(addr,size) SCB_CleanDCache_by_Addr((uint32_t*)(((uint32_t)(addr))&0xFFFFFFE0), (size) + (((uint32_t)(addr))&0x0000001F)) 101 #define SCB_CLEANINVALIDATE_DCACHE_BY_ADDR_32BYTE_ALIGNED(addr,size) 102 #define SCB_CLEAN_DCACHE_BY_ADDR_32BYTE_ALIGNED(addr,size) 108 #endif // __CORE_CM7_4_30_H __STATIC_INLINE void SCB_InvalidateDCache_by_Addr(uint32_t *addr, int32_t dsize)
D-Cache Invalidate by address.
__STATIC_INLINE void SCB_CleanDCache_by_Addr(uint32_t *addr, int32_t dsize)
D-Cache Clean by address.
__STATIC_INLINE void SCB_CleanInvalidateDCache_by_Addr(uint32_t *addr, int32_t dsize)
D-Cache Clean and Invalidate by address.