driver docs: Fix some doxygen warnings

This commit is contained in:
Angus Gratton
2019-09-13 14:04:38 +10:00
committed by Angus Gratton
parent 49698e15f3
commit 9d19f4fc8e
5 changed files with 7 additions and 6 deletions

View File

@@ -89,11 +89,11 @@ typedef struct{
union {
struct {
uint32_t clk_speed; /*!< I2C clock frequency for master mode, (no higher than 1MHz for now) */
} master;
} master; /*!< Configuration if the I2C peripheral is master */
struct {
uint8_t addr_10bit_en; /*!< I2C 10bit address mode enable for slave mode */
uint16_t slave_addr; /*!< I2C address for slave mode */
} slave;
} slave; /*!< Configuration if the I2C peripheral is slave */
};
}i2c_config_t;