Skip to content

Commit c196ad2

Browse files
committed
Removed undefined spi slave related functions.
1 parent c942171 commit c196ad2

File tree

1 file changed

+0
-35
lines changed
  • targets/TARGET_Analog_Devices/TARGET_ADUCM4X50/TARGET_ADUCM4050/api

1 file changed

+0
-35
lines changed

targets/TARGET_Analog_Devices/TARGET_ADUCM4X50/TARGET_ADUCM4050/api/spi_api.c

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -287,41 +287,6 @@ int spi_master_write(spi_t *obj, int value)
287287
}
288288

289289

290-
/** Check if a value is available to read
291-
*
292-
* @param[in] obj The SPI peripheral to check
293-
* @return non-zero if a value is available
294-
*/
295-
int spi_slave_receive(spi_t *obj)
296-
{
297-
return 0;
298-
}
299-
300-
301-
/** Get a received value out of the SPI receive buffer in slave mode
302-
*
303-
* Blocks until a value is available
304-
* @param[in] obj The SPI peripheral to read
305-
* @return The value received
306-
*/
307-
int spi_slave_read(spi_t *obj)
308-
{
309-
return 0;
310-
}
311-
312-
313-
/** Write a value to the SPI peripheral in slave mode
314-
*
315-
* Blocks until the SPI peripheral can be written to
316-
* @param[in] obj The SPI peripheral to write
317-
* @param[in] value The value to write
318-
*/
319-
void spi_slave_write(spi_t *obj, int value)
320-
{
321-
return;
322-
}
323-
324-
325290
/** Write a block out in master mode and receive a value
326291
*
327292
* The total number of bytes sent and recieved will be the maximum of

0 commit comments

Comments
 (0)