aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32/LLD/I2Cv1
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-11-02 16:38:13 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-11-02 16:38:13 +0000
commit69f211ae2c3f7a42d65e9f3bdb4e192016a53d94 (patch)
tree2241b536eb349dd81abb7ce17781980df72dca94 /os/hal/ports/STM32/LLD/I2Cv1
parenta94bfc5f713ee3b7659c53458b61f40ff39dc660 (diff)
downloadChibiOS-69f211ae2c3f7a42d65e9f3bdb4e192016a53d94.tar.gz
ChibiOS-69f211ae2c3f7a42d65e9f3bdb4e192016a53d94.tar.bz2
ChibiOS-69f211ae2c3f7a42d65e9f3bdb4e192016a53d94.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7462 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/STM32/LLD/I2Cv1')
-rw-r--r--os/hal/ports/STM32/LLD/I2Cv1/i2c_lld.h9
1 files changed, 5 insertions, 4 deletions
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 {
/**