From 12778b0075823d399f0ac911bc9725fe8c8312c1 Mon Sep 17 00:00:00 2001 From: barthess Date: Thu, 10 Feb 2011 17:21:20 +0000 Subject: I2C. Cleanups. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@2730 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/include/i2c.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'os/hal/include/i2c.h') diff --git a/os/hal/include/i2c.h b/os/hal/include/i2c.h index 5f4b2cc6f..8b057f527 100644 --- a/os/hal/include/i2c.h +++ b/os/hal/include/i2c.h @@ -80,7 +80,12 @@ typedef enum { I2C_MTRANSMIT = 6, /**< Master transmitting. */ I2C_MRECEIVE = 7, /**< Master receiving. */ I2C_MWAIT_TF = 8, /**< Master wait Transmission Finished */ - I2C_MERROR = 9 /**< Error condition. */ + I2C_MERROR = 9, /**< Error condition. */ + + // slave part + I2C_SACTIVE = 10, + I2C_STRANSMIT = 11, + I2C_SRECEIVE = 12, } i2cstate_t; #include "i2c_lld.h" -- cgit v1.2.3