From 43f9fd4180030081daae9122bd57a521ec9c58e1 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Fri, 30 Oct 2009 15:45:38 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1258 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/io/templates/spi_lld.h | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'os/io/templates/spi_lld.h') diff --git a/os/io/templates/spi_lld.h b/os/io/templates/spi_lld.h index a8479c008..4017d2418 100644 --- a/os/io/templates/spi_lld.h +++ b/os/io/templates/spi_lld.h @@ -46,15 +46,6 @@ /* Driver data structures and types. */ /*===========================================================================*/ -/** - * @brief Driver state machine possible states. - */ -typedef enum { - SPI_UNINIT = 0, - SPI_IDLE = 1, - SPI_ACTIVE = 2 -} spistate_t; - /** * @brief Driver configuration structure. */ @@ -99,7 +90,8 @@ typedef struct { extern "C" { #endif void spi_lld_init(void); - void spi_lld_setup(SPIDriver *spip); + void spi_lld_start(SPIDriver *spip); + void spi_lld_stop(SPIDriver *spip); void spi_lld_select(SPIDriver *spip); void spi_lld_unselect(SPIDriver *spip); msg_t spi_lld_exchange(SPIDriver *spip, size_t n, void *rxbuf, void *txbuf); -- cgit v1.2.3