@@ -67,10 +67,10 @@ typedef enum
6767
6868/**
6969 * @brief spi bus init
70- * @param[in] *name points to a spi device name buffer
71- * @param[out] *fd points to a spi device handle buffer
72- * @param[in] mode is the spi mode.
73- * @param[in] freq is the spi running frequence
70+ * @param[in] *name pointer to a spi device name buffer
71+ * @param[out] *fd pointer to a spi device handle buffer
72+ * @param[in] mode spi mode
73+ * @param[in] freq spi running frequence
7474 * @return status code
7575 * - 0 success
7676 * - 1 init failed
@@ -80,7 +80,7 @@ uint8_t spi_init(char *name, int *fd, spi_mode_type_t mode, uint32_t freq);
8080
8181/**
8282 * @brief spi bus deinit
83- * @param[in] fd is the spi handle
83+ * @param[in] fd spi handle
8484 * @return status code
8585 * - 0 success
8686 * - 1 deinit failed
@@ -90,9 +90,9 @@ uint8_t spi_deinit(int fd);
9090
9191/**
9292 * @brief spi bus read command
93- * @param[in] fd is the spi handle
94- * @param[out] *buf points to a data buffer
95- * @param[in] len is the length of the data buffer
93+ * @param[in] fd spi handle
94+ * @param[out] *buf pointer to a data buffer
95+ * @param[in] len length of the data buffer
9696 * @return status code
9797 * - 0 success
9898 * - 1 read failed
@@ -102,10 +102,10 @@ uint8_t spi_read_cmd(int fd, uint8_t *buf, uint16_t len);
102102
103103/**
104104 * @brief spi bus read
105- * @param[in] fd is the spi handle
106- * @param[in] reg is the spi register address
107- * @param[out] *buf points to a data buffer
108- * @param[in] len is the length of the data buffer
105+ * @param[in] fd spi handle
106+ * @param[in] reg spi register address
107+ * @param[out] *buf pointer to a data buffer
108+ * @param[in] len length of the data buffer
109109 * @return status code
110110 * - 0 success
111111 * - 1 read failed
@@ -115,10 +115,10 @@ uint8_t spi_read(int fd, uint8_t reg, uint8_t *buf, uint16_t len);
115115
116116/**
117117 * @brief spi bus read address 16
118- * @param[in] fd is the spi handle
119- * @param[in] reg is the spi register address
120- * @param[out] *buf points to a data buffer
121- * @param[in] len is the length of the data buffer
118+ * @param[in] fd spi handle
119+ * @param[in] reg spi register address
120+ * @param[out] *buf pointer to a data buffer
121+ * @param[in] len length of the data buffer
122122 * @return status code
123123 * - 0 success
124124 * - 1 read failed
@@ -128,9 +128,9 @@ uint8_t spi_read_address16(int fd, uint16_t reg, uint8_t *buf, uint16_t len);
128128
129129/**
130130 * @brief spi bus write command
131- * @param[in] fd is the spi handle
132- * @param[in] *buf points to a data buffer
133- * @param[in] len is the length of the data buffer
131+ * @param[in] fd spi handle
132+ * @param[in] *buf pointer to a data buffer
133+ * @param[in] len length of the data buffer
134134 * @return status code
135135 * - 0 success
136136 * - 1 write failed
@@ -140,10 +140,10 @@ uint8_t spi_write_cmd(int fd, uint8_t *buf, uint16_t len);
140140
141141/**
142142 * @brief spi bus write
143- * @param[in] fd is the spi handle
144- * @param[in] reg is the spi register address
145- * @param[in] *buf points to a data buffer
146- * @param[in] len is the length of the data buffer
143+ * @param[in] fd spi handle
144+ * @param[in] reg spi register address
145+ * @param[in] *buf pointer to a data buffer
146+ * @param[in] len length of the data buffer
147147 * @return status code
148148 * - 0 success
149149 * - 1 write failed
@@ -153,10 +153,10 @@ uint8_t spi_write(int fd, uint8_t reg, uint8_t *buf, uint16_t len);
153153
154154/**
155155 * @brief spi bus write address 16
156- * @param[in] fd is the spi handle
157- * @param[in] reg is the spi register address
158- * @param[in] *buf points to a data buffer
159- * @param[in] len is the length of the data buffer
156+ * @param[in] fd spi handle
157+ * @param[in] reg spi register address
158+ * @param[in] *buf pointer to a data buffer
159+ * @param[in] len length of the data buffer
160160 * @return status code
161161 * - 0 success
162162 * - 1 write failed
@@ -166,11 +166,11 @@ uint8_t spi_write_address16(int fd, uint16_t reg, uint8_t *buf, uint16_t len);
166166
167167/**
168168 * @brief spi bus write read
169- * @param[in] fd is the spi handle
170- * @param[in] *in_buf points to an input buffer
171- * @param[in] in_len is the input length
172- * @param[out] *out_buf points to an output buffer
173- * @param[in] out_len is the output length
169+ * @param[in] fd spi handle
170+ * @param[in] *in_buf pointer to an input buffer
171+ * @param[in] in_len input length
172+ * @param[out] *out_buf pointer to an output buffer
173+ * @param[in] out_len output length
174174 * @return status code
175175 * - 0 success
176176 * - 1 write read failed
@@ -180,10 +180,10 @@ uint8_t spi_write_read(int fd, uint8_t *in_buf, uint32_t in_len, uint8_t *out_bu
180180
181181/**
182182 * @brief spi transmit
183- * @param[in] fd is the spi handle
184- * @param[in] *tx points to a tx buffer
185- * @param[out] *rx points to a rx buffer
186- * @param[in] len is the length of the data buffer
183+ * @param[in] fd spi handle
184+ * @param[in] *tx pointer to a tx buffer
185+ * @param[out] *rx pointer to a rx buffer
186+ * @param[in] len length of the data buffer
187187 * @return status code
188188 * - 0 success
189189 * - 1 transmit failed
0 commit comments