Debugging tool for mbed enabled microcontrollers, especially for NUCLEO-F303RE and STM32F042F6P6.

Revision:
2:478ba8b83e3f
Parent:
0:e36b454cc2e6
Child:
3:3d7837ae4a37
--- a/debug_register.cpp	Mon May 06 00:29:00 2019 +0000
+++ b/debug_register.cpp	Mon May 06 00:32:53 2019 +0000
@@ -84,6 +84,10 @@
     return pc.readable();
 }
 
+bool Debug_register::writable(){
+    return pc.writable();
+}
+
 // clear screen from m line up to n line
 //------------------------------------------------------------------------------------------------------------------
 void Debug_register::clear_from_n_up_to_m(int m, int n){