@@ -194,7 +194,7 @@ static void a_iic_nack(void)
194
194
195
195
/**
196
196
* @brief iic send one byte
197
- * @param[in] txd is the sent byte
197
+ * @param[in] txd sent byte
198
198
* @note none
199
199
*/
200
200
static void a_iic_send_byte (uint8_t txd )
@@ -217,7 +217,7 @@ static void a_iic_send_byte(uint8_t txd)
217
217
218
218
/**
219
219
* @brief iic read one byte
220
- * @param[in] ack is the sent ack
220
+ * @param[in] ack sent ack
221
221
* @return read byte
222
222
* @note none
223
223
*/
@@ -253,9 +253,9 @@ static uint8_t a_iic_read_byte(uint8_t ack)
253
253
254
254
/**
255
255
* @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
259
259
* @return status code
260
260
* - 0 success
261
261
* - 1 write failed
@@ -298,10 +298,10 @@ uint8_t iic_write_cmd(uint8_t addr, uint8_t *buf, uint16_t len)
298
298
299
299
/**
300
300
* @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
305
305
* @return status code
306
306
* - 0 success
307
307
* - 1 write failed
@@ -353,10 +353,10 @@ uint8_t iic_write(uint8_t addr, uint8_t reg, uint8_t *buf, uint16_t len)
353
353
354
354
/**
355
355
* @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
360
360
* @return status code
361
361
* - 0 success
362
362
* - 1 write failed
@@ -417,9 +417,9 @@ uint8_t iic_write_address16(uint8_t addr, uint16_t reg, uint8_t *buf, uint16_t l
417
417
418
418
/**
419
419
* @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
423
423
* @return status code
424
424
* - 0 success
425
425
* - 1 read failed
@@ -465,10 +465,10 @@ uint8_t iic_read_cmd(uint8_t addr, uint8_t *buf, uint16_t len)
465
465
466
466
/**
467
467
* @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
472
472
* @return status code
473
473
* - 0 success
474
474
* - 1 read failed
@@ -535,10 +535,10 @@ uint8_t iic_read(uint8_t addr, uint8_t reg, uint8_t *buf, uint16_t len)
535
535
536
536
/**
537
537
* @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
542
542
* @return status code
543
543
* - 0 success
544
544
* - 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
608
608
609
609
/**
610
610
* @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
615
615
* @return status code
616
616
* - 0 success
617
617
* - 1 read failed
0 commit comments