@@ -55,8 +55,8 @@ extern "C" {
55
55
56
56
/**
57
57
* @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
60
60
* @return status code
61
61
* - 0 success
62
62
* - 1 init failed
@@ -66,7 +66,7 @@ uint8_t iic_init(char *name, int *fd);
66
66
67
67
/**
68
68
* @brief iic bus deinit
69
- * @param[in] fd is the iic handle
69
+ * @param[in] fd iic handle
70
70
* @return status code
71
71
* - 0 success
72
72
* - 1 deinit failed
@@ -76,10 +76,10 @@ uint8_t iic_deinit(int fd);
76
76
77
77
/**
78
78
* @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
83
83
* @return status code
84
84
* - 0 success
85
85
* - 1 read failed
@@ -89,11 +89,11 @@ uint8_t iic_read_cmd(int fd, uint8_t addr, uint8_t *buf, uint16_t len);
89
89
90
90
/**
91
91
* @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
97
97
* @return status code
98
98
* - 0 success
99
99
* - 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);
103
103
104
104
/**
105
105
* @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
111
111
* @return status code
112
112
* - 0 success
113
113
* - 1 read failed
@@ -117,10 +117,10 @@ uint8_t iic_read_address16(int fd, uint8_t addr, uint16_t reg, uint8_t *buf, uin
117
117
118
118
/**
119
119
* @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
124
124
* @return status code
125
125
* - 0 success
126
126
* - 1 write failed
@@ -130,11 +130,11 @@ uint8_t iic_write_cmd(int fd, uint8_t addr, uint8_t *buf, uint16_t len);
130
130
131
131
/**
132
132
* @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
138
138
* @return status code
139
139
* - 0 success
140
140
* - 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)
144
144
145
145
/**
146
146
* @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
152
152
* @return status code
153
153
* - 0 success
154
154
* - 1 write failed
0 commit comments