@@ -194,7 +194,7 @@ static void a_iic_nack(void)
194194
195195/**
196196 * @brief iic send one byte
197- * @param[in] txd is the sent byte
197+ * @param[in] txd sent byte
198198 * @note none
199199 */
200200static void a_iic_send_byte (uint8_t txd )
@@ -217,7 +217,7 @@ static void a_iic_send_byte(uint8_t txd)
217217
218218/**
219219 * @brief iic read one byte
220- * @param[in] ack is the sent ack
220+ * @param[in] ack sent ack
221221 * @return read byte
222222 * @note none
223223 */
@@ -253,9 +253,9 @@ static uint8_t a_iic_read_byte(uint8_t ack)
253253
254254/**
255255 * @brief iic bus write command
256- * @param[in] addr is the iic device write address
257- * @param[in] *buf points to a data buffer
258- * @param[in] len is the length of the data buffer
256+ * @param[in] addr iic device write address
257+ * @param[in] *buf pointer to a data buffer
258+ * @param[in] len length of the data buffer
259259 * @return status code
260260 * - 0 success
261261 * - 1 write failed
@@ -298,10 +298,10 @@ uint8_t iic_write_cmd(uint8_t addr, uint8_t *buf, uint16_t len)
298298
299299/**
300300 * @brief iic bus write
301- * @param[in] addr is the iic device write address
302- * @param[in] reg is the iic register address
303- * @param[in] *buf points to a data buffer
304- * @param[in] len is the length of the data buffer
301+ * @param[in] addr iic device write address
302+ * @param[in] reg iic register address
303+ * @param[in] *buf pointer to a data buffer
304+ * @param[in] len length of the data buffer
305305 * @return status code
306306 * - 0 success
307307 * - 1 write failed
@@ -353,10 +353,10 @@ uint8_t iic_write(uint8_t addr, uint8_t reg, uint8_t *buf, uint16_t len)
353353
354354/**
355355 * @brief iic bus write with 16 bits register address
356- * @param[in] addr is the iic device write address
357- * @param[in] reg is the iic register address
358- * @param[in] *buf points to a data buffer
359- * @param[in] len is the length of the data buffer
356+ * @param[in] addr iic device write address
357+ * @param[in] reg iic register address
358+ * @param[in] *buf pointer to a data buffer
359+ * @param[in] len length of the data buffer
360360 * @return status code
361361 * - 0 success
362362 * - 1 write failed
@@ -417,9 +417,9 @@ uint8_t iic_write_address16(uint8_t addr, uint16_t reg, uint8_t *buf, uint16_t l
417417
418418/**
419419 * @brief iic bus read command
420- * @param[in] addr is the iic device write address
421- * @param[out] *buf points to a data buffer
422- * @param[in] len is the length of the data buffer
420+ * @param[in] addr iic device write address
421+ * @param[out] *buf pointer to a data buffer
422+ * @param[in] len length of the data buffer
423423 * @return status code
424424 * - 0 success
425425 * - 1 read failed
@@ -465,10 +465,10 @@ uint8_t iic_read_cmd(uint8_t addr, uint8_t *buf, uint16_t len)
465465
466466/**
467467 * @brief iic bus read
468- * @param[in] addr is the iic device write address
469- * @param[in] reg is the iic register address
470- * @param[out] *buf points to a data buffer
471- * @param[in] len is the length of the data buffer
468+ * @param[in] addr iic device write address
469+ * @param[in] reg iic register address
470+ * @param[out] *buf pointer to a data buffer
471+ * @param[in] len length of the data buffer
472472 * @return status code
473473 * - 0 success
474474 * - 1 read failed
@@ -535,10 +535,10 @@ uint8_t iic_read(uint8_t addr, uint8_t reg, uint8_t *buf, uint16_t len)
535535
536536/**
537537 * @brief iic bus read with 10ms
538- * @param[in] addr is the iic device write address
539- * @param[in] reg is the iic register address
540- * @param[out] *buf points to a data buffer
541- * @param[in] len is the length of the data buffer
538+ * @param[in] addr iic device write address
539+ * @param[in] reg iic register address
540+ * @param[out] *buf pointer to a data buffer
541+ * @param[in] len length of the data buffer
542542 * @return status code
543543 * - 0 success
544544 * - 1 read failed
@@ -608,10 +608,10 @@ uint8_t iic_read_with_wait(uint8_t addr, uint8_t reg, uint8_t *buf, uint16_t len
608608
609609/**
610610 * @brief iic bus read with 16 bits register address
611- * @param[in] addr is the iic device write address
612- * @param[in] reg is the iic register address
613- * @param[out] *buf points to a data buffer
614- * @param[in] len is the length of the data buffer
611+ * @param[in] addr iic device write address
612+ * @param[in] reg iic register address
613+ * @param[out] *buf pointer to a data buffer
614+ * @param[in] len length of the data buffer
615615 * @return status code
616616 * - 0 success
617617 * - 1 read failed
0 commit comments