The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.
Dependents: hello SerialTestv11 SerialTestv12 Sierpinski ... more
mbed 2
This is the mbed 2 library. If you'd like to learn about Mbed OS please see the mbed-os docs.
Diff: TARGET_NRF51_DK/core_caFunc.h
- Revision:
- 121:6c34061e7c34
- Parent:
- 115:87f2f5183dfb
- Child:
- 130:d75b3fe1f5cb
--- a/TARGET_NRF51_DK/core_caFunc.h Tue May 10 12:23:43 2016 -0500 +++ b/TARGET_NRF51_DK/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 ---------------------*/