diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-12-29 22:18:25 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-12-29 22:18:25 +0000 |
commit | 08feb80580ca82cfebd77a43d14d1197ec7c4f99 (patch) | |
tree | 50ca2131d8d2f13e73555033a61d3aadc76227b8 /os/hal/src | |
parent | 411418930f549e656dde9067446cfd52317fe33d (diff) | |
download | ChibiOS-08feb80580ca82cfebd77a43d14d1197ec7c4f99.tar.gz ChibiOS-08feb80580ca82cfebd77a43d14d1197ec7c4f99.tar.bz2 ChibiOS-08feb80580ca82cfebd77a43d14d1197ec7c4f99.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3686 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/src')
-rw-r--r-- | os/hal/src/i2c.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/os/hal/src/i2c.c b/os/hal/src/i2c.c index 5cf5cb4f7..598719d24 100644 --- a/os/hal/src/i2c.c +++ b/os/hal/src/i2c.c @@ -169,7 +169,8 @@ i2cflags_t i2cGetErrors(I2CDriver *i2cp) { * - @a TIME_INFINITE no timeout.
* .
*
- * @return The number of received bytes or an exit code.
+ * @return The operation status.
+ * @retval RDY_OK if the function succeeded.
* @retval RDY_RESET if one or more I2C errors occurred, the errors can
* be retrieved using @p i2cGetErrors().
* @retval RDY_TIMEOUT if a timeout occurred before operation end.
@@ -218,7 +219,7 @@ msg_t i2cMasterTransmitTimeout(I2CDriver *i2cp, * - @a TIME_INFINITE no timeout.
* .
*
- * @return The number of received bytes or an exit code.
+ * @return The operation status.
* @retval RDY_OK if the function succeeded.
* @retval RDY_RESET if one or more I2C errors occurred, the errors can
* be retrieved using @p i2cGetErrors().
|