ads1115 only

Fork of mbed by mbed official

Revision:
121:6c34061e7c34
Parent:
115:87f2f5183dfb
Child:
130:d75b3fe1f5cb
--- a/TARGET_KL05Z/core_caFunc.h	Tue May 10 12:23:43 2016 -0500
+++ b/TARGET_KL05Z/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 ---------------------*/