added wait_us(31) in admw_spi.cpp to support hibernation mode

Revision:
52:d32ea3dfc8ac
Parent:
50:d84305e5e1c0
Child:
53:644c5f6300da
--- a/src/admw_1001.c	Mon Feb 17 11:23:39 2020 +0000
+++ b/src/admw_1001.c	Wed Feb 19 09:07:35 2020 +0000
@@ -52,7 +52,7 @@
 #include "admw1001/ADMW1001_REGISTERS.h"
 #include "admw1001/admw1001_lut_data.h"
 #include "admw1001/admw1001_host_comms.h"
-
+#include "inc/mbed_version.h"
 #include "crc16.h"
 #define VERSIONID_MAJOR 2
 #define VERSIONID_MINOR 0
@@ -405,6 +405,10 @@
     }
     return ADMW_SUCCESS;
 }
+ADMW_RESULT admw_readMbedVersion()
+{
+    ADMW_LOG_INFO("ADMW Mbed Firmware Version Id is %X.%X.%X",ADMW_MBED_MAJOR,ADMW_MBED_MINOR,ADMW_MBED_BUILD);
+}
 static ADMW_RESULT executeCommand(
     ADMW_DEVICE_HANDLE const hDevice,
     ADMW_CORE_Command_Special_Command const command,