From 69f211ae2c3f7a42d65e9f3bdb4e192016a53d94 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sun, 2 Nov 2014 16:38:13 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7462 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/ports/STM32/LLD/I2Cv1/i2c_lld.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'os/hal/ports/STM32/LLD/I2Cv1') diff --git a/os/hal/ports/STM32/LLD/I2Cv1/i2c_lld.h b/os/hal/ports/STM32/LLD/I2Cv1/i2c_lld.h index e2f41d41d..a62efcaa6 100644 --- a/os/hal/ports/STM32/LLD/I2Cv1/i2c_lld.h +++ b/os/hal/ports/STM32/LLD/I2Cv1/i2c_lld.h @@ -357,12 +357,12 @@ /*===========================================================================*/ /** - * @brief Type representing I2C address. + * @brief Type representing an I2C address. */ typedef uint16_t i2caddr_t; /** - * @brief I2C Driver condition flags type. + * @brief Type of I2C driver condition flags. */ typedef uint32_t i2cflags_t; @@ -385,9 +385,10 @@ typedef enum { } i2cdutycycle_t; /** - * @brief Driver configuration structure. + * @brief Type of I2C driver configuration structure. */ typedef struct { + /* End of the mandatory fields.*/ i2copmode_t op_mode; /**< @brief Specifies the I2C mode. */ uint32_t clock_speed; /**< @brief Specifies the clock frequency. @note Must be set to a value lower @@ -402,7 +403,7 @@ typedef struct { typedef struct I2CDriver I2CDriver; /** - * @brief Structure representing an I2C driver. + * @brief Structure representing an I2C driver. */ struct I2CDriver { /** -- cgit v1.2.3