aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/include
diff options
context:
space:
mode:
authorbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-07-20 08:35:05 +0000
committerbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-07-20 08:35:05 +0000
commit302d06cc6652cd44f961c35c7194ff3145f55406 (patch)
treea3f5b716bdefb455a03eafb00227b4a3118a0481 /os/hal/include
parentb569145b24a59d0741a26885767efa04146f78a5 (diff)
downloadChibiOS-302d06cc6652cd44f961c35c7194ff3145f55406.tar.gz
ChibiOS-302d06cc6652cd44f961c35c7194ff3145f55406.tar.bz2
ChibiOS-302d06cc6652cd44f961c35c7194ff3145f55406.zip
I2C. All polling waitins code replaced by "waiting" GPT interrups. Documentation fixes.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3167 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/include')
-rw-r--r--os/hal/include/i2c.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/os/hal/include/i2c.h b/os/hal/include/i2c.h
index 16d6f77b6..73f633353 100644
--- a/os/hal/include/i2c.h
+++ b/os/hal/include/i2c.h
@@ -79,11 +79,12 @@
*/
typedef enum {
/* master part */
- I2C_UNINIT = 0, /**< @brief Not initialized. */
- I2C_STOP = 1, /**< @brief Stopped. */
- I2C_READY = 2, /**< @brief Ready. */
- I2C_ACTIVE_TRANSMIT = 3,/**< @brief Transmit in progress. */
- I2C_ACTIVE_RECEIVE = 4, /**< @brief Receive in progress. */
+ I2C_UNINIT = 0, /**< @brief Not initialized. */
+ I2C_STOP = 1, /**< @brief Stopped. */
+ I2C_READY = 2, /**< @brief Ready. */
+ I2C_ACTIVE_TRANSMIT = 3, /**< @brief Transmit in progress. */
+ I2C_ACTIVE_RECEIVE = 4, /**< @brief Receive in progress. */
+ I2C_ACTIVE_TRANSCEIVE = 5, /**< @brief Receive after transmit in progress. */
/* Slave part. Not realized. */
I2C_SACTIVE = 10,