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:
- 130:d75b3fe1f5cb
- Parent:
- 121:6c34061e7c34
--- a/TARGET_NRF51_DK/core_caFunc.h Tue Nov 08 17:28:34 2016 +0000 +++ b/TARGET_NRF51_DK/core_caFunc.h Thu Nov 24 11:01:25 2016 +0000 @@ -811,6 +811,23 @@ __STATIC_INLINE void __v7_inv_dcache_all(void) { __v7_all_cache(0); } +/** \brief Clean the whole D$ + + DCCSW. Clean by Set/Way + */ + +__STATIC_INLINE void __v7_clean_dcache_all(void) { + __v7_all_cache(1); +} + +/** \brief Clean and invalidate the whole D$ + + DCCISW. Clean and Invalidate by Set/Way + */ + +__STATIC_INLINE void __v7_clean_inv_dcache_all(void) { + __v7_all_cache(2); +} /** \brief Clean and Invalidate D$ by MVA DCCIMVAC. Data cache clean and invalidate by MVA to PoC