stm32/i2c: Add DOXYGEN strings for i2c helper functions.

Also: Define i2c_dutycycle group in i2c header
This commit is contained in:
Jeff Ciesielski
2012-10-22 15:48:22 -07:00
parent 94abf6e529
commit f80bf1ccb1
2 changed files with 57 additions and 0 deletions

View File

@@ -321,9 +321,15 @@ LGPL License Terms @ref lgpl_license
#define I2C_CCR_FS (1 << 15)
/* DUTY: Fast Mode Duty Cycle */
/** @defgroup i2c_duty_cycle I2C peripheral clock duty cycles
@ingroup i2c_defines
@{*/
#define I2C_CCR_DUTY (1 << 14)
#define I2C_CCR_DUTY_DIV2 0
#define I2C_CCR_DUTY_16_DIV_9 1
/**@}*/
/* Note: Bits [13:12] are reserved, and forced to 0 by hardware. */
/*