Skip to content

Commit

Permalink
Merge pull request #7 from libdriver/dev
Browse files Browse the repository at this point in the history
fix: fix deinit bugs
  • Loading branch information
libdriver authored Jul 8, 2024
2 parents a3ae03c + c0bafb4 commit 9cf5931
Show file tree
Hide file tree
Showing 10 changed files with 904 additions and 874 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.1 (2024-07-08)

## Bug Fixes

- fix deinit bugs

## 1.0.0 (2024-01-15)

## Features
Expand Down
1,602 changes: 807 additions & 795 deletions doc/html/driver__bmp280_8c_source.html

Large diffs are not rendered by default.

40 changes: 20 additions & 20 deletions doc/html/driver__bmp280_8h_source.html

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions doc/html/driver__bmp280__basic_8c_source.html
Original file line number Diff line number Diff line change
Expand Up @@ -225,19 +225,19 @@
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span>&#160; <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span>&#160;}</div>
<div class="ttc" id="adriver__bmp280__basic_8h_html"><div class="ttname"><a href="driver__bmp280__basic_8h.html">driver_bmp280_basic.h</a></div><div class="ttdoc">driver bmp280 basic header file</div></div>
<div class="ttc" id="agroup__bmp280__base__driver_html_ga1bcbccae9e9dfafe30063762bb3c9273"><div class="ttname"><a href="group__bmp280__base__driver.html#ga1bcbccae9e9dfafe30063762bb3c9273">bmp280_set_filter</a></div><div class="ttdeci">uint8_t bmp280_set_filter(bmp280_handle_t *handle, bmp280_filter_t filter)</div><div class="ttdoc">set filter</div><div class="ttdef"><b>Definition:</b> <a href="driver__bmp280_8c_source.html#l01008">driver_bmp280.c:1008</a></div></div>
<div class="ttc" id="agroup__bmp280__base__driver_html_ga34965dadc0e62e182a17c5f439f51bf3"><div class="ttname"><a href="group__bmp280__base__driver.html#ga34965dadc0e62e182a17c5f439f51bf3">bmp280_set_mode</a></div><div class="ttdeci">uint8_t bmp280_set_mode(bmp280_handle_t *handle, bmp280_mode_t mode)</div><div class="ttdoc">set mode</div><div class="ttdef"><b>Definition:</b> <a href="driver__bmp280_8c_source.html#l00854">driver_bmp280.c:854</a></div></div>
<div class="ttc" id="agroup__bmp280__base__driver_html_ga441253312b2f8d29983a1031515780f6"><div class="ttname"><a href="group__bmp280__base__driver.html#ga441253312b2f8d29983a1031515780f6">bmp280_read_temperature_pressure</a></div><div class="ttdeci">uint8_t bmp280_read_temperature_pressure(bmp280_handle_t *handle, uint32_t *temperature_raw, float *temperature_c, uint32_t *pressure_raw, float *pressure_pa)</div><div class="ttdoc">read the temperature and pressure data</div><div class="ttdef"><b>Definition:</b> <a href="driver__bmp280_8c_source.html#l01421">driver_bmp280.c:1421</a></div></div>
<div class="ttc" id="agroup__bmp280__base__driver_html_ga1bcbccae9e9dfafe30063762bb3c9273"><div class="ttname"><a href="group__bmp280__base__driver.html#ga1bcbccae9e9dfafe30063762bb3c9273">bmp280_set_filter</a></div><div class="ttdeci">uint8_t bmp280_set_filter(bmp280_handle_t *handle, bmp280_filter_t filter)</div><div class="ttdoc">set filter</div><div class="ttdef"><b>Definition:</b> <a href="driver__bmp280_8c_source.html#l01020">driver_bmp280.c:1020</a></div></div>
<div class="ttc" id="agroup__bmp280__base__driver_html_ga34965dadc0e62e182a17c5f439f51bf3"><div class="ttname"><a href="group__bmp280__base__driver.html#ga34965dadc0e62e182a17c5f439f51bf3">bmp280_set_mode</a></div><div class="ttdeci">uint8_t bmp280_set_mode(bmp280_handle_t *handle, bmp280_mode_t mode)</div><div class="ttdoc">set mode</div><div class="ttdef"><b>Definition:</b> <a href="driver__bmp280_8c_source.html#l00866">driver_bmp280.c:866</a></div></div>
<div class="ttc" id="agroup__bmp280__base__driver_html_ga441253312b2f8d29983a1031515780f6"><div class="ttname"><a href="group__bmp280__base__driver.html#ga441253312b2f8d29983a1031515780f6">bmp280_read_temperature_pressure</a></div><div class="ttdeci">uint8_t bmp280_read_temperature_pressure(bmp280_handle_t *handle, uint32_t *temperature_raw, float *temperature_c, uint32_t *pressure_raw, float *pressure_pa)</div><div class="ttdoc">read the temperature and pressure data</div><div class="ttdef"><b>Definition:</b> <a href="driver__bmp280_8c_source.html#l01433">driver_bmp280.c:1433</a></div></div>
<div class="ttc" id="agroup__bmp280__base__driver_html_ga57713a6c81c4125e8f199fbea349a0fa"><div class="ttname"><a href="group__bmp280__base__driver.html#ga57713a6c81c4125e8f199fbea349a0fa">bmp280_deinit</a></div><div class="ttdeci">uint8_t bmp280_deinit(bmp280_handle_t *handle)</div><div class="ttdoc">close the chip</div><div class="ttdef"><b>Definition:</b> <a href="driver__bmp280_8c_source.html#l00584">driver_bmp280.c:584</a></div></div>
<div class="ttc" id="agroup__bmp280__base__driver_html_ga69182d55fd41a8b8a2007e112cf52065"><div class="ttname"><a href="group__bmp280__base__driver.html#ga69182d55fd41a8b8a2007e112cf52065">bmp280_interface_t</a></div><div class="ttdeci">bmp280_interface_t</div><div class="ttdoc">bmp280 interface enumeration definition</div><div class="ttdef"><b>Definition:</b> <a href="driver__bmp280_8h_source.html#l00062">driver_bmp280.h:63</a></div></div>
<div class="ttc" id="agroup__bmp280__base__driver_html_ga78e4115dd214adcbab776cfa8abf55b1"><div class="ttname"><a href="group__bmp280__base__driver.html#ga78e4115dd214adcbab776cfa8abf55b1">bmp280_set_interface</a></div><div class="ttdeci">uint8_t bmp280_set_interface(bmp280_handle_t *handle, bmp280_interface_t interface)</div><div class="ttdoc">set the interface</div><div class="ttdef"><b>Definition:</b> <a href="driver__bmp280_8c_source.html#l00406">driver_bmp280.c:406</a></div></div>
<div class="ttc" id="agroup__bmp280__base__driver_html_ga8b3da0ddfce2a80f6cf2f13f07f0c16c"><div class="ttname"><a href="group__bmp280__base__driver.html#ga8b3da0ddfce2a80f6cf2f13f07f0c16c">bmp280_set_spi_wire</a></div><div class="ttdeci">uint8_t bmp280_set_spi_wire(bmp280_handle_t *handle, bmp280_spi_wire_t spi)</div><div class="ttdoc">set spi wire</div><div class="ttdef"><b>Definition:</b> <a href="driver__bmp280_8c_source.html#l01085">driver_bmp280.c:1085</a></div></div>
<div class="ttc" id="agroup__bmp280__base__driver_html_ga99c091395f80ce8cdb5d751eed54aeb0"><div class="ttname"><a href="group__bmp280__base__driver.html#ga99c091395f80ce8cdb5d751eed54aeb0">bmp280_set_pressure_oversampling</a></div><div class="ttdeci">uint8_t bmp280_set_pressure_oversampling(bmp280_handle_t *handle, bmp280_oversampling_t oversampling)</div><div class="ttdoc">set pressure oversampling</div><div class="ttdef"><b>Definition:</b> <a href="driver__bmp280_8c_source.html#l00777">driver_bmp280.c:777</a></div></div>
<div class="ttc" id="agroup__bmp280__base__driver_html_ga8b3da0ddfce2a80f6cf2f13f07f0c16c"><div class="ttname"><a href="group__bmp280__base__driver.html#ga8b3da0ddfce2a80f6cf2f13f07f0c16c">bmp280_set_spi_wire</a></div><div class="ttdeci">uint8_t bmp280_set_spi_wire(bmp280_handle_t *handle, bmp280_spi_wire_t spi)</div><div class="ttdoc">set spi wire</div><div class="ttdef"><b>Definition:</b> <a href="driver__bmp280_8c_source.html#l01097">driver_bmp280.c:1097</a></div></div>
<div class="ttc" id="agroup__bmp280__base__driver_html_ga99c091395f80ce8cdb5d751eed54aeb0"><div class="ttname"><a href="group__bmp280__base__driver.html#ga99c091395f80ce8cdb5d751eed54aeb0">bmp280_set_pressure_oversampling</a></div><div class="ttdeci">uint8_t bmp280_set_pressure_oversampling(bmp280_handle_t *handle, bmp280_oversampling_t oversampling)</div><div class="ttdoc">set pressure oversampling</div><div class="ttdef"><b>Definition:</b> <a href="driver__bmp280_8c_source.html#l00789">driver_bmp280.c:789</a></div></div>
<div class="ttc" id="agroup__bmp280__base__driver_html_gaa048b3e5bab38cf44c527c45c117ccc6"><div class="ttname"><a href="group__bmp280__base__driver.html#gaa048b3e5bab38cf44c527c45c117ccc6">bmp280_set_addr_pin</a></div><div class="ttdeci">uint8_t bmp280_set_addr_pin(bmp280_handle_t *handle, bmp280_address_t addr_pin)</div><div class="ttdoc">set the iic address pin</div><div class="ttdef"><b>Definition:</b> <a href="driver__bmp280_8c_source.html#l00364">driver_bmp280.c:364</a></div></div>
<div class="ttc" id="agroup__bmp280__base__driver_html_gaa2890f915e2726f6d97b2db150d7b594"><div class="ttname"><a href="group__bmp280__base__driver.html#gaa2890f915e2726f6d97b2db150d7b594">bmp280_address_t</a></div><div class="ttdeci">bmp280_address_t</div><div class="ttdoc">bmp280 address enumeration definition</div><div class="ttdef"><b>Definition:</b> <a href="driver__bmp280_8h_source.html#l00071">driver_bmp280.h:72</a></div></div>
<div class="ttc" id="agroup__bmp280__base__driver_html_gad229b38572b7fe4e4296d51f7d1ed326"><div class="ttname"><a href="group__bmp280__base__driver.html#gad229b38572b7fe4e4296d51f7d1ed326">bmp280_set_standby_time</a></div><div class="ttdeci">uint8_t bmp280_set_standby_time(bmp280_handle_t *handle, bmp280_standby_time_t standby_time)</div><div class="ttdoc">set standby time</div><div class="ttdef"><b>Definition:</b> <a href="driver__bmp280_8c_source.html#l00931">driver_bmp280.c:931</a></div></div>
<div class="ttc" id="agroup__bmp280__base__driver_html_gad229b38572b7fe4e4296d51f7d1ed326"><div class="ttname"><a href="group__bmp280__base__driver.html#gad229b38572b7fe4e4296d51f7d1ed326">bmp280_set_standby_time</a></div><div class="ttdeci">uint8_t bmp280_set_standby_time(bmp280_handle_t *handle, bmp280_standby_time_t standby_time)</div><div class="ttdoc">set standby time</div><div class="ttdef"><b>Definition:</b> <a href="driver__bmp280_8c_source.html#l00943">driver_bmp280.c:943</a></div></div>
<div class="ttc" id="agroup__bmp280__base__driver_html_gaf269b001d67d12b2ad68fd8f049716f7"><div class="ttname"><a href="group__bmp280__base__driver.html#gaf269b001d67d12b2ad68fd8f049716f7">bmp280_init</a></div><div class="ttdeci">uint8_t bmp280_init(bmp280_handle_t *handle)</div><div class="ttdoc">initialize the chip</div><div class="ttdef"><b>Definition:</b> <a href="driver__bmp280_8c_source.html#l00452">driver_bmp280.c:452</a></div></div>
<div class="ttc" id="agroup__bmp280__base__driver_html_gafb9b6307c62debdff42af03f2abc5b0c"><div class="ttname"><a href="group__bmp280__base__driver.html#gafb9b6307c62debdff42af03f2abc5b0c">bmp280_set_temperatue_oversampling</a></div><div class="ttdeci">uint8_t bmp280_set_temperatue_oversampling(bmp280_handle_t *handle, bmp280_oversampling_t oversampling)</div><div class="ttdoc">set temperatue oversampling</div><div class="ttdef"><b>Definition:</b> <a href="driver__bmp280_8c_source.html#l00700">driver_bmp280.c:700</a></div></div>
<div class="ttc" id="agroup__bmp280__base__driver_html_gafb9b6307c62debdff42af03f2abc5b0c"><div class="ttname"><a href="group__bmp280__base__driver.html#gafb9b6307c62debdff42af03f2abc5b0c">bmp280_set_temperatue_oversampling</a></div><div class="ttdeci">uint8_t bmp280_set_temperatue_oversampling(bmp280_handle_t *handle, bmp280_oversampling_t oversampling)</div><div class="ttdoc">set temperatue oversampling</div><div class="ttdef"><b>Definition:</b> <a href="driver__bmp280_8c_source.html#l00712">driver_bmp280.c:712</a></div></div>
<div class="ttc" id="agroup__bmp280__base__driver_html_gga591c10d85466fc2af5058a2af914635ea270215085d1e2b55b9fbdf58429a57db"><div class="ttname"><a href="group__bmp280__base__driver.html#gga591c10d85466fc2af5058a2af914635ea270215085d1e2b55b9fbdf58429a57db">BMP280_MODE_NORMAL</a></div><div class="ttdeci">@ BMP280_MODE_NORMAL</div><div class="ttdef"><b>Definition:</b> <a href="driver__bmp280_8h_source.html#l00106">driver_bmp280.h:106</a></div></div>
<div class="ttc" id="agroup__bmp280__example__driver_html_ga00f9cfb840a74309c988b5c94770be91"><div class="ttname"><a href="group__bmp280__example__driver.html#ga00f9cfb840a74309c988b5c94770be91">BMP280_BASIC_DEFAULT_STANDBY_TIME</a></div><div class="ttdeci">#define BMP280_BASIC_DEFAULT_STANDBY_TIME</div><div class="ttdef"><b>Definition:</b> <a href="driver__bmp280__basic_8h_source.html#l00058">driver_bmp280_basic.h:58</a></div></div>
<div class="ttc" id="agroup__bmp280__example__driver_html_ga5710a0bfe50e1f13cf3be49badfbb2d7"><div class="ttname"><a href="group__bmp280__example__driver.html#ga5710a0bfe50e1f13cf3be49badfbb2d7">BMP280_BASIC_DEFAULT_FILTER</a></div><div class="ttdeci">#define BMP280_BASIC_DEFAULT_FILTER</div><div class="ttdef"><b>Definition:</b> <a href="driver__bmp280__basic_8h_source.html#l00059">driver_bmp280_basic.h:59</a></div></div>
Expand Down
Loading

0 comments on commit 9cf5931

Please sign in to comment.