ads1115 only
Fork of mbed by
Diff: TARGET_KL27Z/core_caFunc.h
- Revision:
- 121:6c34061e7c34
- Parent:
- 120:7c328cabac7e
- Child:
- 130:d75b3fe1f5cb
diff -r 7c328cabac7e -r 6c34061e7c34 TARGET_KL27Z/core_caFunc.h --- a/TARGET_KL27Z/core_caFunc.h Tue May 10 12:23:43 2016 -0500 +++ b/TARGET_KL27Z/core_caFunc.h Wed May 25 16:44:06 2016 +0100 @@ -811,6 +811,15 @@ __STATIC_INLINE void __v7_inv_dcache_all(void) { __v7_all_cache(0); } +/** \brief Clean and Invalidate D$ by MVA + + DCCIMVAC. Data cache clean and invalidate by MVA to PoC + */ +__STATIC_INLINE void __v7_clean_inv_dcache_mva(void *va) { + __MCR(15, 0, (uint32_t)va, 7, 14, 1); + __DMB(); +} + #include "core_ca_mmu.h" #elif (defined (__GNUC__)) /*------------------ GNU Compiler ---------------------*/