Skip to content

Commit

Permalink
Merge pull request #6 from libdriver/dev
Browse files Browse the repository at this point in the history
fix: fix doc errors
  • Loading branch information
libdriver authored Dec 29, 2024
2 parents 8716c25 + 0d121a3 commit d9a5186
Show file tree
Hide file tree
Showing 19 changed files with 247 additions and 241 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 1.0.4 (2024-12-21)

## Bug Fixes

- fix doc errors

## 1.0.3 (2024-10-13)

## Bug Fixes
Expand Down
28 changes: 14 additions & 14 deletions doc/html/group__sfa30__basic__driver.html
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ <h2 class="memtitle"><span class="permalink"><a href="#gaac9fddecfd49527ba6ab8d2
<p>close the chip </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">*handle</td><td>points to an sfa30 handle structure </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">*handle</td><td>pointer to an sfa30 handle structure </td></tr>
</table>
</dd>
</dl>
Expand Down Expand Up @@ -305,8 +305,8 @@ <h2 class="memtitle"><span class="permalink"><a href="#gab48ee9754db57b02a3b567f
<p>get device information </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">*handle</td><td>points to an sfa30 handle structure </td></tr>
<tr><td class="paramdir">[out]</td><td class="paramname">*info</td><td>points to an info buffer </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">*handle</td><td>pointer to an sfa30 handle structure </td></tr>
<tr><td class="paramdir">[out]</td><td class="paramname">*info</td><td>pointer to an info buffer </td></tr>
</table>
</dd>
</dl>
Expand Down Expand Up @@ -352,8 +352,8 @@ <h2 class="memtitle"><span class="permalink"><a href="#gaa513af235b28cd1977248bf
<p>get the chip interface </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">*handle</td><td>points to an sfa30 handle structure </td></tr>
<tr><td class="paramdir">[out]</td><td class="paramname">*interface</td><td>points to a chip interface buffer </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">*handle</td><td>pointer to an sfa30 handle structure </td></tr>
<tr><td class="paramdir">[out]</td><td class="paramname">*interface</td><td>pointer to a chip interface buffer </td></tr>
</table>
</dd>
</dl>
Expand Down Expand Up @@ -387,7 +387,7 @@ <h2 class="memtitle"><span class="permalink"><a href="#ga060453d3526207396d27ae7
<p>get chip information </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[out]</td><td class="paramname">*info</td><td>points to an sfa30 info structure </td></tr>
<tr><td class="paramdir">[out]</td><td class="paramname">*info</td><td>pointer to an sfa30 info structure </td></tr>
</table>
</dd>
</dl>
Expand Down Expand Up @@ -421,7 +421,7 @@ <h2 class="memtitle"><span class="permalink"><a href="#gaa2ae27e42417febf98b498a
<p>initialize the chip </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">*handle</td><td>points to an sfa30 handle structure </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">*handle</td><td>pointer to an sfa30 handle structure </td></tr>
</table>
</dd>
</dl>
Expand Down Expand Up @@ -468,8 +468,8 @@ <h2 class="memtitle"><span class="permalink"><a href="#gac2b2c783bdd969b8cf31199
<p>read the result </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">*handle</td><td>points to an sfa30 handle structure </td></tr>
<tr><td class="paramdir">[out]</td><td class="paramname">*data</td><td>points to an sfa30_data_t structure </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">*handle</td><td>pointer to an sfa30 handle structure </td></tr>
<tr><td class="paramdir">[out]</td><td class="paramname">*data</td><td>pointer to an sfa30_data_t structure </td></tr>
</table>
</dd>
</dl>
Expand Down Expand Up @@ -505,7 +505,7 @@ <h2 class="memtitle"><span class="permalink"><a href="#gabbc7c2d228b6472d5d0ec3f
<p>reset the chip </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">*handle</td><td>points to an sfa30 handle structure </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">*handle</td><td>pointer to an sfa30 handle structure </td></tr>
</table>
</dd>
</dl>
Expand Down Expand Up @@ -551,8 +551,8 @@ <h2 class="memtitle"><span class="permalink"><a href="#ga6dd2b69db9acbdbc61f0ac7
<p>set the chip interface </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">*handle</td><td>points to an sfa30 handle structure </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">interface</td><td>is the chip interface </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">*handle</td><td>pointer to an sfa30 handle structure </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">interface</td><td>chip interface </td></tr>
</table>
</dd>
</dl>
Expand Down Expand Up @@ -586,7 +586,7 @@ <h2 class="memtitle"><span class="permalink"><a href="#gad15af3b1ba5e641a356ff07
<p>start the measurement </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">*handle</td><td>points to an sfa30 handle structure </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">*handle</td><td>pointer to an sfa30 handle structure </td></tr>
</table>
</dd>
</dl>
Expand Down Expand Up @@ -622,7 +622,7 @@ <h2 class="memtitle"><span class="permalink"><a href="#gac98be599a63181d2d6f640a
<p>stop the measurement </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">*handle</td><td>points to an sfa30 handle structure </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">*handle</td><td>pointer to an sfa30 handle structure </td></tr>
</table>
</dd>
</dl>
Expand Down
6 changes: 3 additions & 3 deletions doc/html/group__sfa30__example__driver.html
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ <h2 class="memtitle"><span class="permalink"><a href="#gab4ac07dcbbe3d305433043e
<p>basic example get device information </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[out]</td><td class="paramname">*info</td><td>points to a info buffer </td></tr>
<tr><td class="paramdir">[out]</td><td class="paramname">*info</td><td>pointer to a info buffer </td></tr>
</table>
</dd>
</dl>
Expand Down Expand Up @@ -196,7 +196,7 @@ <h2 class="memtitle"><span class="permalink"><a href="#ga117a34cf8ece1c3bacb0076
<p>basic example init </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">interface</td><td>is the chip interface </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">interface</td><td>chip interface </td></tr>
</table>
</dd>
</dl>
Expand Down Expand Up @@ -230,7 +230,7 @@ <h2 class="memtitle"><span class="permalink"><a href="#ga0a018e17c02cfef67ef9ce7
<p>basic example read </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[out]</td><td class="paramname">*data</td><td>points to a sfa30_data_t structure </td></tr>
<tr><td class="paramdir">[out]</td><td class="paramname">*data</td><td>pointer to a sfa30_data_t structure </td></tr>
</table>
</dd>
</dl>
Expand Down
26 changes: 13 additions & 13 deletions doc/html/group__sfa30__extern__driver.html
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,10 @@ <h2 class="memtitle"><span class="permalink"><a href="#ga12a6541f30ec32e32e0b392
<p>get the chip register with iic interface </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">*handle</td><td>points to an sfa30 handle structure </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">reg</td><td>is the iic register address </td></tr>
<tr><td class="paramdir">[out]</td><td class="paramname">*buf</td><td>points to a data buffer </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">len</td><td>is the data buffer length </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">*handle</td><td>pointer to an sfa30 handle structure </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">reg</td><td>iic register address </td></tr>
<tr><td class="paramdir">[out]</td><td class="paramname">*buf</td><td>pointer to a data buffer </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">len</td><td>data buffer length </td></tr>
</table>
</dd>
</dl>
Expand Down Expand Up @@ -217,11 +217,11 @@ <h2 class="memtitle"><span class="permalink"><a href="#gabf2b12af36513d199bfbbdc
<p>set and get the chip register with uart interface </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">*handle</td><td>points to an sfa30 handle structure </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">*input</td><td>points to an input buffer </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">in_len</td><td>is the input length </td></tr>
<tr><td class="paramdir">[out]</td><td class="paramname">*output</td><td>points to an output buffer </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">out_len</td><td>is the output length </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">*handle</td><td>pointer to an sfa30 handle structure </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">*input</td><td>pointer to an input buffer </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">in_len</td><td>input length </td></tr>
<tr><td class="paramdir">[out]</td><td class="paramname">*output</td><td>pointer to an output buffer </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">out_len</td><td>output length </td></tr>
</table>
</dd>
</dl>
Expand Down Expand Up @@ -277,10 +277,10 @@ <h2 class="memtitle"><span class="permalink"><a href="#ga9cecd9569fdc869171da15e
<p>set the chip register with iic interface </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">*handle</td><td>points to an sfa30 handle structure </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">reg</td><td>is the iic register address </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">*buf</td><td>points to a data buffer </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">len</td><td>is the data buffer length </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">*handle</td><td>pointer to an sfa30 handle structure </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">reg</td><td>iic register address </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">*buf</td><td>pointer to a data buffer </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">len</td><td>data buffer length </td></tr>
</table>
</dd>
</dl>
Expand Down
24 changes: 12 additions & 12 deletions doc/html/group__sfa30__interface__driver.html
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ <h2 class="memtitle"><span class="permalink"><a href="#ga3e9ac2f587cace913ed8ca5
<p>interface print format data </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">fmt</td><td>is the format data </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">fmt</td><td>format data </td></tr>
</table>
</dd>
</dl>
Expand Down Expand Up @@ -191,7 +191,7 @@ <h2 class="memtitle"><span class="permalink"><a href="#ga2a2f6a51606b91f14ba223c
<p>interface delay ms </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">ms</td><td></td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">ms</td><td>time </td></tr>
</table>
</dd>
</dl>
Expand Down Expand Up @@ -292,9 +292,9 @@ <h2 class="memtitle"><span class="permalink"><a href="#ga3bb5d88a9b42d56597c23cc
<p>interface iic bus read </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">addr</td><td>is the iic device write address </td></tr>
<tr><td class="paramdir">[out]</td><td class="paramname">*buf</td><td>points to a data buffer </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">len</td><td>is the length of the data buffer </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">addr</td><td>iic device write address </td></tr>
<tr><td class="paramdir">[out]</td><td class="paramname">*buf</td><td>pointer to a data buffer </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">len</td><td>length of the data buffer </td></tr>
</table>
</dd>
</dl>
Expand Down Expand Up @@ -344,9 +344,9 @@ <h2 class="memtitle"><span class="permalink"><a href="#gaa4abac6936b18419a485b6b
<p>interface iic bus write </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">addr</td><td>is the iic device write address </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">*buf</td><td>points to a data buffer </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">len</td><td>is the length of the data buffer </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">addr</td><td>iic device write address </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">*buf</td><td>pointer to a data buffer </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">len</td><td>length of the data buffer </td></tr>
</table>
</dd>
</dl>
Expand Down Expand Up @@ -474,8 +474,8 @@ <h2 class="memtitle"><span class="permalink"><a href="#ga6bd1e74f78df111e0b890a7
<p>interface uart read </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[out]</td><td class="paramname">*buf</td><td>points to a data buffer </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">len</td><td>is the length of the data buffer </td></tr>
<tr><td class="paramdir">[out]</td><td class="paramname">*buf</td><td>pointer to a data buffer </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">len</td><td>length of the data buffer </td></tr>
</table>
</dd>
</dl>
Expand Down Expand Up @@ -519,8 +519,8 @@ <h2 class="memtitle"><span class="permalink"><a href="#gac472acf8984bbf8e984b8ba
<p>interface uart write </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramdir">[in]</td><td class="paramname">*buf</td><td>points to a data buffer </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">len</td><td>is the length of the data buffer </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">*buf</td><td>pointer to a data buffer </td></tr>
<tr><td class="paramdir">[in]</td><td class="paramname">len</td><td>length of the data buffer </td></tr>
</table>
</dd>
</dl>
Expand Down
Loading

0 comments on commit d9a5186

Please sign in to comment.