@@ -55,8 +55,8 @@ extern "C" {
5555
5656/**
5757 * @brief iic bus init
58- * @param[in] *name points to an iic device name buffer
59- * @param[out] *fd points to an iic device handle buffer
58+ * @param[in] *name pointer to an iic device name buffer
59+ * @param[out] *fd pointer to an iic device handle buffer
6060 * @return status code
6161 * - 0 success
6262 * - 1 init failed
@@ -66,7 +66,7 @@ uint8_t iic_init(char *name, int *fd);
6666
6767/**
6868 * @brief iic bus deinit
69- * @param[in] fd is the iic handle
69+ * @param[in] fd iic handle
7070 * @return status code
7171 * - 0 success
7272 * - 1 deinit failed
@@ -76,10 +76,10 @@ uint8_t iic_deinit(int fd);
7676
7777/**
7878 * @brief iic bus read command
79- * @param[in] fd is the iic handle
80- * @param[in] addr is the iic device write address
81- * @param[out] *buf points to a data buffer
82- * @param[in] len is the length of the data buffer
79+ * @param[in] fd iic handle
80+ * @param[in] addr iic device write address
81+ * @param[out] *buf pointer to a data buffer
82+ * @param[in] len length of the data buffer
8383 * @return status code
8484 * - 0 success
8585 * - 1 read failed
@@ -89,11 +89,11 @@ uint8_t iic_read_cmd(int fd, uint8_t addr, uint8_t *buf, uint16_t len);
8989
9090/**
9191 * @brief iic bus read
92- * @param[in] fd is the iic handle
93- * @param[in] addr is the iic device write address
94- * @param[in] reg is the iic register address
95- * @param[out] *buf points to a data buffer
96- * @param[in] len is the length of the data buffer
92+ * @param[in] fd iic handle
93+ * @param[in] addr iic device write address
94+ * @param[in] reg iic register address
95+ * @param[out] *buf pointer to a data buffer
96+ * @param[in] len length of the data buffer
9797 * @return status code
9898 * - 0 success
9999 * - 1 read failed
@@ -103,11 +103,11 @@ uint8_t iic_read(int fd, uint8_t addr, uint8_t reg, uint8_t *buf, uint16_t len);
103103
104104/**
105105 * @brief iic bus read with 16 bits register address
106- * @param[in] fd is the iic handle
107- * @param[in] addr is the iic device write address
108- * @param[in] reg is the iic register address
109- * @param[out] *buf points to a data buffer
110- * @param[in] len is the length of the data buffer
106+ * @param[in] fd iic handle
107+ * @param[in] addr iic device write address
108+ * @param[in] reg iic register address
109+ * @param[out] *buf pointer to a data buffer
110+ * @param[in] len length of the data buffer
111111 * @return status code
112112 * - 0 success
113113 * - 1 read failed
@@ -117,10 +117,10 @@ uint8_t iic_read_address16(int fd, uint8_t addr, uint16_t reg, uint8_t *buf, uin
117117
118118/**
119119 * @brief iic bus write command
120- * @param[in] fd is the iic handle
121- * @param[in] addr is the iic device write address
122- * @param[in] *buf points to a data buffer
123- * @param[in] len is the length of the data buffer
120+ * @param[in] fd iic handle
121+ * @param[in] addr iic device write address
122+ * @param[in] *buf pointer to a data buffer
123+ * @param[in] len length of the data buffer
124124 * @return status code
125125 * - 0 success
126126 * - 1 write failed
@@ -130,11 +130,11 @@ uint8_t iic_write_cmd(int fd, uint8_t addr, uint8_t *buf, uint16_t len);
130130
131131/**
132132 * @brief iic bus write
133- * @param[in] fd is the iic handle
134- * @param[in] addr is the iic device write address
135- * @param[in] reg is the iic register address
136- * @param[in] *buf points to a data buffer
137- * @param[in] len is the length of the data buffer
133+ * @param[in] fd iic handle
134+ * @param[in] addr iic device write address
135+ * @param[in] reg iic register address
136+ * @param[in] *buf pointer to a data buffer
137+ * @param[in] len length of the data buffer
138138 * @return status code
139139 * - 0 success
140140 * - 1 write failed
@@ -144,11 +144,11 @@ uint8_t iic_write(int fd, uint8_t addr, uint8_t reg, uint8_t *buf, uint16_t len)
144144
145145/**
146146 * @brief iic bus write with 16 bits register address
147- * @param[in] fd is the iic handle
148- * @param[in] addr is the iic device write address
149- * @param[in] reg is the iic register address
150- * @param[in] *buf points to a data buffer
151- * @param[in] len is the length of the data buffer
147+ * @param[in] fd iic handle
148+ * @param[in] addr iic device write address
149+ * @param[in] reg iic register address
150+ * @param[in] *buf pointer to a data buffer
151+ * @param[in] len length of the data buffer
152152 * @return status code
153153 * - 0 success
154154 * - 1 write failed
0 commit comments