aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/LPC11xx/spi_lld.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-10-30 11:18:28 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-10-30 11:18:28 +0000
commita884e58e2cea877f804cb643d4d1e0909bd1fa49 (patch)
tree5a0e292f8b7ae213756e92d4710711fbd57db296 /os/hal/platforms/LPC11xx/spi_lld.h
parent0cef5f4877397e508bdf5706ef8fada52cdb9d49 (diff)
downloadChibiOS-a884e58e2cea877f804cb643d4d1e0909bd1fa49.tar.gz
ChibiOS-a884e58e2cea877f804cb643d4d1e0909bd1fa49.tar.bz2
ChibiOS-a884e58e2cea877f804cb643d4d1e0909bd1fa49.zip
Added a polled exchange function to the SPI driver model, implemented on LPCxxxx SPI drivers.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2302 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/LPC11xx/spi_lld.h')
-rw-r--r--os/hal/platforms/LPC11xx/spi_lld.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/os/hal/platforms/LPC11xx/spi_lld.h b/os/hal/platforms/LPC11xx/spi_lld.h
index 021099097..b3f38056f 100644
--- a/os/hal/platforms/LPC11xx/spi_lld.h
+++ b/os/hal/platforms/LPC11xx/spi_lld.h
@@ -334,6 +334,7 @@ extern "C" {
const void *txbuf, void *rxbuf);
void spi_lld_send(SPIDriver *spip, size_t n, const void *txbuf);
void spi_lld_receive(SPIDriver *spip, size_t n, void *rxbuf);
+ uint16_t spi_lld_polled_exchange(SPIDriver *spip, uint16_t frame);
#ifdef __cplusplus
}
#endif