Tasmota/lib/Adafruit_BME680-1.0.5/docs/bme680__defs_8h_source.html

136 lines
83 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Adafruit BME680 Library: bme680_defs.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Adafruit BME680 Library
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="headertitle">
<div class="title">bme680_defs.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="bme680__defs_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160;<span class="preprocessor">#ifndef BME680_DEFS_H_</span></div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160;<span class="preprocessor">#define BME680_DEFS_H_</span></div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160;</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160;<span class="comment">/********************************************************/</span></div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160;<span class="comment">/* header includes */</span></div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160;<span class="preprocessor">#ifdef __KERNEL__</span></div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160;<span class="preprocessor">#include &lt;linux/types.h&gt;</span></div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160;<span class="preprocessor">#include &lt;stdint.h&gt;</span></div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160;</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160;<span class="preprocessor">#ifdef __KERNEL__</span></div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160;<span class="preprocessor">#if (LONG_MAX) &gt; 0x7fffffff</span></div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160;<span class="preprocessor">#define __have_long64 1</span></div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160;<span class="preprocessor">#elif (LONG_MAX) == 0x7fffffff</span></div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160;<span class="preprocessor">#define __have_long32 1</span></div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160;</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160;<span class="preprocessor">#if !defined(UINT8_C)</span></div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160;<span class="preprocessor">#define INT8_C(x) x</span></div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160;<span class="preprocessor">#if (INT_MAX) &gt; 0x7f</span></div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160;<span class="preprocessor">#define UINT8_C(x) x</span></div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160;<span class="preprocessor">#define UINT8_C(x) x##U</span></div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160;</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160;<span class="preprocessor">#if !defined(UINT16_C)</span></div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160;<span class="preprocessor">#define INT16_C(x) x</span></div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160;<span class="preprocessor">#if (INT_MAX) &gt; 0x7fff</span></div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160;<span class="preprocessor">#define UINT16_C(x) x</span></div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160;<span class="preprocessor">#define UINT16_C(x) x##U</span></div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160;</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160;<span class="preprocessor">#if !defined(INT32_C) &amp;&amp; !defined(UINT32_C)</span></div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160;<span class="preprocessor">#if __have_long32</span></div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160;<span class="preprocessor">#define INT32_C(x) x##L</span></div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160;<span class="preprocessor">#define UINT32_C(x) x##UL</span></div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160;<span class="preprocessor">#define INT32_C(x) x</span></div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160;<span class="preprocessor">#define UINT32_C(x) x##U</span></div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160;</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160;<span class="preprocessor">#if !defined(INT64_C) &amp;&amp; !defined(UINT64_C)</span></div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160;<span class="preprocessor">#if __have_long64</span></div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160;<span class="preprocessor">#define INT64_C(x) x##L</span></div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160;<span class="preprocessor">#define UINT64_C(x) x##UL</span></div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160;<span class="preprocessor">#define INT64_C(x) x##LL</span></div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160;<span class="preprocessor">#define UINT64_C(x) x##ULL</span></div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160;</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160;<span class="preprocessor">#ifndef NULL</span></div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160;<span class="preprocessor">#define NULL 0</span></div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160;<span class="preprocessor">#define NULL ((void *) 0)</span></div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160;</div><div class="line"><a name="l00123"></a><span class="lineno"><a class="line" href="bme680__defs_8h.html#a7545f57cf8b21f71292f4d2998049ab0"> 123</a></span>&#160;<span class="preprocessor">#define BME680_POLL_PERIOD_MS UINT8_C(10)</span></div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160;</div><div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="bme680__defs_8h.html#af27a16304a83f75bb23883d754610df3"> 126</a></span>&#160;<span class="preprocessor">#define BME680_I2C_ADDR_PRIMARY UINT8_C(0x76)</span></div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160;<span class="preprocessor">#define BME680_I2C_ADDR_SECONDARY UINT8_C(0x77)</span></div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160;</div><div class="line"><a name="l00130"></a><span class="lineno"><a class="line" href="bme680__defs_8h.html#a762d33b22cceaa1f90dc2044ace463ee"> 130</a></span>&#160;<span class="preprocessor">#define BME680_CHIP_ID UINT8_C(0x61)</span></div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160;</div><div class="line"><a name="l00133"></a><span class="lineno"><a class="line" href="bme680__defs_8h.html#a4cf6e3574a83160f0adbfcf8cc5e3729"> 133</a></span>&#160;<span class="preprocessor">#define BME680_COEFF_SIZE UINT8_C(0x41)</span></div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160;<span class="preprocessor">#define BME680_COEFF_ADDR1_LEN UINT8_C(25)</span></div><div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160;<span class="preprocessor">#define BME680_COEFF_ADDR2_LEN UINT8_C(16)</span></div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160;</div><div class="line"><a name="l00138"></a><span class="lineno"><a class="line" href="bme680__defs_8h.html#a7cb775d981358b7e58eb8db0094bd1d7"> 138</a></span>&#160;<span class="preprocessor">#define BME680_FIELD_LENGTH UINT8_C(15)</span></div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160;<span class="preprocessor">#define BME680_FIELD_ADDR_OFFSET UINT8_C(17)</span></div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160;</div><div class="line"><a name="l00142"></a><span class="lineno"><a class="line" href="bme680__defs_8h.html#a6da379a1060ef5079d34ba88191c3488"> 142</a></span>&#160;<span class="preprocessor">#define BME680_SOFT_RESET_CMD UINT8_C(0xb6)</span></div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160;</div><div class="line"><a name="l00145"></a><span class="lineno"><a class="line" href="bme680__defs_8h.html#a2e82e5c447a9dbbeebf95b1ba189effb"> 145</a></span>&#160;<span class="preprocessor">#define BME680_OK INT8_C(0)</span></div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160;<span class="comment">/* Errors */</span></div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160;<span class="preprocessor">#define BME680_E_NULL_PTR INT8_C(-1)</span></div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160;<span class="preprocessor">#define BME680_E_COM_FAIL INT8_C(-2)</span></div><div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160;<span class="preprocessor">#define BME680_E_DEV_NOT_FOUND INT8_C(-3)</span></div><div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160;<span class="preprocessor">#define BME680_E_INVALID_LENGTH INT8_C(-4)</span></div><div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160;</div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160;<span class="comment">/* Warnings */</span></div><div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160;<span class="preprocessor">#define BME680_W_DEFINE_PWR_MODE INT8_C(1)</span></div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160;<span class="preprocessor">#define BME680_W_NO_NEW_DATA INT8_C(2)</span></div><div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160;</div><div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160;<span class="comment">/* Info&#39;s */</span></div><div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160;<span class="preprocessor">#define BME680_I_MIN_CORRECTION UINT8_C(1)</span></div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160;<span class="preprocessor">#define BME680_I_MAX_CORRECTION UINT8_C(2)</span></div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160;</div><div class="line"><a name="l00162"></a><span class="lineno"><a class="line" href="bme680__defs_8h.html#af6a74cbd7c52c150a5d83766e86f3bf1"> 162</a></span>&#160;<span class="preprocessor">#define BME680_ADDR_RES_HEAT_VAL_ADDR UINT8_C(0x00)</span></div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160;<span class="preprocessor">#define BME680_ADDR_RES_HEAT_RANGE_ADDR UINT8_C(0x02)</span></div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160;<span class="preprocessor">#define BME680_ADDR_RANGE_SW_ERR_ADDR UINT8_C(0x04)</span></div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160;<span class="preprocessor">#define BME680_ADDR_SENS_CONF_START UINT8_C(0x5A)</span></div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span>&#160;<span class="preprocessor">#define BME680_ADDR_GAS_CONF_START UINT8_C(0x64)</span></div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span>&#160;</div><div class="line"><a name="l00169"></a><span class="lineno"><a class="line" href="bme680__defs_8h.html#aa1126d8a0cab009b3812d4dba28beec3"> 169</a></span>&#160;<span class="preprocessor">#define BME680_FIELD0_ADDR UINT8_C(0x1d)</span></div><div class="line"><a name="l00170"></a><span class="lineno"> 170</span>&#160;</div><div class="line"><a name="l00172"></a><span class="lineno"><a class="line" href="bme680__defs_8h.html#ad1429130a198bff35d0bb98bd1d4cbc1"> 172</a></span>&#160;<span class="preprocessor">#define BME680_RES_HEAT0_ADDR UINT8_C(0x5a)</span></div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span>&#160;<span class="preprocessor">#define BME680_GAS_WAIT0_ADDR UINT8_C(0x64)</span></div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span>&#160;</div><div class="line"><a name="l00176"></a><span class="lineno"><a class="line" href="bme680__defs_8h.html#a995aae4506cba06c735bb2ff37fbca49"> 176</a></span>&#160;<span class="preprocessor">#define BME680_CONF_HEAT_CTRL_ADDR UINT8_C(0x70)</span></div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160;<span class="preprocessor">#define BME680_CONF_ODR_RUN_GAS_NBC_ADDR UINT8_C(0x71)</span></div><div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160;<span class="preprocessor">#define BME680_CONF_OS_H_ADDR UINT8_C(0x72)</span></div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160;<span class="preprocessor">#define BME680_MEM_PAGE_ADDR UINT8_C(0xf3)</span></div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160;<span class="preprocessor">#define BME680_CONF_T_P_MODE_ADDR UINT8_C(0x74)</span></div><div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160;<span class="preprocessor">#define BME680_CONF_ODR_FILT_ADDR UINT8_C(0x75)</span></div><div class="line"><a name="l00182"></a><span class="lineno"> 182</span>&#160;</div><div class="line"><a name="l00184"></a><span class="lineno"><a class="line" href="bme680__defs_8h.html#a839d12e3afe0332b3383be0e258c472e"> 184</a></span>&#160;<span class="preprocessor">#define BME680_COEFF_ADDR1 UINT8_C(0x89)</span></div><div class="line"><a name="l00185"></a><span class="lineno"> 185</span>&#160;<span class="preprocessor">#define BME680_COEFF_ADDR2 UINT8_C(0xe1)</span></div><div class="line"><a name="l00186"></a><span class="lineno"> 186</span>&#160;</div><div class="line"><a name="l00188"></a><span class="lineno"><a class="line" href="bme680__defs_8h.html#aa24d214515e9c3606dcefb874888c055"> 188</a></span>&#160;<span class="preprocessor">#define BME680_CHIP_ID_ADDR UINT8_C(0xd0)</span></div><div class="line"><a name="l00189"></a><span class="lineno"> 189</span>&#160;</div><div class="line"><a name="l00191"></a><span class="lineno"><a class="line" href="bme680__defs_8h.html#a69bae1e3eba277068c1055e3028bbf41"> 191</a></span>&#160;<span class="preprocessor">#define BME680_SOFT_RESET_ADDR UINT8_C(0xe0)</span></div><div class="line"><a name="l00192"></a><span class="lineno"> 192</span>&#160;</div><div class="line"><a name="l00194"></a><span class="lineno"><a class="line" href="bme680__defs_8h.html#a9e973dfcc1a103110cc44077f3ed86c1"> 194</a></span>&#160;<span class="preprocessor">#define BME680_ENABLE_HEATER UINT8_C(0x00)</span></div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span>&#160;<span class="preprocessor">#define BME680_DISABLE_HEATER UINT8_C(0x08)</span></div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span>&#160;</div><div class="line"><a name="l00198"></a><span class="lineno"><a class="line" href="bme680__defs_8h.html#ad5a18c765061877212395397d58e2c20"> 198</a></span>&#160;<span class="preprocessor">#define BME680_DISABLE_GAS_MEAS UINT8_C(0x00)</span></div><div class="line"><a name="l00199"></a><span class="lineno"> 199</span>&#160;<span class="preprocessor">#define BME680_ENABLE_GAS_MEAS UINT8_C(0x01)</span></div><div class="line"><a name="l00200"></a><span class="lineno"> 200</span>&#160;</div><div class="line"><a name="l00202"></a><span class="lineno"><a class="line" href="bme680__defs_8h.html#a5ba113b3902da4c9baf45da5f32958d0"> 202</a></span>&#160;<span class="preprocessor">#define BME680_OS_NONE UINT8_C(0)</span></div><div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160;<span class="preprocessor">#define BME680_OS_1X UINT8_C(1)</span></div><div class="line"><a name="l00204"></a><span class="lineno"> 204</span>&#160;<span class="preprocessor">#define BME680_OS_2X UINT8_C(2)</span></div><div class="line"><a name="l00205"></a><span class="lineno"> 205</span>&#160;<span class="preprocessor">#define BME680_OS_4X UINT8_C(3)</span></div><div class="line"><a name="l00206"></a><span class="lineno"> 206</span>&#160;<span class="preprocessor">#define BME680_OS_8X UINT8_C(4)</span></div><div class="line"><a name="l00207"></a><span class="lineno"> 207</span>&#160;<span class="preprocessor">#define BME680_OS_16X UINT8_C(5)</span></div><div class="line"><a name="l00208"></a><span class="lineno"> 208</span>&#160;</div><div class="line"><a name="l00210"></a><span class="lineno"><a class="line" href="bme680__defs_8h.html#a5edcb9fcb77440f52d2b2865a89b5475"> 210</a></span>&#160;<span class="preprocessor">#define BME680_FILTER_SIZE_0 UINT8_C(0)</span></div><div class="line"><a name="l00211"></a><span class="lineno"> 211</span>&#160;<span class="preprocessor">#define BME680_FILTER_SIZE_1 UINT8_C(1)</span></div><div class="line"><a name="l00212"></a><span class="lineno"> 212</span>&#160;<span class="preprocessor">#define BME680_FILTER_SIZE_3 UINT8_C(2)</span></div><div class="line"><a name="l00213"></a><span class="lineno"> 213</span>&#160;<span class="preprocessor">#define BME680_FILTER_SIZE_7 UINT8_C(3)</span></div><div class="line"><a name="l00214"></a><span class="lineno"> 214</span>&#160;<span class="preprocessor">#define BME680_FILTER_SIZE_15 UINT8_C(4)</span></div><div class="line"><a name="l00215"></a><span class="lineno"> 215</span>&#160;<span class="preprocessor">#define BME680_FILTER_SIZE_31 UINT8_C(5)</span></div><div class="line"><a name="l00216"></a><span class="lineno"> 216</span>&#160;<span class="preprocessor">#define BME680_FILTER_SIZE_63 UINT8_C(6)</span></div><div class="line"><a name="l00217"></a><span class="lineno"> 217</span>&#160;<span class="preprocessor">#define BME680_FILTER_SIZE_127 UINT8_C(7)</span></div><div class="line"><a name="l00218"></a><span class="lineno"> 218</span>&#160;</div><div class="line"><a name="l00220"></a><span class="lineno"><a class="line" href="bme680__defs_8h.html#a9fc5e8034aa79028c0286ea4c974ee69"> 220</a></span>&#160;<span class="preprocessor">#define BME680_SLEEP_MODE UINT8_C(0)</span></div><div class="line"><a name="l00221"></a><span class="lineno"> 221</span>&#160;<span class="preprocessor">#define BME680_FORCED_MODE UINT8_C(1)</span></div><div class="line"><a name="l00222"></a><span class="lineno"> 222</span>&#160;</div><div class="line"><a name="l00224"></a><span class="lineno"><a class="line" href="bme680__defs_8h.html#a6409d476475762c095a746a1b785bdd6"> 224</a></span>&#160;<span class="preprocessor">#define BME680_RESET_PERIOD UINT32_C(10)</span></div><div class="line"><a name="l00225"></a><span class="lineno"> 225</span>&#160;</div><div class="line"><a name="l00227"></a><span class="lineno"><a class="line" href="bme680__defs_8h.html#a2af2d059c5cdc5925dc050a5d67f2d0b"> 227</a></span>&#160;<span class="preprocessor">#define BME680_MEM_PAGE0 UINT8_C(0x10)</span></div><div class="line"><a name="l00228"></a><span class="lineno"> 228</span>&#160;<span class="preprocessor">#define BME680_MEM_PAGE1 UINT8_C(0x00)</span></div><div class="line"><a name="l00229"></a><span class="lineno"> 229</span>&#160;</div><div class="line"><a name="l00231"></a><span class="lineno"><a class="line" href="bme680__defs_8h.html#aa9320cbf90a9bb81b912da4bf036e73b"> 231</a></span>&#160;<span class="preprocessor">#define BME680_HUM_REG_SHIFT_VAL UINT8_C(4)</span></div><div class="line"><a name="l00232"></a><span class="lineno"> 232</span>&#160;</div><div class="line"><a name="l00234"></a><span class="lineno"><a class="line" href="bme680__defs_8h.html#a7cdfa822370f97878b251ec8ae437ad8"> 234</a></span>&#160;<span class="preprocessor">#define BME680_RUN_GAS_DISABLE UINT8_C(0)</span></div><div class="line"><a name="l00235"></a><span class="lineno"> 235</span>&#160;<span class="preprocessor">#define BME680_RUN_GAS_ENABLE UINT8_C(1)</span></div><div class="line"><a name="l00236"></a><span class="lineno"> 236</span>&#160;</div><div class="line"><a name="l00238"></a><span class="lineno"><a class="line" href="bme680__defs_8h.html#a9be3bfa321b5d7b421ae2b8900d49eff"> 238</a></span>&#160;<span class="preprocessor">#define BME680_TMP_BUFFER_LENGTH UINT8_C(40)</span></div><div class="line"><a name="l00239"></a><span class="lineno"> 239</span>&#160;<span class="preprocessor">#define BME680_REG_BUFFER_LENGTH UINT8_C(6)</span></div><div class="line"><a name="l00240"></a><span class="lineno"> 240</span>&#160;<span class="preprocessor">#define BME680_FIELD_DATA_LENGTH UINT8_C(3)</span></div><div class="line"><a name="l00241"></a><span class="lineno"> 241</span>&#160;<span class="preprocessor">#define BME680_GAS_REG_BUF_LENGTH UINT8_C(20)</span></div><div class="line"><a name="l00242"></a><span class="lineno"> 242</span>&#160;<span class="preprocessor">#define BME680_GAS_HEATER_PROF_LEN_MAX UINT8_C(10)</span></div><div class="line"><a name="l00243"></a><span class="lineno"> 243</span>&#160;</div><div class="line"><a name="l00245"></a><span class="lineno"><a class="line" href="bme680__defs_8h.html#a7ecfc9ebc2dc3fae358c38215821db6d"> 245</a></span>&#160;<span class="preprocessor">#define BME680_OST_SEL UINT16_C(1)</span></div><div class="line"><a name="l00246"></a><span class="lineno"> 246</span>&#160;<span class="preprocessor">#define BME680_OSP_SEL UINT16_C(2)</span></div><div class="line"><a name="l00247"></a><span class="lineno"> 247</span>&#160;<span class="preprocessor">#define BME680_OSH_SEL UINT16_C(4)</span></div><div class="line"><a name="l00248"></a><span class="lineno"> 248</span>&#160;<span class="preprocessor">#define BME680_GAS_MEAS_SEL UINT16_C(8)</span></div><div class="line"><a name="l00249"></a><span class="lineno"> 249</span>&#160;<span class="preprocessor">#define BME680_FILTER_SEL UINT16_C(16)</span></div><div class="line"><a name="l00250"></a><span class="lineno"> 250</span>&#160;<span class="preprocessor">#define BME680_HCNTRL_SEL UINT16_C(32)</span></div><div class="line"><a name="l00251"></a><span class="lineno"> 251</span>&#160;<span class="preprocessor">#define BME680_RUN_GAS_SEL UINT16_C(64)</span></div><div class="line"><a name="l00252"></a><span class="lineno"> 252</span>&#160;<span class="preprocessor">#define BME680_NBCONV_SEL 128</span></div><div class="line"><a name="l00253"></a><span class="lineno"> 253</span>&#160;<span class="preprocessor">#define BME680_GAS_SENSOR_SEL UINT16_C(BME680_GAS_MEAS_SEL | BME680_RUN_GAS_SEL | BME680_NBCONV_SEL)</span></div><div class="line"><a name="l00254"></a><span class="lineno"> 254</span>&#160;</div><div class="line"><a name="l00256"></a><span class="lineno"><a class="line" href="bme680__defs_8h.html#a8b0bdbbedd050d35a8bc27e23c9c96c4"> 256</a></span>&#160;<span class="preprocessor">#define BME680_NBCONV_MIN UINT8_C(0)</span></div><div class="line"><a name="l00257"></a><span class="lineno"> 257</span>&#160;<span class="preprocessor">#define BME680_NBCONV_MAX UINT8_C(10)</span></div><div class="line"><a name="l00258"></a><span class="lineno"> 258</span>&#160;</div><div class="line"><a name="l00260"></a><span class="lineno"><a class="line" href="bme680__defs_8h.html#adff9a0ef09e48aa5fcecc9bcfb0bf6f2"> 260</a></span>&#160;<span class="preprocessor">#define BME680_GAS_MEAS_MSK UINT8_C(0x30)</span></div><div class="line"><a name="l00261"></a><span class="lineno"> 261</span>&#160;<span class="preprocessor">#define BME680_NBCONV_MSK UINT8_C(0X0F)</span></div><div class="line"><a name="l00262"></a><span class="lineno"> 262</span>&#160;<span class="preprocessor">#define BME680_FILTER_MSK UINT8_C(0X1C)</span></div><div class="line"><a name="l00263"></a><span class="lineno"> 263</span>&#160;<span class="preprocessor">#define BME680_OST_MSK UINT8_C(0XE0)</span></div><div class="line"><a name="l00264"></a><span class="lineno"> 264</span>&#160;<span class="preprocessor">#define BME680_OSP_MSK UINT8_C(0X1C)</span></div><div class="line"><a name="l00265"></a><span class="lineno"> 265</span>&#160;<span class="preprocessor">#define BME680_OSH_MSK UINT8_C(0X07)</span></div><div class="line"><a name="l00266"></a><span class="lineno"> 266</span>&#160;<span class="preprocessor">#define BME680_HCTRL_MSK UINT8_C(0x08)</span></div><div class="line"><a name="l00267"></a><span class="lineno"> 267</span>&#160;<span class="preprocessor">#define BME680_RUN_GAS_MSK UINT8_C(0x10)</span></div><div class="line"><a name="l00268"></a><span class="lineno"> 268</span>&#160;<span class="preprocessor">#define BME680_MODE_MSK UINT8_C(0x03)</span></div><div class="line"><a name="l00269"></a><span class="lineno"> 269</span>&#160;<span class="preprocessor">#define BME680_RHRANGE_MSK UINT8_C(0x30)</span></div><div class="line"><a name="l00270"></a><span class="lineno"> 270</span>&#160;<span class="preprocessor">#define BME680_RSERROR_MSK UINT8_C(0xf0)</span></div><div class="line"><a name="l00271"></a><span class="lineno"> 271</span>&#160;<span class="preprocessor">#define BME680_NEW_DATA_MSK UINT8_C(0x80)</span></div><div class="line"><a name="l00272"></a><span class="lineno"> 272</span>&#160;<span class="preprocessor">#define BME680_GAS_INDEX_MSK UINT8_C(0x0f)</span></div><div class="line"><a name="l00273"></a><span class="lineno"> 273</span>&#160;<span class="preprocessor">#define BME680_GAS_RANGE_MSK UINT8_C(0x0f)</span></div><div class="line"><a name="l00274"></a><span class="lineno"> 274</span>&#160;<span class="preprocessor">#define BME680_GASM_VALID_MSK UINT8_C(0x20)</span></div><div class="line"><a name="l00275"></a><span class="lineno"> 275</span>&#160;<span class="preprocessor">#define BME680_HEAT_STAB_MSK UINT8_C(0x10)</span></div><div class="line"><a name="l00276"></a><span class="lineno"> 276</span>&#160;<span class="preprocessor">#define BME680_MEM_PAGE_MSK UINT8_C(0x10)</span></div><div class="line"><a name="l00277"></a><span class="lineno"> 277</span>&#160;<span class="preprocessor">#define BME680_SPI_RD_MSK UINT8_C(0x80)</span></div><div class="line"><a name="l00278"></a><span class="lineno"> 278</span>&#160;<span class="preprocessor">#define BME680_SPI_WR_MSK UINT8_C(0x7f)</span></div><div class="line"><a name="l00279"></a><span class="lineno"> 279</span>&#160;<span class="preprocessor">#define BME680_BIT_H1_DATA_MSK UINT8_C(0x0F)</span></div><div class="line"><a name="l00280"></a><span class="lineno"> 280</span>&#160;</div><div class="line"><a name="l00282"></a><span class="lineno"><a class="line" href="bme680__defs_8h.html#aa72739940e9ab88370b0ae23ef687f15"> 282</a></span>&#160;<span class="preprocessor">#define BME680_GAS_MEAS_POS UINT8_C(4)</span></div><div class="line"><a name="l00283"></a><span class="lineno"> 283</span>&#160;<span class="preprocessor">#define BME680_FILTER_POS UINT8_C(2)</span></div><div class="line"><a name="l00284"></a><span class="lineno"> 284</span>&#160;<span class="preprocessor">#define BME680_OST_POS UINT8_C(5)</span></div><div class="line"><a name="l00285"></a><span class="lineno"> 285</span>&#160;<span class="preprocessor">#define BME680_OSP_POS UINT8_C(2)</span></div><div class="line"><a name="l00286"></a><span class="lineno"> 286</span>&#160;<span class="preprocessor">#define BME680_RUN_GAS_POS UINT8_C(4)</span></div><div class="line"><a name="l00287"></a><span class="lineno"> 287</span>&#160;</div><div class="line"><a name="l00289"></a><span class="lineno"><a class="line" href="bme680__defs_8h.html#ab0bf47738f04f4e67488166d66096752"> 289</a></span>&#160;<span class="preprocessor">#define BME680_T2_LSB_REG (1)</span></div><div class="line"><a name="l00290"></a><span class="lineno"> 290</span>&#160;<span class="preprocessor">#define BME680_T2_MSB_REG (2)</span></div><div class="line"><a name="l00291"></a><span class="lineno"> 291</span>&#160;<span class="preprocessor">#define BME680_T3_REG (3)</span></div><div class="line"><a name="l00292"></a><span class="lineno"> 292</span>&#160;<span class="preprocessor">#define BME680_P1_LSB_REG (5)</span></div><div class="line"><a name="l00293"></a><span class="lineno"> 293</span>&#160;<span class="preprocessor">#define BME680_P1_MSB_REG (6)</span></div><div class="line"><a name="l00294"></a><span class="lineno"> 294</span>&#160;<span class="preprocessor">#define BME680_P2_LSB_REG (7)</span></div><div class="line"><a name="l00295"></a><span class="lineno"> 295</span>&#160;<span class="preprocessor">#define BME680_P2_MSB_REG (8)</span></div><div class="line"><a name="l00296"></a><span class="lineno"> 296</span>&#160;<span class="preprocessor">#define BME680_P3_REG (9)</span></div><div class="line"><a name="l00297"></a><span class="lineno"> 297</span>&#160;<span class="preprocessor">#define BME680_P4_LSB_REG (11)</span></div><div class="line"><a name="l00298"></a><span class="lineno"> 298</span>&#160;<span class="preprocessor">#define BME680_P4_MSB_REG (12)</span></div><div class="line"><a name="l00299"></a><span class="lineno"> 299</span>&#160;<span class="preprocessor">#define BME680_P5_LSB_REG (13)</span></div><div class="line"><a name="l00300"></a><span class="lineno"> 300</span>&#160;<span class="preprocessor">#define BME680_P5_MSB_REG (14)</span></div><div class="line"><a name="l00301"></a><span class="lineno"> 301</span>&#160;<span class="preprocessor">#define BME680_P7_REG (15)</span></div><div class="line"><a name="l00302"></a><span class="lineno"> 302</span>&#160;<span class="preprocessor">#define BME680_P6_REG (16)</span></div><div class="line"><a name="l00303"></a><span class="lineno"> 303</span>&#160;<span class="preprocessor">#define BME680_P8_LSB_REG (19)</span></div><div class="line"><a name="l00304"></a><span class="lineno"> 304</span>&#160;<span class="preprocessor">#define BME680_P8_MSB_REG (20)</span></div><div class="line"><a name="l00305"></a><span class="lineno"> 305</span>&#160;<span class="preprocessor">#define BME680_P9_LSB_REG (21)</span></div><div class="line"><a name="l00306"></a><span class="lineno"> 306</span>&#160;<span class="preprocessor">#define BME680_P9_MSB_REG (22)</span></div><div class="line"><a name="l00307"></a><span class="lineno"> 307</span>&#160;<span class="preprocessor">#define BME680_P10_REG (23)</span></div><div class="line"><a name="l00308"></a><span class="lineno"> 308</span>&#160;<span class="preprocessor">#define BME680_H2_MSB_REG (25)</span></div><div class="line"><a name="l00309"></a><span class="lineno"> 309</span>&#160;<span class="preprocessor">#define BME680_H2_LSB_REG (26)</span></div><div class="line"><a name="l00310"></a><span class="lineno"> 310</span>&#160;<span class="preprocessor">#define BME680_H1_LSB_REG (26)</span></div><div class="line"><a name="l00311"></a><span class="lineno"> 311</span>&#160;<span class="preprocessor">#define BME680_H1_MSB_REG (27)</span></div><div class="line"><a name="l00312"></a><span class="lineno"> 312</span>&#160;<span class="preprocessor">#define BME680_H3_REG (28)</span></div><div class="line"><a name="l00313"></a><span class="lineno"> 313</span>&#160;<span class="preprocessor">#define BME680_H4_REG (29)</span></div><div class="line"><a name="l00314"></a><span class="lineno"> 314</span>&#160;<span class="preprocessor">#define BME680_H5_REG (30)</span></div><div class="line"><a name="l00315"></a><span class="lineno"> 315</span>&#160;<span class="preprocessor">#define BME680_H6_REG (31)</span></div><div class="line"><a name="l00316"></a><span class="lineno"> 316</span>&#160;<span class="preprocessor">#define BME680_H7_REG (32)</span></div><div class="line"><a name="l00317"></a><span class="lineno"> 317</span>&#160;<span class="preprocessor">#define BME680_T1_LSB_REG (33)</span></div><div class="line"><a name="l00318"></a><span class="lineno"> 318</span>&#160;<span class="preprocessor">#define BME680_T1_MSB_REG (34)</span></div><div class="line"><a name="l00319"></a><span class="lineno"> 319</span>&#160;<span class="preprocessor">#define BME680_GH2_LSB_REG (35)</span></div><div class="line"><a name="l00320"></a><span class="lineno"> 320</span>&#160;<span class="preprocessor">#define BME680_GH2_MSB_REG (36)</span></div><div class="line"><a name="l00321"></a><span class="lineno"> 321</span>&#160;<span class="preprocessor">#define BME680_GH1_REG (37)</span></div><div class="line"><a name="l00322"></a><span class="lineno"> 322</span>&#160;<span class="preprocessor">#define BME680_GH3_REG (38)</span></div><div class="line"><a name="l00323"></a><span class="lineno"> 323</span>&#160;</div><div class="line"><a name="l00325"></a><span class="lineno"><a class="line" href="bme680__defs_8h.html#abead566b839b70723d7dc5be6eb65c12"> 325</a></span>&#160;<span class="preprocessor">#define BME680_REG_FILTER_INDEX UINT8_C(5)</span></div><div class="line"><a name="l00326"></a><span class="lineno"> 326</span>&#160;<span class="preprocessor">#define BME680_REG_TEMP_INDEX UINT8_C(4)</span></div><div class="line"><a name="l00327"></a><span class="lineno"> 327</span>&#160;<span class="preprocessor">#define BME680_REG_PRES_INDEX UINT8_C(4)</span></div><div class="line"><a name="l00328"></a><span class="lineno"> 328</span>&#160;<span class="preprocessor">#define BME680_REG_HUM_INDEX UINT8_C(2)</span></div><div class="line"><a name="l00329"></a><span class="lineno"> 329</span>&#160;<span class="preprocessor">#define BME680_REG_NBCONV_INDEX UINT8_C(1)</span></div><div class="line"><a name="l00330"></a><span class="lineno"> 330</span>&#160;<span class="preprocessor">#define BME680_REG_RUN_GAS_INDEX UINT8_C(1)</span></div><div class="line"><a name="l00331"></a><span class="lineno"> 331</span>&#160;<span class="preprocessor">#define BME680_REG_HCTRL_INDEX UINT8_C(0)</span></div><div class="line"><a name="l00332"></a><span class="lineno"> 332</span>&#160;</div><div class="line"><a name="l00334"></a><span class="lineno"><a class="line" href="bme680__defs_8h.html#a9aac51cc4b47a1f1c9f30c07026840ab"> 334</a></span>&#160;<span class="preprocessor">#define BME680_CONCAT_BYTES(msb, lsb) (((uint16_t)msb &lt;&lt; 8) | (uint16_t)lsb)</span></div><div class="line"><a name="l00335"></a><span class="lineno"> 335</span>&#160;</div><div class="line"><a name="l00337"></a><span class="lineno"><a class="line" href="bme680__defs_8h.html#aa2dfae23c0c4a846bde4fdf3780c390e"> 337</a></span>&#160;<span class="preprocessor">#define BME680_SET_BITS(reg_data, bitname, data) \</span></div><div class="line"><a name="l00338"></a><span class="lineno"> 338</span>&#160;<span class="preprocessor"> ((reg_data &amp; ~(bitname##_MSK)) | \</span></div><div class="line"><a name="l00339"></a><span class="lineno"> 339</span>&#160;<span class="preprocessor"> ((data &lt;&lt; bitname##_POS) &amp; bitname##_MSK))</span></div><div class="line"><a name="l00340"></a><span class="lineno"> 340</span>&#160;<span class="preprocessor">#define BME680_GET_BITS(reg_data, bitname) ((reg_data &amp; (bitname##_MSK)) &gt;&gt; \</span></div><div class="line"><a name="l00341"></a><span class="lineno"> 341</span>&#160;<span class="preprocessor"> (bitname##_POS))</span></div><div class="line"><a name="l00342"></a><span class="lineno"> 342</span>&#160;</div><div class="line"><a name="l00344"></a><span class="lineno"><a class="line" href="bme680__defs_8h.html#a5e3fed11d9e1cb98d8c05bc5f418d4e8"> 344</a></span>&#160;<span class="preprocessor">#define BME680_SET_BITS_POS_0(reg_data, bitname, data) \</span></div><div class="line"><a name="l00345"></a><span class="lineno"> 345</span>&#160;<span class="preprocessor"> ((reg_data &amp; ~(bitname##_MSK)) | \</span></div><div class="line"><a name="l00346"></a><span class="lineno"> 346</span>&#160;<span class="preprocessor"> (data &amp; bitname##_MSK))</span></div><div class="line"><a name="l00347"></a><span class="lineno"> 347</span>&#160;<span class="preprocessor">#define BME680_GET_BITS_POS_0(reg_data, bitname) (reg_data &amp; (bitname##_MSK))</span></div><div class="line"><a name="l00348"></a><span class="lineno"> 348</span>&#160;</div><div class="line"><a name="l00350"></a><span class="lineno"> 350</span>&#160;<span class="comment">/*</span></div><div class="line"><a name="l00351"></a><span class="lineno"> 351</span>&#160;<span class="comment"> * Generic communication function pointer</span></div><div class="line"><a name="l00352"></a><span class="lineno"> 352</span>&#160;<span class="comment"> * @param[in] dev_id: Place holder to store the id of the device structure</span></div><div class="line"><a name="l00353"></a><span class="lineno"> 353</span>&#160;<span class="comment"> * Can be used to store the index of the Chip select or</span></div><div class="line"><a name="l00354"></a><span class="lineno"> 354</span>&#160;<span class="comment"> * I2C address of the device.</span></div><div class="line"><a name="l00355"></a><span class="lineno"> 355</span>&#160;<span class="comment"> * @param[in] reg_addr: Used to select the register the where data needs to</span></div><div class="line"><a name="l00356"></a><span class="lineno"> 356</span>&#160;<span class="comment"> * be read from or written to.</span></div><div class="line"><a name="l00357"></a><span class="lineno"> 357</span>&#160;<span class="comment"> * @param[in/out] reg_data: Data array to read/write</span></div><div class="line"><a name="l00358"></a><span class="lineno"> 358</span>&#160;<span class="comment"> * @param[in] len: Length of the data array</span></div><div class="line"><a name="l00359"></a><span class="lineno"> 359</span>&#160;<span class="comment"> */</span></div><div class="line"><a name="l00360"></a><span class="lineno"><a class="line" href="bme680__defs_8h.html#aa7d183195e66f1db50f64f3a3d4ede57"> 360</a></span>&#160;<span class="keyword">typedef</span> int8_t (*<a class="code" href="bme680__defs_8h.html#aa7d183195e66f1db50f64f3a3d4ede57">bme680_com_fptr_t</a>)(uint8_t <a class="code" href="structbme680__dev.html#a71b6ddedf9606872d64bc6239b8e5838">dev_id</a>, uint8_t reg_addr, uint8_t *data, uint16_t len);</div><div class="line"><a name="l00361"></a><span class="lineno"> 361</span>&#160;</div><div class="line"><a name="l00362"></a><span class="lineno"> 362</span>&#160;<span class="comment">/*</span></div><div class="line"><a name="l00363"></a><span class="lineno"> 363</span>&#160;<span class="comment"> * Delay function pointer</span></div><div class="line"><a name="l00364"></a><span class="lineno"> 364</span>&#160;<span class="comment"> * @param[in] period: Time period in milliseconds</span></div><div class="line"><a name="l00365"></a><span class="lineno"> 365</span>&#160;<span class="comment"> */</span></div><div class="line"><a name="l00366"></a><span class="lineno"> 366</span>&#160;<span class="keyword">typedef</span> void (*bme680_delay_fptr_t)(uint32_t period);</div><div class="line"><a name="l00367"></a><span class="lineno"> 367</span>&#160;</div><div class="line"><a name="l00371"></a><span class="lineno"><a class="line" href="bme680__defs_8h.html#a2232c03d0c1282e976af41b39e1b87d6"> 371</a></span>&#160;<span class="keyword">enum</span> <a class="code" href="bme680__defs_8h.html#a2232c03d0c1282e976af41b39e1b87d6">bme680_intf</a> {</div><div class="line"><a name="l00373"></a><span class="lineno"><a class="line" href="bme680__defs_8h.html#a2232c03d0c1282e976af41b39e1b87d6a504bd691a4b57b0c914cc8c77bd696c3"> 373</a></span>&#160; <a class="code" href="bme680__defs_8h.html#a2232c03d0c1282e976af41b39e1b87d6a504bd691a4b57b0c914cc8c77bd696c3">BME680_SPI_INTF</a>,</div><div class="line"><a name="l00375"></a><span class="lineno"><a class="line" href="bme680__defs_8h.html#a2232c03d0c1282e976af41b39e1b87d6a8c5c46109186b1f476eafcb0fa608cf5"> 375</a></span>&#160; <a class="code" href="bme680__defs_8h.html#a2232c03d0c1282e976af41b39e1b87d6a8c5c46109186b1f476eafcb0fa608cf5">BME680_I2C_INTF</a></div><div class="line"><a name="l00376"></a><span class="lineno"> 376</span>&#160;};</div><div class="line"><a name="l00377"></a><span class="lineno"> 377</span>&#160;</div><div class="line"><a name="l00378"></a><span class="lineno"> 378</span>&#160;<span class="comment">/* structure definitions */</span></div><div class="line"><a name="l00382"></a><span class="lineno"><a class="line" href="structbme680__field__data.html"> 382</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structbme680__field__data.html">bme680_field_data</a> {</div><div class="line"><a name="l00384"></a><span class="lineno"><a class="line" href="structbme680__field__data.html#af52b43f86807c1f1ef7526bbb9584c5b"> 384</a></span>&#160; uint8_t <a class="code" href="structbme680__field__data.html#af52b43f86807c1f1ef7526bbb9584c5b">status</a>;</div><div class="line"><a name="l00386"></a><span class="lineno"><a class="line" href="structbme680__field__data.html#ae96ceedb9e36dc0671ac533e88160f5b"> 386</a></span>&#160; uint8_t <a class="code" href="structbme680__field__data.html#ae96ceedb9e36dc0671ac533e88160f5b">gas_index</a>;</div><div class="line"><a name="l00388"></a><span class="lineno"><a class="line" href="structbme680__field__data.html#add2cb9f6b7d736908aa9f75904122d3c"> 388</a></span>&#160; uint8_t <a class="code" href="structbme680__field__data.html#add2cb9f6b7d736908aa9f75904122d3c">meas_index</a>;</div><div class="line"><a name="l00390"></a><span class="lineno"><a class="line" href="structbme680__field__data.html#a8954536ec56e28e4bc79ed7bf1bc5176"> 390</a></span>&#160; int16_t <a class="code" href="structbme680__field__data.html#a8954536ec56e28e4bc79ed7bf1bc5176">temperature</a>;</div><div class="line"><a name="l00392"></a><span class="lineno"><a class="line" href="structbme680__field__data.html#af92dbc060536ac0cd546a1f402fcecb4"> 392</a></span>&#160; uint32_t <a class="code" href="structbme680__field__data.html#af92dbc060536ac0cd546a1f402fcecb4">pressure</a>;</div><div class="line"><a name="l00394"></a><span class="lineno"><a class="line" href="structbme680__field__data.html#ac84103cb41a2fab9614a61b467e5410e"> 394</a></span>&#160; uint32_t <a class="code" href="structbme680__field__data.html#ac84103cb41a2fab9614a61b467e5410e">humidity</a>;</div><div class="line"><a name="l00396"></a><span class="lineno"><a class="line" href="structbme680__field__data.html#a6ce58ca03356c0df2e4b02bac6c4ce26"> 396</a></span>&#160; uint32_t <a class="code" href="structbme680__field__data.html#a6ce58ca03356c0df2e4b02bac6c4ce26">gas_resistance</a>;</div><div class="line"><a name="l00397"></a><span class="lineno"> 397</span>&#160;};</div><div class="line"><a name="l00398"></a><span class="lineno"> 398</span>&#160;</div><div class="line"><a name="l00402"></a><span class="lineno"><a class="line" href="structbme680__calib__data.html"> 402</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structbme680__calib__data.html">bme680_calib_data</a> {</div><div class="line"><a name="l00404"></a><span class="lineno"><a class="line" href="structbme680__calib__data.html#a14a76f440f0f9df731057cd511403a29"> 404</a></span>&#160; uint16_t <a class="code" href="structbme680__calib__data.html#a14a76f440f0f9df731057cd511403a29">par_h1</a>;</div><div class="line"><a name="l00406"></a><span class="lineno"><a class="line" href="structbme680__calib__data.html#a8c241a150118622dcab5a1daae8c5893"> 406</a></span>&#160; uint16_t <a class="code" href="structbme680__calib__data.html#a8c241a150118622dcab5a1daae8c5893">par_h2</a>;</div><div class="line"><a name="l00408"></a><span class="lineno"><a class="line" href="structbme680__calib__data.html#a43a808580e91172a5b840210e8a85bf0"> 408</a></span>&#160; int8_t <a class="code" href="structbme680__calib__data.html#a43a808580e91172a5b840210e8a85bf0">par_h3</a>;</div><div class="line"><a name="l00410"></a><span class="lineno"><a class="line" href="structbme680__calib__data.html#a8d73c2a1a2b56bd9530f467f86f02c7a"> 410</a></span>&#160; int8_t <a class="code" href="structbme680__calib__data.html#a8d73c2a1a2b56bd9530f467f86f02c7a">par_h4</a>;</div><div class="line"><a name="l00412"></a><span class="lineno"><a class="line" href="structbme680__calib__data.html#afa1dcf66631dcb16aa8c091a65e1d580"> 412</a></span>&#160; int8_t <a class="code" href="structbme680__calib__data.html#afa1dcf66631dcb16aa8c091a65e1d580">par_h5</a>;</div><div class="line"><a name="l00414"></a><span class="lineno"><a class="line" href="structbme680__calib__data.html#ad97ebd01754136bd9af03c9e09c43005"> 414</a></span>&#160; uint8_t <a class="code" href="structbme680__calib__data.html#ad97ebd01754136bd9af03c9e09c43005">par_h6</a>;</div><div class="line"><a name="l00416"></a><span class="lineno"><a class="line" href="structbme680__calib__data.html#a59dd799e9a4b5faad9b3755aeb88ad30"> 416</a></span>&#160; int8_t <a class="code" href="structbme680__calib__data.html#a59dd799e9a4b5faad9b3755aeb88ad30">par_h7</a>;</div><div class="line"><a name="l00418"></a><span class="lineno"><a class="line" href="structbme680__calib__data.html#ab9c4601c2e89a776257bbd27f66c9e2c"> 418</a></span>&#160; int8_t <a class="code" href="structbme680__calib__data.html#ab9c4601c2e89a776257bbd27f66c9e2c">par_gh1</a>;</div><div class="line"><a name="l00420"></a><span class="lineno"><a class="line" href="structbme680__calib__data.html#aeebd7cb98502f77c4cce34d6a9a1f6db"> 420</a></span>&#160; int16_t <a class="code" href="structbme680__calib__data.html#aeebd7cb98502f77c4cce34d6a9a1f6db">par_gh2</a>;</div><div class="line"><a name="l00422"></a><span class="lineno"><a class="line" href="structbme680__calib__data.html#aaae5921c2ddbee1935665f428266f373"> 422</a></span>&#160; int8_t <a class="code" href="structbme680__calib__data.html#aaae5921c2ddbee1935665f428266f373">par_gh3</a>;</div><div class="line"><a name="l00424"></a><span class="lineno"><a class="line" href="structbme680__calib__data.html#a0f01e767396f9328edb6e5ae9a314b2f"> 424</a></span>&#160; uint16_t <a class="code" href="structbme680__calib__data.html#a0f01e767396f9328edb6e5ae9a314b2f">par_t1</a>;</div><div class="line"><a name="l00426"></a><span class="lineno"><a class="line" href="structbme680__calib__data.html#a5ba9c77d416227faae07642a7537788f"> 426</a></span>&#160; int16_t <a class="code" href="structbme680__calib__data.html#a5ba9c77d416227faae07642a7537788f">par_t2</a>;</div><div class="line"><a name="l00428"></a><span class="lineno"><a class="line" href="structbme680__calib__data.html#acda7c141bb94e5e6b3654387fc8bce47"> 428</a></span>&#160; int8_t <a class="code" href="structbme680__calib__data.html#acda7c141bb94e5e6b3654387fc8bce47">par_t3</a>;</div><div class="line"><a name="l00430"></a><span class="lineno"><a class="line" href="structbme680__calib__data.html#aac7cb7d36376532cd4a39aa5ddfe68c0"> 430</a></span>&#160; uint16_t <a class="code" href="structbme680__calib__data.html#aac7cb7d36376532cd4a39aa5ddfe68c0">par_p1</a>;</div><div class="line"><a name="l00432"></a><span class="lineno"><a class="line" href="structbme680__calib__data.html#a97ee906971dca54be2deada4ede4664b"> 432</a></span>&#160; int16_t <a class="code" href="structbme680__calib__data.html#a97ee906971dca54be2deada4ede4664b">par_p2</a>;</div><div class="line"><a name="l00434"></a><span class="lineno"><a class="line" href="structbme680__calib__data.html#a997a9f626fb184d400c178c84575c01a"> 434</a></span>&#160; int8_t <a class="code" href="structbme680__calib__data.html#a997a9f626fb184d400c178c84575c01a">par_p3</a>;</div><div class="line"><a name="l00436"></a><span class="lineno"><a class="line" href="structbme680__calib__data.html#aa5757dfc40816cf3c8e29e2aeb4a521a"> 436</a></span>&#160; int16_t <a class="code" href="structbme680__calib__data.html#aa5757dfc40816cf3c8e29e2aeb4a521a">par_p4</a>;</div><div class="line"><a name="l00438"></a><span class="lineno"><a class="line" href="structbme680__calib__data.html#adf1614f15852812b5a4346d75f9d37f4"> 438</a></span>&#160; int16_t <a class="code" href="structbme680__calib__data.html#adf1614f15852812b5a4346d75f9d37f4">par_p5</a>;</div><div class="line"><a name="l00440"></a><span class="lineno"><a class="line" href="structbme680__calib__data.html#af70bee9d3b48b1ce25557b2639093ef3"> 440</a></span>&#160; int8_t <a class="code" href="structbme680__calib__data.html#af70bee9d3b48b1ce25557b2639093ef3">par_p6</a>;</div><div class="line"><a name="l00442"></a><span class="lineno"><a class="line" href="structbme680__calib__data.html#ad3af987b1e051ffb136efd2b8d2ba19e"> 442</a></span>&#160; int8_t <a class="code" href="structbme680__calib__data.html#ad3af987b1e051ffb136efd2b8d2ba19e">par_p7</a>;</div><div class="line"><a name="l00444"></a><span class="lineno"><a class="line" href="structbme680__calib__data.html#a4e75e3ba3a52bda30daffc6c0e242c03"> 444</a></span>&#160; int16_t <a class="code" href="structbme680__calib__data.html#a4e75e3ba3a52bda30daffc6c0e242c03">par_p8</a>;</div><div class="line"><a name="l00446"></a><span class="lineno"><a class="line" href="structbme680__calib__data.html#aebe0a4d1259e37c56b57e221add89bd9"> 446</a></span>&#160; int16_t <a class="code" href="structbme680__calib__data.html#aebe0a4d1259e37c56b57e221add89bd9">par_p9</a>;</div><div class="line"><a name="l00448"></a><span class="lineno"><a class="line" href="structbme680__calib__data.html#a49b5fb944862a2937be8aafee042108c"> 448</a></span>&#160; uint8_t <a class="code" href="structbme680__calib__data.html#a49b5fb944862a2937be8aafee042108c">par_p10</a>;</div><div class="line"><a name="l00450"></a><span class="lineno"><a class="line" href="structbme680__calib__data.html#aae7b1a022503644a5e31996a97c032ae"> 450</a></span>&#160; int32_t <a class="code" href="structbme680__calib__data.html#aae7b1a022503644a5e31996a97c032ae">t_fine</a>;</div><div class="line"><a name="l00452"></a><span class="lineno"><a class="line" href="structbme680__calib__data.html#ae37d0c08a01ea1ecf19b82fe4b08f1a8"> 452</a></span>&#160; uint8_t <a class="code" href="structbme680__calib__data.html#ae37d0c08a01ea1ecf19b82fe4b08f1a8">res_heat_range</a>;</div><div class="line"><a name="l00454"></a><span class="lineno"><a class="line" href="structbme680__calib__data.html#aa77e96c4bd34ffd5611e014192b936fc"> 454</a></span>&#160; int8_t <a class="code" href="structbme680__calib__data.html#aa77e96c4bd34ffd5611e014192b936fc">res_heat_val</a>;</div><div class="line"><a name="l00456"></a><span class="lineno"><a class="line" href="structbme680__calib__data.html#ab42378cffea08117ba872e9b7b2e3580"> 456</a></span>&#160; int8_t <a class="code" href="structbme680__calib__data.html#ab42378cffea08117ba872e9b7b2e3580">range_sw_err</a>;</div><div class="line"><a name="l00457"></a><span class="lineno"> 457</span>&#160;};</div><div class="line"><a name="l00458"></a><span class="lineno"> 458</span>&#160;</div><div class="line"><a name="l00463"></a><span class="lineno"><a class="line" href="structbme680__tph__sett.html"> 463</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structbme680__tph__sett.html">bme680_tph_sett</a> {</div><div class="line"><a name="l00465"></a><span class="lineno"><a class="line" href="structbme680__tph__sett.html#a12b21e2faba6c4e235f14070e9a9bb3e"> 465</a></span>&#160; uint8_t <a class="code" href="structbme680__tph__sett.html#a12b21e2faba6c4e235f14070e9a9bb3e">os_hum</a>;</div><div class="line"><a name="l00467"></a><span class="lineno"><a class="line" href="structbme680__tph__sett.html#a80a4dec6bde73d2083d464cb79ae8df8"> 467</a></span>&#160; uint8_t <a class="code" href="structbme680__tph__sett.html#a80a4dec6bde73d2083d464cb79ae8df8">os_temp</a>;</div><div class="line"><a name="l00469"></a><span class="lineno"><a class="line" href="structbme680__tph__sett.html#ad754f858d10c2164e1d18756c9cf8db0"> 469</a></span>&#160; uint8_t <a class="code" href="structbme680__tph__sett.html#ad754f858d10c2164e1d18756c9cf8db0">os_pres</a>;</div><div class="line"><a name="l00471"></a><span class="lineno"><a class="line" href="structbme680__tph__sett.html#a34ddef697ec00a902889ff3bf271afbf"> 471</a></span>&#160; uint8_t <a class="code" href="structbme680__tph__sett.html#a34ddef697ec00a902889ff3bf271afbf">filter</a>;</div><div class="line"><a name="l00472"></a><span class="lineno"> 472</span>&#160;};</div><div class="line"><a name="l00473"></a><span class="lineno"> 473</span>&#160;</div><div class="line"><a name="l00478"></a><span class="lineno"><a class="line" href="structbme680__gas__sett.html"> 478</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structbme680__gas__sett.html">bme680_gas_sett</a> {</div><div class="line"><a name="l00480"></a><span class="lineno"><a class="line" href="structbme680__gas__sett.html#ad0fd15bcd071158faaa40037171cd798"> 480</a></span>&#160; uint8_t <a class="code" href="structbme680__gas__sett.html#ad0fd15bcd071158faaa40037171cd798">nb_conv</a>;</div><div class="line"><a name="l00482"></a><span class="lineno"><a class="line" href="structbme680__gas__sett.html#a014791860332df8fab25684e443cd0ac"> 482</a></span>&#160; uint8_t <a class="code" href="structbme680__gas__sett.html#a014791860332df8fab25684e443cd0ac">heatr_ctrl</a>;</div><div class="line"><a name="l00484"></a><span class="lineno"><a class="line" href="structbme680__gas__sett.html#a01ce898d2f312f59dd4bda78d7abe951"> 484</a></span>&#160; uint8_t <a class="code" href="structbme680__gas__sett.html#a01ce898d2f312f59dd4bda78d7abe951">run_gas</a>;</div><div class="line"><a name="l00486"></a><span class="lineno"><a class="line" href="structbme680__gas__sett.html#a0d7a200cbfe2d07e32a69da90759b278"> 486</a></span>&#160; uint16_t <a class="code" href="structbme680__gas__sett.html#a0d7a200cbfe2d07e32a69da90759b278">heatr_temp</a>;</div><div class="line"><a name="l00488"></a><span class="lineno"><a class="line" href="structbme680__gas__sett.html#ac740d0456aafd8e5ac2cd7656260a527"> 488</a></span>&#160; uint16_t <a class="code" href="structbme680__gas__sett.html#ac740d0456aafd8e5ac2cd7656260a527">heatr_dur</a>;</div><div class="line"><a name="l00489"></a><span class="lineno"> 489</span>&#160;};</div><div class="line"><a name="l00490"></a><span class="lineno"> 490</span>&#160;</div><div class="line"><a name="l00494"></a><span class="lineno"><a class="line" href="structbme680__dev.html"> 494</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structbme680__dev.html">bme680_dev</a> {</div><div class="line"><a name="l00496"></a><span class="lineno"><a class="line" href="structbme680__dev.html#a3698643172429ac7a5d9fd8d7a37c283"> 496</a></span>&#160; uint8_t <a class="code" href="structbme680__dev.html#a3698643172429ac7a5d9fd8d7a37c283">chip_id</a>;</div><div class="line"><a name="l00498"></a><span class="lineno"><a class="line" href="structbme680__dev.html#a71b6ddedf9606872d64bc6239b8e5838"> 498</a></span>&#160; uint8_t <a class="code" href="structbme680__dev.html#a71b6ddedf9606872d64bc6239b8e5838">dev_id</a>;</div><div class="line"><a name="l00500"></a><span class="lineno"><a class="line" href="structbme680__dev.html#a6000144e9ce5cca76d3945f61b1d4ac9"> 500</a></span>&#160; <span class="keyword">enum</span> <a class="code" href="bme680__defs_8h.html#a2232c03d0c1282e976af41b39e1b87d6">bme680_intf</a> intf;</div><div class="line"><a name="l00502"></a><span class="lineno"><a class="line" href="structbme680__dev.html#a388e543d88b93a2a5c91e1f66ed0e998"> 502</a></span>&#160; uint8_t <a class="code" href="structbme680__dev.html#a388e543d88b93a2a5c91e1f66ed0e998">mem_page</a>;</div><div class="line"><a name="l00504"></a><span class="lineno"><a class="line" href="structbme680__dev.html#ae9b2a0368dcafa1a6ea9e4e3ae84c77b"> 504</a></span>&#160; int8_t <a class="code" href="structbme680__dev.html#ae9b2a0368dcafa1a6ea9e4e3ae84c77b">amb_temp</a>;</div><div class="line"><a name="l00506"></a><span class="lineno"><a class="line" href="structbme680__dev.html#ad73f25d84281fa4fbc15c1b40cfc0fb7"> 506</a></span>&#160; <span class="keyword">struct </span><a class="code" href="structbme680__calib__data.html">bme680_calib_data</a> calib;</div><div class="line"><a name="l00508"></a><span class="lineno"><a class="line" href="structbme680__dev.html#a38a17360e0b57778b734393e80819294"> 508</a></span>&#160; <span class="keyword">struct </span><a class="code" href="structbme680__tph__sett.html">bme680_tph_sett</a> tph_sett;</div><div class="line"><a name="l00510"></a><span class="lineno"><a class="line" href="structbme680__dev.html#aaf0d4528b207d86b53e14a907bb3d7b8"> 510</a></span>&#160; <span class="keyword">struct </span><a class="code" href="structbme680__gas__sett.html">bme680_gas_sett</a> gas_sett;</div><div class="line"><a name="l00512"></a><span class="lineno"><a class="line" href="structbme680__dev.html#a7b2b2947aa6a6e336c90811373de1a6b"> 512</a></span>&#160; uint8_t <a class="code" href="structbme680__dev.html#a7b2b2947aa6a6e336c90811373de1a6b">power_mode</a>;</div><div class="line"><a name="l00514"></a><span class="lineno"><a class="line" href="structbme680__dev.html#a488698f8c1c548bb19ac1f8ee67cbadd"> 514</a></span>&#160; uint8_t <a class="code" href="structbme680__dev.html#a488698f8c1c548bb19ac1f8ee67cbadd">new_fields</a>;</div><div class="line"><a name="l00516"></a><span class="lineno"><a class="line" href="structbme680__dev.html#a7bb14424d37da3c8fb0a527b7967a0d5"> 516</a></span>&#160; uint8_t <a class="code" href="structbme680__dev.html#a7bb14424d37da3c8fb0a527b7967a0d5">info_msg</a>;</div><div class="line"><a name="l00518"></a><span class="lineno"><a class="line" href="structbme680__dev.html#aa36aaa5af7488e1a9dce5b8b834b1956"> 518</a></span>&#160; <a class="code" href="bme680__defs_8h.html#aa7d183195e66f1db50f64f3a3d4ede57">bme680_com_fptr_t</a> <a class="code" href="structbme680__dev.html#aa36aaa5af7488e1a9dce5b8b834b1956">read</a>;</div><div class="line"><a name="l00520"></a><span class="lineno"><a class="line" href="structbme680__dev.html#a5e1e5dad78b9831125c240dde61b13a2"> 520</a></span>&#160; <a class="code" href="bme680__defs_8h.html#aa7d183195e66f1db50f64f3a3d4ede57">bme680_com_fptr_t</a> <a class="code" href="structbme680__dev.html#a5e1e5dad78b9831125c240dde61b13a2">write</a>;</div><div class="line"><a name="l00522"></a><span class="lineno"><a class="line" href="structbme680__dev.html#ac34a77bcf24d1f64fd53d3dcf23525a8"> 522</a></span>&#160; bme680_delay_fptr_t delay_ms;</div><div class="line"><a name="l00524"></a><span class="lineno"><a class="line" href="structbme680__dev.html#a9baa012a046e51257ced31c2af0b01e5"> 524</a></span>&#160; int8_t <a class="code" href="structbme680__dev.html#a9baa012a046e51257ced31c2af0b01e5">com_rslt</a>;</div><div class="line"><a name="l00525"></a><span class="lineno"> 525</span>&#160;};</div><div class="line"><a name="l00526"></a><span class="lineno"> 526</span>&#160;</div><div class="line"><a name="l00527"></a><span class="lineno"> 527</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* BME680_DEFS_H_ */</span><span class="preprocessor"></span></div><div class="line"><a name="l00528"></a><span class="lineno"> 528</span>&#160;</div><div class="ttc" id="structbme680__gas__sett_html_a0d7a200cbfe2d07e32a69da90759b278"><div class="ttname"><a href="structbme680__gas__sett.html#a0d7a200cbfe2d07e32a69da90759b278">bme680_gas_sett::heatr_temp</a></div><div class="ttdeci">uint16_t heatr_temp</div><div class="ttdef"><b>Definition:</b> bme680_defs.h:486</div></div>
<div class="ttc" id="structbme680__dev_html_a7b2b2947aa6a6e336c90811373de1a6b"><div class="ttname"><a href="structbme680__dev.html#a7b2b2947aa6a6e336c90811373de1a6b">bme680_dev::power_mode</a></div><div class="ttdeci">uint8_t power_mode</div><div class="ttdef"><b>Definition:</b> bme680_defs.h:512</div></div>
<div class="ttc" id="structbme680__gas__sett_html_ad0fd15bcd071158faaa40037171cd798"><div class="ttname"><a href="structbme680__gas__sett.html#ad0fd15bcd071158faaa40037171cd798">bme680_gas_sett::nb_conv</a></div><div class="ttdeci">uint8_t nb_conv</div><div class="ttdef"><b>Definition:</b> bme680_defs.h:480</div></div>
<div class="ttc" id="structbme680__tph__sett_html_ad754f858d10c2164e1d18756c9cf8db0"><div class="ttname"><a href="structbme680__tph__sett.html#ad754f858d10c2164e1d18756c9cf8db0">bme680_tph_sett::os_pres</a></div><div class="ttdeci">uint8_t os_pres</div><div class="ttdef"><b>Definition:</b> bme680_defs.h:469</div></div>
<div class="ttc" id="structbme680__field__data_html_a8954536ec56e28e4bc79ed7bf1bc5176"><div class="ttname"><a href="structbme680__field__data.html#a8954536ec56e28e4bc79ed7bf1bc5176">bme680_field_data::temperature</a></div><div class="ttdeci">int16_t temperature</div><div class="ttdef"><b>Definition:</b> bme680_defs.h:390</div></div>
<div class="ttc" id="structbme680__calib__data_html_a0f01e767396f9328edb6e5ae9a314b2f"><div class="ttname"><a href="structbme680__calib__data.html#a0f01e767396f9328edb6e5ae9a314b2f">bme680_calib_data::par_t1</a></div><div class="ttdeci">uint16_t par_t1</div><div class="ttdef"><b>Definition:</b> bme680_defs.h:424</div></div>
<div class="ttc" id="structbme680__dev_html_a388e543d88b93a2a5c91e1f66ed0e998"><div class="ttname"><a href="structbme680__dev.html#a388e543d88b93a2a5c91e1f66ed0e998">bme680_dev::mem_page</a></div><div class="ttdeci">uint8_t mem_page</div><div class="ttdef"><b>Definition:</b> bme680_defs.h:502</div></div>
<div class="ttc" id="structbme680__calib__data_html_aae7b1a022503644a5e31996a97c032ae"><div class="ttname"><a href="structbme680__calib__data.html#aae7b1a022503644a5e31996a97c032ae">bme680_calib_data::t_fine</a></div><div class="ttdeci">int32_t t_fine</div><div class="ttdef"><b>Definition:</b> bme680_defs.h:450</div></div>
<div class="ttc" id="structbme680__calib__data_html_af70bee9d3b48b1ce25557b2639093ef3"><div class="ttname"><a href="structbme680__calib__data.html#af70bee9d3b48b1ce25557b2639093ef3">bme680_calib_data::par_p6</a></div><div class="ttdeci">int8_t par_p6</div><div class="ttdef"><b>Definition:</b> bme680_defs.h:440</div></div>
<div class="ttc" id="structbme680__calib__data_html_a49b5fb944862a2937be8aafee042108c"><div class="ttname"><a href="structbme680__calib__data.html#a49b5fb944862a2937be8aafee042108c">bme680_calib_data::par_p10</a></div><div class="ttdeci">uint8_t par_p10</div><div class="ttdef"><b>Definition:</b> bme680_defs.h:448</div></div>
<div class="ttc" id="structbme680__calib__data_html_afa1dcf66631dcb16aa8c091a65e1d580"><div class="ttname"><a href="structbme680__calib__data.html#afa1dcf66631dcb16aa8c091a65e1d580">bme680_calib_data::par_h5</a></div><div class="ttdeci">int8_t par_h5</div><div class="ttdef"><b>Definition:</b> bme680_defs.h:412</div></div>
<div class="ttc" id="structbme680__calib__data_html_aeebd7cb98502f77c4cce34d6a9a1f6db"><div class="ttname"><a href="structbme680__calib__data.html#aeebd7cb98502f77c4cce34d6a9a1f6db">bme680_calib_data::par_gh2</a></div><div class="ttdeci">int16_t par_gh2</div><div class="ttdef"><b>Definition:</b> bme680_defs.h:420</div></div>
<div class="ttc" id="bme680__defs_8h_html_aa7d183195e66f1db50f64f3a3d4ede57"><div class="ttname"><a href="bme680__defs_8h.html#aa7d183195e66f1db50f64f3a3d4ede57">bme680_com_fptr_t</a></div><div class="ttdeci">int8_t(* bme680_com_fptr_t)(uint8_t dev_id, uint8_t reg_addr, uint8_t *data, uint16_t len)</div><div class="ttdef"><b>Definition:</b> bme680_defs.h:360</div></div>
<div class="ttc" id="structbme680__tph__sett_html_a34ddef697ec00a902889ff3bf271afbf"><div class="ttname"><a href="structbme680__tph__sett.html#a34ddef697ec00a902889ff3bf271afbf">bme680_tph_sett::filter</a></div><div class="ttdeci">uint8_t filter</div><div class="ttdef"><b>Definition:</b> bme680_defs.h:471</div></div>
<div class="ttc" id="structbme680__field__data_html_add2cb9f6b7d736908aa9f75904122d3c"><div class="ttname"><a href="structbme680__field__data.html#add2cb9f6b7d736908aa9f75904122d3c">bme680_field_data::meas_index</a></div><div class="ttdeci">uint8_t meas_index</div><div class="ttdef"><b>Definition:</b> bme680_defs.h:388</div></div>
<div class="ttc" id="structbme680__calib__data_html_a59dd799e9a4b5faad9b3755aeb88ad30"><div class="ttname"><a href="structbme680__calib__data.html#a59dd799e9a4b5faad9b3755aeb88ad30">bme680_calib_data::par_h7</a></div><div class="ttdeci">int8_t par_h7</div><div class="ttdef"><b>Definition:</b> bme680_defs.h:416</div></div>
<div class="ttc" id="bme680__defs_8h_html_a2232c03d0c1282e976af41b39e1b87d6a8c5c46109186b1f476eafcb0fa608cf5"><div class="ttname"><a href="bme680__defs_8h.html#a2232c03d0c1282e976af41b39e1b87d6a8c5c46109186b1f476eafcb0fa608cf5">BME680_I2C_INTF</a></div><div class="ttdef"><b>Definition:</b> bme680_defs.h:375</div></div>
<div class="ttc" id="structbme680__dev_html_a488698f8c1c548bb19ac1f8ee67cbadd"><div class="ttname"><a href="structbme680__dev.html#a488698f8c1c548bb19ac1f8ee67cbadd">bme680_dev::new_fields</a></div><div class="ttdeci">uint8_t new_fields</div><div class="ttdef"><b>Definition:</b> bme680_defs.h:514</div></div>
<div class="ttc" id="structbme680__calib__data_html_ad97ebd01754136bd9af03c9e09c43005"><div class="ttname"><a href="structbme680__calib__data.html#ad97ebd01754136bd9af03c9e09c43005">bme680_calib_data::par_h6</a></div><div class="ttdeci">uint8_t par_h6</div><div class="ttdef"><b>Definition:</b> bme680_defs.h:414</div></div>
<div class="ttc" id="structbme680__calib__data_html_aa77e96c4bd34ffd5611e014192b936fc"><div class="ttname"><a href="structbme680__calib__data.html#aa77e96c4bd34ffd5611e014192b936fc">bme680_calib_data::res_heat_val</a></div><div class="ttdeci">int8_t res_heat_val</div><div class="ttdef"><b>Definition:</b> bme680_defs.h:454</div></div>
<div class="ttc" id="structbme680__field__data_html_ac84103cb41a2fab9614a61b467e5410e"><div class="ttname"><a href="structbme680__field__data.html#ac84103cb41a2fab9614a61b467e5410e">bme680_field_data::humidity</a></div><div class="ttdeci">uint32_t humidity</div><div class="ttdef"><b>Definition:</b> bme680_defs.h:394</div></div>
<div class="ttc" id="structbme680__calib__data_html_aaae5921c2ddbee1935665f428266f373"><div class="ttname"><a href="structbme680__calib__data.html#aaae5921c2ddbee1935665f428266f373">bme680_calib_data::par_gh3</a></div><div class="ttdeci">int8_t par_gh3</div><div class="ttdef"><b>Definition:</b> bme680_defs.h:422</div></div>
<div class="ttc" id="structbme680__tph__sett_html_a80a4dec6bde73d2083d464cb79ae8df8"><div class="ttname"><a href="structbme680__tph__sett.html#a80a4dec6bde73d2083d464cb79ae8df8">bme680_tph_sett::os_temp</a></div><div class="ttdeci">uint8_t os_temp</div><div class="ttdef"><b>Definition:</b> bme680_defs.h:467</div></div>
<div class="ttc" id="structbme680__gas__sett_html_a014791860332df8fab25684e443cd0ac"><div class="ttname"><a href="structbme680__gas__sett.html#a014791860332df8fab25684e443cd0ac">bme680_gas_sett::heatr_ctrl</a></div><div class="ttdeci">uint8_t heatr_ctrl</div><div class="ttdef"><b>Definition:</b> bme680_defs.h:482</div></div>
<div class="ttc" id="structbme680__calib__data_html_ad3af987b1e051ffb136efd2b8d2ba19e"><div class="ttname"><a href="structbme680__calib__data.html#ad3af987b1e051ffb136efd2b8d2ba19e">bme680_calib_data::par_p7</a></div><div class="ttdeci">int8_t par_p7</div><div class="ttdef"><b>Definition:</b> bme680_defs.h:442</div></div>
<div class="ttc" id="structbme680__dev_html_a7bb14424d37da3c8fb0a527b7967a0d5"><div class="ttname"><a href="structbme680__dev.html#a7bb14424d37da3c8fb0a527b7967a0d5">bme680_dev::info_msg</a></div><div class="ttdeci">uint8_t info_msg</div><div class="ttdef"><b>Definition:</b> bme680_defs.h:516</div></div>
<div class="ttc" id="structbme680__calib__data_html_acda7c141bb94e5e6b3654387fc8bce47"><div class="ttname"><a href="structbme680__calib__data.html#acda7c141bb94e5e6b3654387fc8bce47">bme680_calib_data::par_t3</a></div><div class="ttdeci">int8_t par_t3</div><div class="ttdef"><b>Definition:</b> bme680_defs.h:428</div></div>
<div class="ttc" id="structbme680__gas__sett_html"><div class="ttname"><a href="structbme680__gas__sett.html">bme680_gas_sett</a></div><div class="ttdoc">BME680 gas sensor which comprises of gas settings and status parameters. </div><div class="ttdef"><b>Definition:</b> bme680_defs.h:478</div></div>
<div class="ttc" id="structbme680__calib__data_html_ae37d0c08a01ea1ecf19b82fe4b08f1a8"><div class="ttname"><a href="structbme680__calib__data.html#ae37d0c08a01ea1ecf19b82fe4b08f1a8">bme680_calib_data::res_heat_range</a></div><div class="ttdeci">uint8_t res_heat_range</div><div class="ttdef"><b>Definition:</b> bme680_defs.h:452</div></div>
<div class="ttc" id="structbme680__field__data_html_ae96ceedb9e36dc0671ac533e88160f5b"><div class="ttname"><a href="structbme680__field__data.html#ae96ceedb9e36dc0671ac533e88160f5b">bme680_field_data::gas_index</a></div><div class="ttdeci">uint8_t gas_index</div><div class="ttdef"><b>Definition:</b> bme680_defs.h:386</div></div>
<div class="ttc" id="bme680__defs_8h_html_a2232c03d0c1282e976af41b39e1b87d6"><div class="ttname"><a href="bme680__defs_8h.html#a2232c03d0c1282e976af41b39e1b87d6">bme680_intf</a></div><div class="ttdeci">bme680_intf</div><div class="ttdoc">Interface selection Enumerations. </div><div class="ttdef"><b>Definition:</b> bme680_defs.h:371</div></div>
<div class="ttc" id="structbme680__field__data_html_a6ce58ca03356c0df2e4b02bac6c4ce26"><div class="ttname"><a href="structbme680__field__data.html#a6ce58ca03356c0df2e4b02bac6c4ce26">bme680_field_data::gas_resistance</a></div><div class="ttdeci">uint32_t gas_resistance</div><div class="ttdef"><b>Definition:</b> bme680_defs.h:396</div></div>
<div class="ttc" id="structbme680__calib__data_html_aebe0a4d1259e37c56b57e221add89bd9"><div class="ttname"><a href="structbme680__calib__data.html#aebe0a4d1259e37c56b57e221add89bd9">bme680_calib_data::par_p9</a></div><div class="ttdeci">int16_t par_p9</div><div class="ttdef"><b>Definition:</b> bme680_defs.h:446</div></div>
<div class="ttc" id="structbme680__calib__data_html_a14a76f440f0f9df731057cd511403a29"><div class="ttname"><a href="structbme680__calib__data.html#a14a76f440f0f9df731057cd511403a29">bme680_calib_data::par_h1</a></div><div class="ttdeci">uint16_t par_h1</div><div class="ttdef"><b>Definition:</b> bme680_defs.h:404</div></div>
<div class="ttc" id="structbme680__field__data_html_af52b43f86807c1f1ef7526bbb9584c5b"><div class="ttname"><a href="structbme680__field__data.html#af52b43f86807c1f1ef7526bbb9584c5b">bme680_field_data::status</a></div><div class="ttdeci">uint8_t status</div><div class="ttdef"><b>Definition:</b> bme680_defs.h:384</div></div>
<div class="ttc" id="structbme680__calib__data_html_a8c241a150118622dcab5a1daae8c5893"><div class="ttname"><a href="structbme680__calib__data.html#a8c241a150118622dcab5a1daae8c5893">bme680_calib_data::par_h2</a></div><div class="ttdeci">uint16_t par_h2</div><div class="ttdef"><b>Definition:</b> bme680_defs.h:406</div></div>
<div class="ttc" id="structbme680__calib__data_html_ab9c4601c2e89a776257bbd27f66c9e2c"><div class="ttname"><a href="structbme680__calib__data.html#ab9c4601c2e89a776257bbd27f66c9e2c">bme680_calib_data::par_gh1</a></div><div class="ttdeci">int8_t par_gh1</div><div class="ttdef"><b>Definition:</b> bme680_defs.h:418</div></div>
<div class="ttc" id="structbme680__calib__data_html_a43a808580e91172a5b840210e8a85bf0"><div class="ttname"><a href="structbme680__calib__data.html#a43a808580e91172a5b840210e8a85bf0">bme680_calib_data::par_h3</a></div><div class="ttdeci">int8_t par_h3</div><div class="ttdef"><b>Definition:</b> bme680_defs.h:408</div></div>
<div class="ttc" id="structbme680__dev_html_a5e1e5dad78b9831125c240dde61b13a2"><div class="ttname"><a href="structbme680__dev.html#a5e1e5dad78b9831125c240dde61b13a2">bme680_dev::write</a></div><div class="ttdeci">bme680_com_fptr_t write</div><div class="ttdef"><b>Definition:</b> bme680_defs.h:520</div></div>
<div class="ttc" id="structbme680__calib__data_html_a997a9f626fb184d400c178c84575c01a"><div class="ttname"><a href="structbme680__calib__data.html#a997a9f626fb184d400c178c84575c01a">bme680_calib_data::par_p3</a></div><div class="ttdeci">int8_t par_p3</div><div class="ttdef"><b>Definition:</b> bme680_defs.h:434</div></div>
<div class="ttc" id="structbme680__dev_html_a71b6ddedf9606872d64bc6239b8e5838"><div class="ttname"><a href="structbme680__dev.html#a71b6ddedf9606872d64bc6239b8e5838">bme680_dev::dev_id</a></div><div class="ttdeci">uint8_t dev_id</div><div class="ttdef"><b>Definition:</b> bme680_defs.h:498</div></div>
<div class="ttc" id="structbme680__calib__data_html_ab42378cffea08117ba872e9b7b2e3580"><div class="ttname"><a href="structbme680__calib__data.html#ab42378cffea08117ba872e9b7b2e3580">bme680_calib_data::range_sw_err</a></div><div class="ttdeci">int8_t range_sw_err</div><div class="ttdef"><b>Definition:</b> bme680_defs.h:456</div></div>
<div class="ttc" id="structbme680__gas__sett_html_ac740d0456aafd8e5ac2cd7656260a527"><div class="ttname"><a href="structbme680__gas__sett.html#ac740d0456aafd8e5ac2cd7656260a527">bme680_gas_sett::heatr_dur</a></div><div class="ttdeci">uint16_t heatr_dur</div><div class="ttdef"><b>Definition:</b> bme680_defs.h:488</div></div>
<div class="ttc" id="structbme680__tph__sett_html_a12b21e2faba6c4e235f14070e9a9bb3e"><div class="ttname"><a href="structbme680__tph__sett.html#a12b21e2faba6c4e235f14070e9a9bb3e">bme680_tph_sett::os_hum</a></div><div class="ttdeci">uint8_t os_hum</div><div class="ttdef"><b>Definition:</b> bme680_defs.h:465</div></div>
<div class="ttc" id="structbme680__calib__data_html_adf1614f15852812b5a4346d75f9d37f4"><div class="ttname"><a href="structbme680__calib__data.html#adf1614f15852812b5a4346d75f9d37f4">bme680_calib_data::par_p5</a></div><div class="ttdeci">int16_t par_p5</div><div class="ttdef"><b>Definition:</b> bme680_defs.h:438</div></div>
<div class="ttc" id="structbme680__calib__data_html_a5ba9c77d416227faae07642a7537788f"><div class="ttname"><a href="structbme680__calib__data.html#a5ba9c77d416227faae07642a7537788f">bme680_calib_data::par_t2</a></div><div class="ttdeci">int16_t par_t2</div><div class="ttdef"><b>Definition:</b> bme680_defs.h:426</div></div>
<div class="ttc" id="bme680__defs_8h_html_a2232c03d0c1282e976af41b39e1b87d6a504bd691a4b57b0c914cc8c77bd696c3"><div class="ttname"><a href="bme680__defs_8h.html#a2232c03d0c1282e976af41b39e1b87d6a504bd691a4b57b0c914cc8c77bd696c3">BME680_SPI_INTF</a></div><div class="ttdef"><b>Definition:</b> bme680_defs.h:373</div></div>
<div class="ttc" id="structbme680__calib__data_html"><div class="ttname"><a href="structbme680__calib__data.html">bme680_calib_data</a></div><div class="ttdoc">Structure to hold the Calibration data. </div><div class="ttdef"><b>Definition:</b> bme680_defs.h:402</div></div>
<div class="ttc" id="structbme680__dev_html_a3698643172429ac7a5d9fd8d7a37c283"><div class="ttname"><a href="structbme680__dev.html#a3698643172429ac7a5d9fd8d7a37c283">bme680_dev::chip_id</a></div><div class="ttdeci">uint8_t chip_id</div><div class="ttdef"><b>Definition:</b> bme680_defs.h:496</div></div>
<div class="ttc" id="structbme680__field__data_html_af92dbc060536ac0cd546a1f402fcecb4"><div class="ttname"><a href="structbme680__field__data.html#af92dbc060536ac0cd546a1f402fcecb4">bme680_field_data::pressure</a></div><div class="ttdeci">uint32_t pressure</div><div class="ttdef"><b>Definition:</b> bme680_defs.h:392</div></div>
<div class="ttc" id="structbme680__calib__data_html_a8d73c2a1a2b56bd9530f467f86f02c7a"><div class="ttname"><a href="structbme680__calib__data.html#a8d73c2a1a2b56bd9530f467f86f02c7a">bme680_calib_data::par_h4</a></div><div class="ttdeci">int8_t par_h4</div><div class="ttdef"><b>Definition:</b> bme680_defs.h:410</div></div>
<div class="ttc" id="structbme680__dev_html_aa36aaa5af7488e1a9dce5b8b834b1956"><div class="ttname"><a href="structbme680__dev.html#aa36aaa5af7488e1a9dce5b8b834b1956">bme680_dev::read</a></div><div class="ttdeci">bme680_com_fptr_t read</div><div class="ttdef"><b>Definition:</b> bme680_defs.h:518</div></div>
<div class="ttc" id="structbme680__field__data_html"><div class="ttname"><a href="structbme680__field__data.html">bme680_field_data</a></div><div class="ttdoc">Sensor field data structure. </div><div class="ttdef"><b>Definition:</b> bme680_defs.h:382</div></div>
<div class="ttc" id="structbme680__calib__data_html_a97ee906971dca54be2deada4ede4664b"><div class="ttname"><a href="structbme680__calib__data.html#a97ee906971dca54be2deada4ede4664b">bme680_calib_data::par_p2</a></div><div class="ttdeci">int16_t par_p2</div><div class="ttdef"><b>Definition:</b> bme680_defs.h:432</div></div>
<div class="ttc" id="structbme680__dev_html_ae9b2a0368dcafa1a6ea9e4e3ae84c77b"><div class="ttname"><a href="structbme680__dev.html#ae9b2a0368dcafa1a6ea9e4e3ae84c77b">bme680_dev::amb_temp</a></div><div class="ttdeci">int8_t amb_temp</div><div class="ttdef"><b>Definition:</b> bme680_defs.h:504</div></div>
<div class="ttc" id="structbme680__tph__sett_html"><div class="ttname"><a href="structbme680__tph__sett.html">bme680_tph_sett</a></div><div class="ttdoc">BME680 sensor settings structure which comprises of ODR, over-sampling and filter settings...</div><div class="ttdef"><b>Definition:</b> bme680_defs.h:463</div></div>
<div class="ttc" id="structbme680__calib__data_html_aac7cb7d36376532cd4a39aa5ddfe68c0"><div class="ttname"><a href="structbme680__calib__data.html#aac7cb7d36376532cd4a39aa5ddfe68c0">bme680_calib_data::par_p1</a></div><div class="ttdeci">uint16_t par_p1</div><div class="ttdef"><b>Definition:</b> bme680_defs.h:430</div></div>
<div class="ttc" id="structbme680__dev_html"><div class="ttname"><a href="structbme680__dev.html">bme680_dev</a></div><div class="ttdoc">BME680 device structure. </div><div class="ttdef"><b>Definition:</b> bme680_defs.h:494</div></div>
<div class="ttc" id="structbme680__gas__sett_html_a01ce898d2f312f59dd4bda78d7abe951"><div class="ttname"><a href="structbme680__gas__sett.html#a01ce898d2f312f59dd4bda78d7abe951">bme680_gas_sett::run_gas</a></div><div class="ttdeci">uint8_t run_gas</div><div class="ttdef"><b>Definition:</b> bme680_defs.h:484</div></div>
<div class="ttc" id="structbme680__calib__data_html_a4e75e3ba3a52bda30daffc6c0e242c03"><div class="ttname"><a href="structbme680__calib__data.html#a4e75e3ba3a52bda30daffc6c0e242c03">bme680_calib_data::par_p8</a></div><div class="ttdeci">int16_t par_p8</div><div class="ttdef"><b>Definition:</b> bme680_defs.h:444</div></div>
<div class="ttc" id="structbme680__dev_html_a9baa012a046e51257ced31c2af0b01e5"><div class="ttname"><a href="structbme680__dev.html#a9baa012a046e51257ced31c2af0b01e5">bme680_dev::com_rslt</a></div><div class="ttdeci">int8_t com_rslt</div><div class="ttdef"><b>Definition:</b> bme680_defs.h:524</div></div>
<div class="ttc" id="structbme680__calib__data_html_aa5757dfc40816cf3c8e29e2aeb4a521a"><div class="ttname"><a href="structbme680__calib__data.html#aa5757dfc40816cf3c8e29e2aeb4a521a">bme680_calib_data::par_p4</a></div><div class="ttdeci">int16_t par_p4</div><div class="ttdef"><b>Definition:</b> bme680_defs.h:436</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>