From 336b45c9954c8821e73e8f0e4a9b5011a4af28b6 Mon Sep 17 00:00:00 2001 From: Marti Bolivar Date: Wed, 20 Jun 2012 15:14:56 -0400 Subject: I2C: Fix Doxygen F1-isms. I'm not sure these functions should even exist in their present form,, but I don't understand the code well enough to make a real fix. For now, just replace references to RM0008 with "chip reference manual". Signed-off-by: Marti Bolivar --- libmaple/include/libmaple/i2c.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'libmaple/include') diff --git a/libmaple/include/libmaple/i2c.h b/libmaple/include/libmaple/i2c.h index 6d1fadf..ccce139 100644 --- a/libmaple/include/libmaple/i2c.h +++ b/libmaple/include/libmaple/i2c.h @@ -237,7 +237,10 @@ static inline void i2c_set_input_clk(i2c_dev *dev, uint32 freq) { } /** - * @brief Set I2C clock control register. See RM008 + * @brief Set I2C clock control register. + * + * See the chip reference manual for the details. + * * @param dev I2C device * @param val Value to use for clock control register (in * Fast/Standard mode) @@ -252,8 +255,8 @@ static inline void i2c_set_clk_control(i2c_dev *dev, uint32 val) { /** * @brief Set SCL rise time * @param dev I2C device - * @param trise Maximum rise time in fast/standard mode (see RM0008 - * for relevant formula). + * @param trise Maximum rise time in fast/standard mode (see chip + * reference manual for the relevant formulas). */ static inline void i2c_set_trise(i2c_dev *dev, uint32 trise) { dev->regs->TRISE = trise; -- cgit v1.2.3