Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbed_SPIS_multiByte_example_SOG by
Diff: spi_api_multibyte.h
- Revision:
- 5:6a1155885fc9
- Parent:
- 2:c520d7c7739d
diff -r 8e796b751cd3 -r 6a1155885fc9 spi_api_multibyte.h
--- 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
/**@}*/
