aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-09-09 07:11:57 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-09-09 07:11:57 +0000
commit7c88d27c820914b06b831ebb2dfba43cf93840ff (patch)
treefdd9365f33db758ab7e856669bbc9cf4a0015109
parente8548328e2ec6183eb58adf8c72b76ae100bd6fd (diff)
downloadChibiOS-7c88d27c820914b06b831ebb2dfba43cf93840ff.tar.gz
ChibiOS-7c88d27c820914b06b831ebb2dfba43cf93840ff.tar.bz2
ChibiOS-7c88d27c820914b06b831ebb2dfba43cf93840ff.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4641 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r--os/hal/platforms/AVR/i2c_lld.h27
1 files changed, 14 insertions, 13 deletions
diff --git a/os/hal/platforms/AVR/i2c_lld.h b/os/hal/platforms/AVR/i2c_lld.h
index 6fae3b67f..290d04dd5 100644
--- a/os/hal/platforms/AVR/i2c_lld.h
+++ b/os/hal/platforms/AVR/i2c_lld.h
@@ -35,31 +35,31 @@
/* Driver constants. */
/*===========================================================================*/
-/** START transmitted */
+/** @brief START transmitted.*/
#define TWI_START 0x08
-/** Repeated START transmitted */
+/** @brief Repeated START transmitted.*/
#define TWI_REPEAT_START 0x10
-/** Arbitration Lost */
+/** @brief Arbitration Lost.*/
#define TWI_ARBITRATION_LOST 0x38
-/** Bus errors */
+/** @brief Bus errors.*/
#define TWI_BUS_ERROR 0x00
-/** SLA+W transmitted with ACK response */
+/** @brief SLA+W transmitted with ACK response.*/
#define TWI_MASTER_TX_ADDR_ACK 0x18
-/** SLA+W transmitted with NACK response */
+/** @brief SLA+W transmitted with NACK response.*/
#define TWI_MASTER_TX_ADDR_NACK 0x20
-/** DATA transmitted with ACK response */
+/** @brief DATA transmitted with ACK response.*/
#define TWI_MASTER_TX_DATA_ACK 0x28
-/** DATA transmitted with NACK response */
+/** @brief DATA transmitted with NACK response.*/
#define TWI_MASTER_TX_DATA_NACK 0x30
-/** SLA+R transmitted with ACK response */
+/** @brief SLA+R transmitted with ACK response.*/
#define TWI_MASTER_RX_ADDR_ACK 0x40
-/** SLA+R transmitted with NACK response */
+/** @brief SLA+R transmitted with NACK response.*/
#define TWI_MASTER_RX_ADDR_NACK 0x48
-/** DATA received with ACK response */
+/** @brief DATA received with ACK response.*/
#define TWI_MASTER_RX_DATA_ACK 0x50
-/** DATA received with NACK response */
+/** @brief DATA received with NACK response.*/
#define TWI_MASTER_RX_DATA_NACK 0x58
/*===========================================================================*/
@@ -78,6 +78,7 @@
#if !defined(USE_AVR_I2C) || defined(__DOXYGEN__)
#define USE_AVR_I2C FALSE
#endif
+/** @} */
/*===========================================================================*/
/* Derived constants and error checks. */
@@ -146,7 +147,7 @@ struct I2CDriver {
*/
Thread *thread;
/**
- * @brief Address of slave device
+ * @brief Address of slave device.
*/
i2caddr_t addr;
/**