diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-10-30 11:18:28 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-10-30 11:18:28 +0000 |
commit | a884e58e2cea877f804cb643d4d1e0909bd1fa49 (patch) | |
tree | 5a0e292f8b7ae213756e92d4710711fbd57db296 /os/hal/platforms/LPC214x/spi_lld.h | |
parent | 0cef5f4877397e508bdf5706ef8fada52cdb9d49 (diff) | |
download | ChibiOS-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/LPC214x/spi_lld.h')
-rw-r--r-- | os/hal/platforms/LPC214x/spi_lld.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/os/hal/platforms/LPC214x/spi_lld.h b/os/hal/platforms/LPC214x/spi_lld.h index eafa23f88..a4b16f76a 100644 --- a/os/hal/platforms/LPC214x/spi_lld.h +++ b/os/hal/platforms/LPC214x/spi_lld.h @@ -117,10 +117,6 @@ typedef struct { */
uint16_t spc_cr0;
/**
- * @brief SSP CR1 initialization data.
- */
- uint16_t spc_cr1;
- /**
* @brief SSP CPSR initialization data.
*/
uint32_t spc_cpsr;
@@ -205,6 +201,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
|