Tsungta Wu / Mbed OS mbed_SPIS_multiByte_example_SOG

Dependencies:   NNN50_WIFI_API

Fork of mbed_SPIS_multiByte_example_SOG by Sog Yang

Revision:
5:6a1155885fc9
Parent:
2:c520d7c7739d
--- a/spi_api_multibyte.h	Thu Jun 01 07:59:21 2017 +0000
+++ b/spi_api_multibyte.h	Tue Jun 13 04:34:01 2017 +0000
@@ -50,10 +50,12 @@
 
 #endif
 
+
 #ifdef __cplusplus
 extern "C" {
 #endif
 
+
 /**
  * \defgroup hal_GeneralSPI SPI Configuration Functions
  * @{
@@ -131,6 +133,8 @@
  */
 int  spi_slave_read_multibyte(spi_mb_t *obj);
 
+bool get_spi_slave_readable(spi_mb_t *obj);
+
 /** Write a value to the SPI peripheral in slave mode
  *
  * Blocks until the SPI peripheral can be written to
@@ -204,6 +208,7 @@
 void spi_abort_asynch_multibyte(spi_mb_t *obj);
 
 
+
 #endif
 
 /**@}*/