aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/include/i2c.h
diff options
context:
space:
mode:
authorbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-06-18 11:12:33 +0000
committerbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-06-18 11:12:33 +0000
commit350ae0a1a9721b8889b038cf2fce6a88f1c288e3 (patch)
treeb6871336e93e1ca6af46fd72ffe4147efb88770d /os/hal/include/i2c.h
parent9e2d63e9dca04b460e36674dcb681d55f8cea5df (diff)
downloadChibiOS-350ae0a1a9721b8889b038cf2fce6a88f1c288e3.tar.gz
ChibiOS-350ae0a1a9721b8889b038cf2fce6a88f1c288e3.tar.bz2
ChibiOS-350ae0a1a9721b8889b038cf2fce6a88f1c288e3.zip
I2C. API BROKEN! Structure fields renamed in underscore naming style.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3055 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/include/i2c.h')
-rw-r--r--os/hal/include/i2c.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/os/hal/include/i2c.h b/os/hal/include/i2c.h
index f5465985b..6b8661c7e 100644
--- a/os/hal/include/i2c.h
+++ b/os/hal/include/i2c.h
@@ -148,15 +148,12 @@ struct I2CSlaveConfig{
*/
i2cerrorcallback_t id_err_callback;
- /**
- * @brief Receive and transmit buffers.
- */
- size_t txbytes;
- size_t rxbytes;
+ size_t txbytes; /*!< Number of bytes to transmitted. */
+ size_t rxbytes; /*!< Number of bytes to received. */
i2cblock_t *rxbuf; /*!< Pointer to receive buffer. */
i2cblock_t *txbuf; /*!< Pointer to transmit buffer.*/
- uint16_t slave_addr;
- uint8_t nbit_address; /*!< Length of address (must be 7 or 10).*/
+ uint16_t slave_addr; /*!< Slave device address.*/
+ uint8_t nbit_addr; /*!< Length of address (must be 7 or 10).*/
i2cflags_t errors;
i2cflags_t flags;
/* Status Change @p EventSource.*/