This is an automated email from the ASF dual-hosted git repository. github-bot pushed a commit to branch asf-site in repository https://gitbox.apache.org/repos/asf/nuttx-website.git
The following commit(s) were added to refs/heads/asf-site by this push: new 9f536217d1 Publishing web: c9485a98e52c59e17f5874dcfcda910d849854c2 docs: abcbb1eebd2c7186e2f0e5683eec490b905b49c0 9f536217d1 is described below commit 9f536217d1463d9dda49a707011daa23d49c9d97 Author: Alin Jerpelea <alin.jerpe...@sony.com> AuthorDate: Wed Jan 29 00:27:06 2025 +0000 Publishing web: c9485a98e52c59e17f5874dcfcda910d849854c2 docs: abcbb1eebd2c7186e2f0e5683eec490b905b49c0 --- content/docs/10.0.0/index.html | 2 +- content/docs/10.0.1/index.html | 2 +- content/docs/10.1.0/index.html | 2 +- content/docs/10.2.0/index.html | 2 +- content/docs/10.3.0/index.html | 2 +- content/docs/11.0.0/index.html | 2 +- content/docs/12.0.0/index.html | 2 +- content/docs/12.0.0/searchindex.js | 2 +- content/docs/12.1.0/index.html | 2 +- content/docs/12.1.0/searchindex.js | 2 +- content/docs/12.2.0/index.html | 2 +- content/docs/12.2.0/searchindex.js | 2 +- content/docs/12.2.1/index.html | 2 +- content/docs/12.2.1/searchindex.js | 2 +- content/docs/12.3.0/index.html | 2 +- content/docs/12.3.0/searchindex.js | 2 +- content/docs/12.4.0/index.html | 2 +- content/docs/12.4.0/searchindex.js | 2 +- content/docs/12.5.0/index.html | 2 +- content/docs/12.5.0/searchindex.js | 2 +- content/docs/12.5.1/index.html | 2 +- content/docs/12.5.1/searchindex.js | 2 +- content/docs/12.6.0/index.html | 2 +- content/docs/12.6.0/searchindex.js | 2 +- content/docs/12.7.0/index.html | 2 +- content/docs/12.7.0/searchindex.js | 2 +- content/docs/12.8.0/index.html | 2 +- content/docs/12.8.0/searchindex.js | 2 +- .../components/drivers/special/sensors.rst.txt | 1 + .../drivers/special/sensors/lis2mdl.rst.txt | 163 +++++++++++++++++++ .../drivers/special/sensors/sensors_legacy.rst.txt | 1 - .../drivers/special/sensors/sensors_uorb.rst.txt | 2 + .../latest/components/drivers/special/segger.html | 4 +- .../latest/components/drivers/special/sensors.html | 1 + .../drivers/special/sensors/adt7320.html | 1 + .../drivers/special/sensors/adxl345.html | 1 + .../drivers/special/sensors/adxl362.html | 1 + .../drivers/special/sensors/adxl372.html | 1 + .../components/drivers/special/sensors/aht10.html | 1 + .../drivers/special/sensors/ak09912.html | 1 + .../special/sensors/{sht4x.html => lis2mdl.html} | 172 ++++++++++++++------- .../components/drivers/special/sensors/lsm330.html | 1 + .../drivers/special/sensors/mcp9600.html | 1 + .../drivers/special/sensors/mpl115a.html | 1 + .../drivers/special/sensors/sensors_cluster.html | 1 + .../drivers/special/sensors/sensors_legacy.html | 2 +- .../drivers/special/sensors/sensors_uorb.html | 3 + .../components/drivers/special/sensors/sht4x.html | 5 +- content/docs/latest/index.html | 2 +- content/docs/latest/objects.inv | Bin 137373 -> 137533 bytes content/docs/latest/searchindex.js | 2 +- content/feed.xml | 4 +- 52 files changed, 335 insertions(+), 93 deletions(-) diff --git a/content/docs/10.0.0/index.html b/content/docs/10.0.0/index.html index ad8c06f401..b8ca22a9bb 100644 --- a/content/docs/10.0.0/index.html +++ b/content/docs/10.0.0/index.html @@ -207,7 +207,7 @@ by following these <a class="reference internal" href="contributing/documentatio <div class="section" id="nuttx-documentation"> <h1>NuttX Documentation<a class="headerlink" href="#nuttx-documentation" title="Permalink to this headline">¶</a></h1> <p>NuttX is a real-time operating system (RTOS) with an emphasis on standards compliance and small footprint. Scalable from 8-bit to 32-bit microcontroller environments, the primary governing standards in NuttX are Posix and ANSI standards. Additional standard APIs from Unix and other common RTOS’s (such as VxWorks) are adopted for functionality not available under these standards, or for functionality that is not appropriate for deeply-embedded environments (such as fork()).</p> -<p>Last Updated: 28 January 25 at 00:12</p> +<p>Last Updated: 29 January 25 at 00:12</p> <div class="toctree-wrapper compound"> <p class="caption"><span class="caption-text">Table of Contents</span></p> <ul class="current"> diff --git a/content/docs/10.0.1/index.html b/content/docs/10.0.1/index.html index a66099f95e..cb780e1b7f 100644 --- a/content/docs/10.0.1/index.html +++ b/content/docs/10.0.1/index.html @@ -241,7 +241,7 @@ by following these <a class="reference internal" href="contributing/documentatio <div class="section" id="nuttx-documentation"> <h1>NuttX Documentation<a class="headerlink" href="#nuttx-documentation" title="Permalink to this headline">¶</a></h1> <p>NuttX is a real-time operating system (RTOS) with an emphasis on standards compliance and small footprint. Scalable from 8-bit to 32-bit microcontroller environments, the primary governing standards in NuttX are Posix and ANSI standards. Additional standard APIs from Unix and other common RTOS’s (such as VxWorks) are adopted for functionality not available under these standards, or for functionality that is not appropriate for deeply-embedded environments (such as fork()).</p> -<p>Last Updated: 28 January 25 at 00:13</p> +<p>Last Updated: 29 January 25 at 00:13</p> <div class="toctree-wrapper compound"> <p class="caption"><span class="caption-text">Table of Contents</span></p> <ul class="current"> diff --git a/content/docs/10.1.0/index.html b/content/docs/10.1.0/index.html index bfc6e5b485..777003e312 100644 --- a/content/docs/10.1.0/index.html +++ b/content/docs/10.1.0/index.html @@ -241,7 +241,7 @@ by following these <a class="reference internal" href="contributing/documentatio <div class="section" id="nuttx-documentation"> <h1>NuttX Documentation<a class="headerlink" href="#nuttx-documentation" title="Permalink to this headline">¶</a></h1> <p>NuttX is a real-time operating system (RTOS) with an emphasis on standards compliance and small footprint. Scalable from 8-bit to 64-bit microcontroller environments, the primary governing standards in NuttX are POSIX and ANSI standards. Additional standard APIs from Unix and other common RTOS’s (such as VxWorks) are adopted for functionality not available under these standards, or for functionality that is not appropriate for deeply-embedded environments (such as fork()).</p> -<p>Last Updated: 28 January 25 at 00:13</p> +<p>Last Updated: 29 January 25 at 00:13</p> <div class="toctree-wrapper compound"> <p class="caption"><span class="caption-text">Table of Contents</span></p> <ul class="current"> diff --git a/content/docs/10.2.0/index.html b/content/docs/10.2.0/index.html index dbb90ab954..d4dee62b8c 100644 --- a/content/docs/10.2.0/index.html +++ b/content/docs/10.2.0/index.html @@ -242,7 +242,7 @@ by following these <a class="reference internal" href="contributing/documentatio <div class="section" id="nuttx-documentation"> <h1>NuttX Documentation<a class="headerlink" href="#nuttx-documentation" title="Permalink to this headline">¶</a></h1> <p>NuttX is a real-time operating system (RTOS) with an emphasis on standards compliance and small footprint. Scalable from 8-bit to 64-bit microcontroller environments, the primary governing standards in NuttX are POSIX and ANSI standards. Additional standard APIs from Unix and other common RTOS’s (such as VxWorks) are adopted for functionality not available under these standards, or for functionality that is not appropriate for deeply-embedded environments (such as fork()).</p> -<p>Last Updated: 28 January 25 at 00:13</p> +<p>Last Updated: 29 January 25 at 00:13</p> <div class="toctree-wrapper compound"> <p class="caption"><span class="caption-text">Table of Contents</span></p> <ul class="current"> diff --git a/content/docs/10.3.0/index.html b/content/docs/10.3.0/index.html index e580fc2025..d4dee62b8c 100644 --- a/content/docs/10.3.0/index.html +++ b/content/docs/10.3.0/index.html @@ -242,7 +242,7 @@ by following these <a class="reference internal" href="contributing/documentatio <div class="section" id="nuttx-documentation"> <h1>NuttX Documentation<a class="headerlink" href="#nuttx-documentation" title="Permalink to this headline">¶</a></h1> <p>NuttX is a real-time operating system (RTOS) with an emphasis on standards compliance and small footprint. Scalable from 8-bit to 64-bit microcontroller environments, the primary governing standards in NuttX are POSIX and ANSI standards. Additional standard APIs from Unix and other common RTOS’s (such as VxWorks) are adopted for functionality not available under these standards, or for functionality that is not appropriate for deeply-embedded environments (such as fork()).</p> -<p>Last Updated: 28 January 25 at 00:14</p> +<p>Last Updated: 29 January 25 at 00:13</p> <div class="toctree-wrapper compound"> <p class="caption"><span class="caption-text">Table of Contents</span></p> <ul class="current"> diff --git a/content/docs/11.0.0/index.html b/content/docs/11.0.0/index.html index e580fc2025..dfb8838c8e 100644 --- a/content/docs/11.0.0/index.html +++ b/content/docs/11.0.0/index.html @@ -242,7 +242,7 @@ by following these <a class="reference internal" href="contributing/documentatio <div class="section" id="nuttx-documentation"> <h1>NuttX Documentation<a class="headerlink" href="#nuttx-documentation" title="Permalink to this headline">¶</a></h1> <p>NuttX is a real-time operating system (RTOS) with an emphasis on standards compliance and small footprint. Scalable from 8-bit to 64-bit microcontroller environments, the primary governing standards in NuttX are POSIX and ANSI standards. Additional standard APIs from Unix and other common RTOS’s (such as VxWorks) are adopted for functionality not available under these standards, or for functionality that is not appropriate for deeply-embedded environments (such as fork()).</p> -<p>Last Updated: 28 January 25 at 00:14</p> +<p>Last Updated: 29 January 25 at 00:14</p> <div class="toctree-wrapper compound"> <p class="caption"><span class="caption-text">Table of Contents</span></p> <ul class="current"> diff --git a/content/docs/12.0.0/index.html b/content/docs/12.0.0/index.html index 71bf30ca40..315fb557dc 100644 --- a/content/docs/12.0.0/index.html +++ b/content/docs/12.0.0/index.html @@ -167,7 +167,7 @@ by following these <a class="reference internal" href="contributing/documentatio <section id="nuttx-documentation"> <h1>NuttX Documentation<a class="headerlink" href="#nuttx-documentation" title="Permalink to this headline"></a></h1> <p>NuttX is a real-time operating system (RTOS) with an emphasis on standards compliance and small footprint. Scalable from 8-bit to 64-bit microcontroller environments, the primary governing standards in NuttX are POSIX and ANSI standards. Additional standard APIs from Unix and other common RTOS’s (such as VxWorks) are adopted for functionality not available under these standards, or for functionality that is not appropriate for deeply-embedded environments (such as fork()).</p> -<p>Last Updated: 28 January 25 at 00:14</p> +<p>Last Updated: 29 January 25 at 00:14</p> <div class="toctree-wrapper compound"> <p class="caption" role="heading"><span class="caption-text">Table of Contents</span></p> <ul class="current"> diff --git a/content/docs/12.0.0/searchindex.js b/content/docs/12.0.0/searchindex.js index ccc9445983..cbe32b2505 100644 --- a/content/docs/12.0.0/searchindex.js +++ b/content/docs/12.0.0/searchindex.js @@ -1 +1 @@ -Search.setIndex({docnames:["applications/index","applications/nsh/builtin","applications/nsh/commands","applications/nsh/config","applications/nsh/customizing","applications/nsh/index","applications/nsh/installation","applications/nsh/login","applications/nsh/nsh","components/binfmt","components/drivers/block/index","components/drivers/character/analog","components/drivers/character/can","components/drivers/character/foc","components/drivers/character/index","components/drivers/character [...] \ No newline at end of file +Search.setIndex({docnames:["applications/index","applications/nsh/builtin","applications/nsh/commands","applications/nsh/config","applications/nsh/customizing","applications/nsh/index","applications/nsh/installation","applications/nsh/login","applications/nsh/nsh","components/binfmt","components/drivers/block/index","components/drivers/character/analog","components/drivers/character/can","components/drivers/character/foc","components/drivers/character/index","components/drivers/character [...] \ No newline at end of file diff --git a/content/docs/12.1.0/index.html b/content/docs/12.1.0/index.html index e906ba9f47..42d171bf94 100644 --- a/content/docs/12.1.0/index.html +++ b/content/docs/12.1.0/index.html @@ -167,7 +167,7 @@ by following these <a class="reference internal" href="contributing/documentatio <section id="nuttx-documentation"> <h1>NuttX Documentation<a class="headerlink" href="#nuttx-documentation" title="Permalink to this headline"></a></h1> <p>NuttX is a real-time operating system (RTOS) with an emphasis on standards compliance and small footprint. Scalable from 8-bit to 64-bit microcontroller environments, the primary governing standards in NuttX are POSIX and ANSI standards. Additional standard APIs from Unix and other common RTOS’s (such as VxWorks) are adopted for functionality not available under these standards, or for functionality that is not appropriate for deeply-embedded environments (such as fork()).</p> -<p>Last Updated: 28 January 25 at 00:15</p> +<p>Last Updated: 29 January 25 at 00:14</p> <div class="toctree-wrapper compound"> <p class="caption" role="heading"><span class="caption-text">Table of Contents</span></p> <ul class="current"> diff --git a/content/docs/12.1.0/searchindex.js b/content/docs/12.1.0/searchindex.js index 789271083d..e84ea20063 100644 --- a/content/docs/12.1.0/searchindex.js +++ b/content/docs/12.1.0/searchindex.js @@ -1 +1 @@ -Search.setIndex({docnames:["applications/index","applications/nsh/builtin","applications/nsh/commands","applications/nsh/config","applications/nsh/customizing","applications/nsh/index","applications/nsh/installation","applications/nsh/login","applications/nsh/nsh","components/binfmt","components/drivers/block/index","components/drivers/character/analog","components/drivers/character/can","components/drivers/character/foc","components/drivers/character/index","components/drivers/character [...] \ No newline at end of file +Search.setIndex({docnames:["applications/index","applications/nsh/builtin","applications/nsh/commands","applications/nsh/config","applications/nsh/customizing","applications/nsh/index","applications/nsh/installation","applications/nsh/login","applications/nsh/nsh","components/binfmt","components/drivers/block/index","components/drivers/character/analog","components/drivers/character/can","components/drivers/character/foc","components/drivers/character/index","components/drivers/character [...] \ No newline at end of file diff --git a/content/docs/12.2.0/index.html b/content/docs/12.2.0/index.html index 49d730bb63..a8d93014a4 100644 --- a/content/docs/12.2.0/index.html +++ b/content/docs/12.2.0/index.html @@ -168,7 +168,7 @@ by following these <a class="reference internal" href="contributing/documentatio <section id="nuttx-documentation"> <h1>NuttX Documentation<a class="headerlink" href="#nuttx-documentation" title="Permalink to this heading"></a></h1> <p>NuttX is a real-time operating system (RTOS) with an emphasis on standards compliance and small footprint. Scalable from 8-bit to 64-bit microcontroller environments, the primary governing standards in NuttX are POSIX and ANSI standards. Additional standard APIs from Unix and other common RTOS’s (such as VxWorks) are adopted for functionality not available under these standards, or for functionality that is not appropriate for deeply-embedded environments (such as fork()).</p> -<p>Last Updated: 28 January 25 at 00:15</p> +<p>Last Updated: 29 January 25 at 00:15</p> <div class="toctree-wrapper compound"> <p class="caption" role="heading"><span class="caption-text">Table of Contents</span></p> <ul class="current"> diff --git a/content/docs/12.2.0/searchindex.js b/content/docs/12.2.0/searchindex.js index 86567fcac5..661cb9b40c 100644 --- a/content/docs/12.2.0/searchindex.js +++ b/content/docs/12.2.0/searchindex.js @@ -1 +1 @@ -Search.setIndex({"docnames": ["applications/index", "applications/nsh/builtin", "applications/nsh/commands", "applications/nsh/config", "applications/nsh/customizing", "applications/nsh/index", "applications/nsh/installation", "applications/nsh/login", "applications/nsh/nsh", "applications/nxdiag/config", "applications/nxdiag/index", "applications/wapi/commands", "applications/wapi/index", "applications/wapi/wireless", "components/binfmt", "components/drivers/block/index", "components/dr [...] \ No newline at end of file +Search.setIndex({"docnames": ["applications/index", "applications/nsh/builtin", "applications/nsh/commands", "applications/nsh/config", "applications/nsh/customizing", "applications/nsh/index", "applications/nsh/installation", "applications/nsh/login", "applications/nsh/nsh", "applications/nxdiag/config", "applications/nxdiag/index", "applications/wapi/commands", "applications/wapi/index", "applications/wapi/wireless", "components/binfmt", "components/drivers/block/index", "components/dr [...] \ No newline at end of file diff --git a/content/docs/12.2.1/index.html b/content/docs/12.2.1/index.html index 49d730bb63..a8d93014a4 100644 --- a/content/docs/12.2.1/index.html +++ b/content/docs/12.2.1/index.html @@ -168,7 +168,7 @@ by following these <a class="reference internal" href="contributing/documentatio <section id="nuttx-documentation"> <h1>NuttX Documentation<a class="headerlink" href="#nuttx-documentation" title="Permalink to this heading"></a></h1> <p>NuttX is a real-time operating system (RTOS) with an emphasis on standards compliance and small footprint. Scalable from 8-bit to 64-bit microcontroller environments, the primary governing standards in NuttX are POSIX and ANSI standards. Additional standard APIs from Unix and other common RTOS’s (such as VxWorks) are adopted for functionality not available under these standards, or for functionality that is not appropriate for deeply-embedded environments (such as fork()).</p> -<p>Last Updated: 28 January 25 at 00:15</p> +<p>Last Updated: 29 January 25 at 00:15</p> <div class="toctree-wrapper compound"> <p class="caption" role="heading"><span class="caption-text">Table of Contents</span></p> <ul class="current"> diff --git a/content/docs/12.2.1/searchindex.js b/content/docs/12.2.1/searchindex.js index 0490cfc8cd..d320bb91f9 100644 --- a/content/docs/12.2.1/searchindex.js +++ b/content/docs/12.2.1/searchindex.js @@ -1 +1 @@ -Search.setIndex({"docnames": ["applications/index", "applications/nsh/builtin", "applications/nsh/commands", "applications/nsh/config", "applications/nsh/customizing", "applications/nsh/index", "applications/nsh/installation", "applications/nsh/login", "applications/nsh/nsh", "applications/nxdiag/config", "applications/nxdiag/index", "applications/wapi/commands", "applications/wapi/index", "applications/wapi/wireless", "components/binfmt", "components/drivers/block/index", "components/dr [...] \ No newline at end of file +Search.setIndex({"docnames": ["applications/index", "applications/nsh/builtin", "applications/nsh/commands", "applications/nsh/config", "applications/nsh/customizing", "applications/nsh/index", "applications/nsh/installation", "applications/nsh/login", "applications/nsh/nsh", "applications/nxdiag/config", "applications/nxdiag/index", "applications/wapi/commands", "applications/wapi/index", "applications/wapi/wireless", "components/binfmt", "components/drivers/block/index", "components/dr [...] \ No newline at end of file diff --git a/content/docs/12.3.0/index.html b/content/docs/12.3.0/index.html index 1afbbcda71..604110a8ba 100644 --- a/content/docs/12.3.0/index.html +++ b/content/docs/12.3.0/index.html @@ -168,7 +168,7 @@ by following these <a class="reference internal" href="contributing/documentatio <section id="nuttx-documentation"> <h1>NuttX Documentation<a class="headerlink" href="#nuttx-documentation" title="Permalink to this heading"></a></h1> <p>NuttX is a real-time operating system (RTOS) with an emphasis on standards compliance and small footprint. Scalable from 8-bit to 64-bit microcontroller environments, the primary governing standards in NuttX are POSIX and ANSI standards. Additional standard APIs from Unix and other common RTOS’s (such as VxWorks) are adopted for functionality not available under these standards, or for functionality that is not appropriate for deeply-embedded environments (such as fork()).</p> -<p>Last Updated: 28 January 25 at 00:16</p> +<p>Last Updated: 29 January 25 at 00:16</p> <div class="toctree-wrapper compound"> <p class="caption" role="heading"><span class="caption-text">Table of Contents</span></p> <ul class="current"> diff --git a/content/docs/12.3.0/searchindex.js b/content/docs/12.3.0/searchindex.js index c39282ac4a..2bc4d95b94 100644 --- a/content/docs/12.3.0/searchindex.js +++ b/content/docs/12.3.0/searchindex.js @@ -1 +1 @@ -Search.setIndex({"docnames": ["applications/index", "applications/nsh/builtin", "applications/nsh/commands", "applications/nsh/config", "applications/nsh/customizing", "applications/nsh/index", "applications/nsh/installation", "applications/nsh/login", "applications/nsh/nsh", "applications/nxdiag/config", "applications/nxdiag/index", "applications/wapi/commands", "applications/wapi/index", "applications/wapi/wireless", "components/binfmt", "components/drivers/block/index", "components/dr [...] \ No newline at end of file +Search.setIndex({"docnames": ["applications/index", "applications/nsh/builtin", "applications/nsh/commands", "applications/nsh/config", "applications/nsh/customizing", "applications/nsh/index", "applications/nsh/installation", "applications/nsh/login", "applications/nsh/nsh", "applications/nxdiag/config", "applications/nxdiag/index", "applications/wapi/commands", "applications/wapi/index", "applications/wapi/wireless", "components/binfmt", "components/drivers/block/index", "components/dr [...] \ No newline at end of file diff --git a/content/docs/12.4.0/index.html b/content/docs/12.4.0/index.html index 36bf7d032c..0fc0405af0 100644 --- a/content/docs/12.4.0/index.html +++ b/content/docs/12.4.0/index.html @@ -175,7 +175,7 @@ standards. Additional standard APIs from Unix and other common RTOS’s (such as VxWorks) are adopted for functionality not available under these standards, or for functionality that is not appropriate for deeply-embedded environments (such as fork()).</p> -<p>Last Updated: 28 January 25 at 00:17</p> +<p>Last Updated: 29 January 25 at 00:16</p> <div class="toctree-wrapper compound"> <p class="caption" role="heading"><span class="caption-text">Table of Contents</span></p> <ul class="current"> diff --git a/content/docs/12.4.0/searchindex.js b/content/docs/12.4.0/searchindex.js index e8cba7057e..c8af72fcb5 100644 --- a/content/docs/12.4.0/searchindex.js +++ b/content/docs/12.4.0/searchindex.js @@ -1 +1 @@ -Search.setIndex({"docnames": ["applications/audioutils/fmsynt/index", "applications/audioutils/index", "applications/audioutils/mml_parser/index", "applications/audioutils/nxaudio/index", "applications/benchmarks/coremark/index", "applications/benchmarks/index", "applications/boot/index", "applications/boot/mcuboot/index", "applications/boot/miniboot/index", "applications/canutils/candump/index", "applications/canutils/canlib/index", "applications/canutils/cansend/index", "applications/c [...] \ No newline at end of file +Search.setIndex({"docnames": ["applications/audioutils/fmsynt/index", "applications/audioutils/index", "applications/audioutils/mml_parser/index", "applications/audioutils/nxaudio/index", "applications/benchmarks/coremark/index", "applications/benchmarks/index", "applications/boot/index", "applications/boot/mcuboot/index", "applications/boot/miniboot/index", "applications/canutils/candump/index", "applications/canutils/canlib/index", "applications/canutils/cansend/index", "applications/c [...] \ No newline at end of file diff --git a/content/docs/12.5.0/index.html b/content/docs/12.5.0/index.html index c3c5989e4e..c149c659f5 100644 --- a/content/docs/12.5.0/index.html +++ b/content/docs/12.5.0/index.html @@ -175,7 +175,7 @@ standards. Additional standard APIs from Unix and other common RTOS’s (such as VxWorks) are adopted for functionality not available under these standards, or for functionality that is not appropriate for deeply-embedded environments (such as fork()).</p> -<p>Last Updated: 28 January 25 at 00:18</p> +<p>Last Updated: 29 January 25 at 00:17</p> <div class="toctree-wrapper compound"> <p class="caption" role="heading"><span class="caption-text">Table of Contents</span></p> <ul class="current"> diff --git a/content/docs/12.5.0/searchindex.js b/content/docs/12.5.0/searchindex.js index 08790e1eab..b4a455d968 100644 --- a/content/docs/12.5.0/searchindex.js +++ b/content/docs/12.5.0/searchindex.js @@ -1 +1 @@ -Search.setIndex({"docnames": ["applications/audioutils/fmsynt/index", "applications/audioutils/index", "applications/audioutils/mml_parser/index", "applications/audioutils/nxaudio/index", "applications/benchmarks/coremark/index", "applications/benchmarks/index", "applications/boot/index", "applications/boot/mcuboot/index", "applications/boot/miniboot/index", "applications/canutils/candump/index", "applications/canutils/canlib/index", "applications/canutils/cansend/index", "applications/c [...] \ No newline at end of file +Search.setIndex({"docnames": ["applications/audioutils/fmsynt/index", "applications/audioutils/index", "applications/audioutils/mml_parser/index", "applications/audioutils/nxaudio/index", "applications/benchmarks/coremark/index", "applications/benchmarks/index", "applications/boot/index", "applications/boot/mcuboot/index", "applications/boot/miniboot/index", "applications/canutils/candump/index", "applications/canutils/canlib/index", "applications/canutils/cansend/index", "applications/c [...] \ No newline at end of file diff --git a/content/docs/12.5.1/index.html b/content/docs/12.5.1/index.html index 8eda1df33d..a382140453 100644 --- a/content/docs/12.5.1/index.html +++ b/content/docs/12.5.1/index.html @@ -175,7 +175,7 @@ standards. Additional standard APIs from Unix and other common RTOS’s (such as VxWorks) are adopted for functionality not available under these standards, or for functionality that is not appropriate for deeply-embedded environments (such as fork()).</p> -<p>Last Updated: 28 January 25 at 00:19</p> +<p>Last Updated: 29 January 25 at 00:19</p> <div class="toctree-wrapper compound"> <p class="caption" role="heading"><span class="caption-text">Table of Contents</span></p> <ul class="current"> diff --git a/content/docs/12.5.1/searchindex.js b/content/docs/12.5.1/searchindex.js index 51c4a2fe5c..307198c078 100644 --- a/content/docs/12.5.1/searchindex.js +++ b/content/docs/12.5.1/searchindex.js @@ -1 +1 @@ -Search.setIndex({"docnames": ["applications/audioutils/fmsynt/index", "applications/audioutils/index", "applications/audioutils/mml_parser/index", "applications/audioutils/nxaudio/index", "applications/benchmarks/coremark/index", "applications/benchmarks/index", "applications/boot/index", "applications/boot/mcuboot/index", "applications/boot/miniboot/index", "applications/canutils/candump/index", "applications/canutils/canlib/index", "applications/canutils/cansend/index", "applications/c [...] \ No newline at end of file +Search.setIndex({"docnames": ["applications/audioutils/fmsynt/index", "applications/audioutils/index", "applications/audioutils/mml_parser/index", "applications/audioutils/nxaudio/index", "applications/benchmarks/coremark/index", "applications/benchmarks/index", "applications/boot/index", "applications/boot/mcuboot/index", "applications/boot/miniboot/index", "applications/canutils/candump/index", "applications/canutils/canlib/index", "applications/canutils/cansend/index", "applications/c [...] \ No newline at end of file diff --git a/content/docs/12.6.0/index.html b/content/docs/12.6.0/index.html index 1c8d12480d..bee2b56468 100644 --- a/content/docs/12.6.0/index.html +++ b/content/docs/12.6.0/index.html @@ -176,7 +176,7 @@ standards. Additional standard APIs from Unix and other common RTOS’s (such as VxWorks) are adopted for functionality not available under these standards, or for functionality that is not appropriate for deeply-embedded environments (such as fork()).</p> -<p>Last Updated: 28 January 25 at 00:21</p> +<p>Last Updated: 29 January 25 at 00:20</p> <div class="toctree-wrapper compound"> <p class="caption" role="heading"><span class="caption-text">Table of Contents</span></p> <ul class="current"> diff --git a/content/docs/12.6.0/searchindex.js b/content/docs/12.6.0/searchindex.js index 79518aa15a..b18ef42121 100644 --- a/content/docs/12.6.0/searchindex.js +++ b/content/docs/12.6.0/searchindex.js @@ -1 +1 @@ -Search.setIndex({"docnames": ["applications/audioutils/fmsynt/index", "applications/audioutils/index", "applications/audioutils/mml_parser/index", "applications/audioutils/nxaudio/index", "applications/benchmarks/cachespeed/index", "applications/benchmarks/coremark-pro/index", "applications/benchmarks/coremark/index", "applications/benchmarks/dhrystone/index", "applications/benchmarks/fio/index", "applications/benchmarks/index", "applications/benchmarks/iozone/index", "applications/bench [...] \ No newline at end of file +Search.setIndex({"docnames": ["applications/audioutils/fmsynt/index", "applications/audioutils/index", "applications/audioutils/mml_parser/index", "applications/audioutils/nxaudio/index", "applications/benchmarks/cachespeed/index", "applications/benchmarks/coremark-pro/index", "applications/benchmarks/coremark/index", "applications/benchmarks/dhrystone/index", "applications/benchmarks/fio/index", "applications/benchmarks/index", "applications/benchmarks/iozone/index", "applications/bench [...] \ No newline at end of file diff --git a/content/docs/12.7.0/index.html b/content/docs/12.7.0/index.html index d55fc9f6d7..9af16e6753 100644 --- a/content/docs/12.7.0/index.html +++ b/content/docs/12.7.0/index.html @@ -175,7 +175,7 @@ standards. Additional standard APIs from Unix and other common RTOS’s (such as VxWorks) are adopted for functionality not available under these standards, or for functionality that is not appropriate for deeply-embedded environments (such as fork()).</p> -<p>Last Updated: 28 January 25 at 00:22</p> +<p>Last Updated: 29 January 25 at 00:22</p> <div class="toctree-wrapper compound"> <p class="caption" role="heading"><span class="caption-text">Table of Contents</span></p> <ul class="current"> diff --git a/content/docs/12.7.0/searchindex.js b/content/docs/12.7.0/searchindex.js index ee15351814..6ea4ac59bf 100644 --- a/content/docs/12.7.0/searchindex.js +++ b/content/docs/12.7.0/searchindex.js @@ -1 +1 @@ -Search.setIndex({"docnames": ["applications/audioutils/fmsynt/index", "applications/audioutils/index", "applications/audioutils/mml_parser/index", "applications/audioutils/nxaudio/index", "applications/benchmarks/cachespeed/index", "applications/benchmarks/coremark-pro/index", "applications/benchmarks/coremark/index", "applications/benchmarks/dhrystone/index", "applications/benchmarks/fio/index", "applications/benchmarks/index", "applications/benchmarks/iozone/index", "applications/bench [...] \ No newline at end of file +Search.setIndex({"docnames": ["applications/audioutils/fmsynt/index", "applications/audioutils/index", "applications/audioutils/mml_parser/index", "applications/audioutils/nxaudio/index", "applications/benchmarks/cachespeed/index", "applications/benchmarks/coremark-pro/index", "applications/benchmarks/coremark/index", "applications/benchmarks/dhrystone/index", "applications/benchmarks/fio/index", "applications/benchmarks/index", "applications/benchmarks/iozone/index", "applications/bench [...] \ No newline at end of file diff --git a/content/docs/12.8.0/index.html b/content/docs/12.8.0/index.html index cbd781b200..a2355a27c7 100644 --- a/content/docs/12.8.0/index.html +++ b/content/docs/12.8.0/index.html @@ -175,7 +175,7 @@ standards. Additional standard APIs from Unix and other common RTOS’s (such as VxWorks) are adopted for functionality not available under these standards, or for functionality that is not appropriate for deeply-embedded environments (such as fork()).</p> -<p>Last Updated: 28 January 25 at 00:24</p> +<p>Last Updated: 29 January 25 at 00:23</p> <div class="toctree-wrapper compound"> <p class="caption" role="heading"><span class="caption-text">Table of Contents</span></p> <ul class="current"> diff --git a/content/docs/12.8.0/searchindex.js b/content/docs/12.8.0/searchindex.js index 37dd2ad7d4..d3ca853aff 100644 --- a/content/docs/12.8.0/searchindex.js +++ b/content/docs/12.8.0/searchindex.js @@ -1 +1 @@ -Search.setIndex({"docnames": ["applications/audioutils/fmsynt/index", "applications/audioutils/index", "applications/audioutils/mml_parser/index", "applications/audioutils/nxaudio/index", "applications/benchmarks/cachespeed/index", "applications/benchmarks/coremark-pro/index", "applications/benchmarks/coremark/index", "applications/benchmarks/dhrystone/index", "applications/benchmarks/fio/index", "applications/benchmarks/index", "applications/benchmarks/iozone/index", "applications/bench [...] \ No newline at end of file +Search.setIndex({"docnames": ["applications/audioutils/fmsynt/index", "applications/audioutils/index", "applications/audioutils/mml_parser/index", "applications/audioutils/nxaudio/index", "applications/benchmarks/cachespeed/index", "applications/benchmarks/coremark-pro/index", "applications/benchmarks/coremark/index", "applications/benchmarks/dhrystone/index", "applications/benchmarks/fio/index", "applications/benchmarks/index", "applications/benchmarks/iozone/index", "applications/bench [...] \ No newline at end of file diff --git a/content/docs/latest/_sources/components/drivers/special/sensors.rst.txt b/content/docs/latest/_sources/components/drivers/special/sensors.rst.txt index 6891bebec2..b19e516072 100644 --- a/content/docs/latest/_sources/components/drivers/special/sensors.rst.txt +++ b/content/docs/latest/_sources/components/drivers/special/sensors.rst.txt @@ -30,3 +30,4 @@ general interafce. sensors/mcp9600.rst sensors/mpl115a.rst sensors/sht4x.rst + sensors/lis2mdl.rst diff --git a/content/docs/latest/_sources/components/drivers/special/sensors/lis2mdl.rst.txt b/content/docs/latest/_sources/components/drivers/special/sensors/lis2mdl.rst.txt new file mode 100644 index 0000000000..48a85c8511 --- /dev/null +++ b/content/docs/latest/_sources/components/drivers/special/sensors/lis2mdl.rst.txt @@ -0,0 +1,163 @@ +======= +LIS2MDL +======= + +Contributed by Matteo Golin. + +The LIS2MDL is a low power, high-performance 3-axis magnetometer by ST +Microelectronics. It has I2C and SPI interfaces, although this driver currently +only supports I2C. + +The driver uses the :doc:`uorb +</components/drivers/special/sensors/sensors_uorb>` interface. It supports the +self-test capability + +Application Programming Interface +================================= + +.. code-block:: c + + #include <nuttx/sensors/lis2mdl.h> + +The LIS2MDL registration function allows the driver to be registered as a UORB +driver. Registering this driver will cause the ``/dev/uorb/sensor_mag<n>`` topic +to appear, where ``n`` is the value of ``devno``. + +The driver can be registered either in polling mode or in interrupt-driven mode. +The polling mode will create a kernel thread to poll the sensor periodically +according to the set interval. Polling mode is registered with ``NULL`` instead +of a real function pointer to the ``attach`` parameter, like so: + +.. code-block:: c + + int err; + + /* Creates /dev/uorb/mag0 in polled mode */ + + err = lis2mdl_register(i2c_master, 0, 0x1e, NULL); + if (err < 0) + { + syslog(LOG_ERR, "Could not register LIS2MDL driver at 0x1E: %d\n", err); + } + +To register in interrupt-driven mode, a function must be provided by the +calling code to register the LIS2MDL interrupt handler properly. This function +should take the interrupt handler and ``arg`` reference as arguments, and return +0 on success or a negated error code on failure. This function must also enable +the interrupt after it is registered successfully. + +.. warning:: + To use interrupt-driven mode, ``CONFIG_SCHED_HPWORK`` must be enabled. + +The example below shows the example process for an RP2040 based board, but it +will be similar on other architectures: + +.. code-block:: c + + /* IRQ attach function example for RP2040 board */ + + static int board_lis2mdl_attach(xcpt_t handler, FAR void *arg) + { + int err; + err = rp2040_gpio_irq_attach(GPIO_MAG_INT, RP2040_GPIO_INTR_EDGE_HIGH, + handler, arg); + if (err < 0) + { + return err; + } + + rp2040_gpio_enable_irq(GPIO_MAG_INT); + return err; + } + + /* Later, in the board bringup code ... */ + + int err; + err = lis2mdl_register(i2c_master, 0, 0x1e, board_lis2mdl_attach); + if (err < 0) + { + syslog(LOG_ERR, "Couldn't register LIS2MDL driver: %d\n", err); + } + +To debug this device, you can include the ``uorb_listener`` in your build with +debugging enabled. Running it will show the sensor measurements. + +.. warning:: + By default, when the sensor is deactivated via the UORB interface, it is put + into low power mode and set to idle. When it is reactivated, it is put in + high resolution mode and set to continuous measurement. If you want to + measure continuously in low power mode, you will need to use the + ``SNIOC_SET_POWER_MODE`` command explained below. + +The ``set_calibvalue`` interface to this sensor takes an array of three `float` +types, representing hard-iron offsets in micro Teslas. This offset is set on the +sensor and is subtracted from measurements to compensate for environmental +effects. + +Some additional control commands for the LIS2MDL are listed below. + +``SNIOC_WHO_AM_I`` +------------------ + +This command reads the ``WHOAMI`` register of the LIS2MDL. This should always +return ``0x40``. The argument is a pointer to an 8-bit unsigned integer. + +.. code-block:: c + + uint8_t id; /* Should always contain 0x40 */ + err = orb_ioctl(sensor, SNIOC_WHO_AM_I, &id); + +``SNIOC_SET_POWER_MODE`` +------------------------ + +This command selects the power mode of the LIS2MDL sensor. An argument of +``true`` puts the sensor in low power mode, and ``false`` puts the sensor into +high resolution mode. + +.. code-block:: c + + /* Puts LIS2MDL into low power mode */ + err = orb_ioctl(sensor, SNIOC_WHO_AM_I, true); + +``SNIOC_RESET`` +---------------- + +Performs a soft reset of the LIS2MDL, which resets the user registers. This +command takes no arguments. Once this command is issue, 5 microseconds must pass +before the sensor is operational again. + +.. code-block:: c + + err = orb_ioctl(sensor, SNIOC_RESET, NULL); + +``SNIOC_SENSOR_OFF`` +-------------------- + +Performs a reboot of the LIS2MDL's memory contents. This command takes no +arguments. After the command is issued, 20ms must pass before the sensor is +operational again. + +.. code-block:: c + + err = orb_ioctl(sensor, SNIOC_SENSOR_OFF, NULL); + +``SNIOC_SET_TEMP_OFFSET`` +-------------------------- + +Enables or disables temperature compensation on the magnetometer. A arg of +``true`` enables compensation, ``false`` disables it. By default this is +enabled. + +.. code-block:: c + + err = orb_ioctl(sensor, SNIOC_SET_TEMP_OFFSET, true); + +``SNIOC_LPF`` +------------- + +Enables or disables the magnetometer low pass filter. A arg of ``true`` enables +the filter, ``false`` disables it. By default this is disabled. + +.. code-block:: c + + err = orb_ioctl(sensor, SNIOC_LPF, true); diff --git a/content/docs/latest/_sources/components/drivers/special/sensors/sensors_legacy.rst.txt b/content/docs/latest/_sources/components/drivers/special/sensors/sensors_legacy.rst.txt index f578fbe11a..a64a8e9faa 100644 --- a/content/docs/latest/_sources/components/drivers/special/sensors/sensors_legacy.rst.txt +++ b/content/docs/latest/_sources/components/drivers/special/sensors/sensors_legacy.rst.txt @@ -72,7 +72,6 @@ Drivers that are available also with the new sensor framework are marked with `` - sgp30 - sht21 - sht3x -- :doc:`sht4x` - sps30 - t67xx - veml6070 diff --git a/content/docs/latest/_sources/components/drivers/special/sensors/sensors_uorb.rst.txt b/content/docs/latest/_sources/components/drivers/special/sensors/sensors_uorb.rst.txt index 01006c8ddd..7f470548a1 100644 --- a/content/docs/latest/_sources/components/drivers/special/sensors/sensors_uorb.rst.txt +++ b/content/docs/latest/_sources/components/drivers/special/sensors/sensors_uorb.rst.txt @@ -484,8 +484,10 @@ Implemented Drivers - goldfish_sensor - hyt271 - l3gd20 +- :doc:`lis2mdl` - lsm9ds1 - ltr308 - mpu9250 - ms56xx +- :doc:`sht4x` - wtgahrs2 diff --git a/content/docs/latest/components/drivers/special/segger.html b/content/docs/latest/components/drivers/special/segger.html index 50b7e07240..d58aff3512 100644 --- a/content/docs/latest/components/drivers/special/segger.html +++ b/content/docs/latest/components/drivers/special/segger.html @@ -44,7 +44,7 @@ <link rel="index" title="Index" href="../../../genindex.html" /> <link rel="search" title="Search" href="../../../search.html" /> <link rel="next" title="SPI Device Drivers" href="spi.html" /> - <link rel="prev" title="SHT4X" href="sensors/sht4x.html" /> + <link rel="prev" title="LIS2MDL" href="sensors/lis2mdl.html" /> </head> <body class="wy-body-for-nav"> @@ -294,7 +294,7 @@ Make sure that <code class="docutils literal notranslate"><span class="pre">CONF </div> </div> <footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer"> - <a href="sensors/sht4x.html" class="btn btn-neutral float-left" title="SHT4X" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a> + <a href="sensors/lis2mdl.html" class="btn btn-neutral float-left" title="LIS2MDL" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a> <a href="spi.html" class="btn btn-neutral float-right" title="SPI Device Drivers" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a> </div> diff --git a/content/docs/latest/components/drivers/special/sensors.html b/content/docs/latest/components/drivers/special/sensors.html index 083fc702a4..fd169a4a90 100644 --- a/content/docs/latest/components/drivers/special/sensors.html +++ b/content/docs/latest/components/drivers/special/sensors.html @@ -157,6 +157,7 @@ <li class="toctree-l5"><a class="reference internal" href="sensors/mcp9600.html">MCP9600</a></li> <li class="toctree-l5"><a class="reference internal" href="sensors/mpl115a.html">MPL115A</a></li> <li class="toctree-l5"><a class="reference internal" href="sensors/sht4x.html">SHT4X</a></li> +<li class="toctree-l5"><a class="reference internal" href="sensors/lis2mdl.html">LIS2MDL</a></li> </ul> </li> <li class="toctree-l4"><a class="reference internal" href="segger.html">Segger RTT drivers</a></li> diff --git a/content/docs/latest/components/drivers/special/sensors/adt7320.html b/content/docs/latest/components/drivers/special/sensors/adt7320.html index d2caf16a8c..4ab68482ed 100644 --- a/content/docs/latest/components/drivers/special/sensors/adt7320.html +++ b/content/docs/latest/components/drivers/special/sensors/adt7320.html @@ -157,6 +157,7 @@ <li class="toctree-l5"><a class="reference internal" href="mcp9600.html">MCP9600</a></li> <li class="toctree-l5"><a class="reference internal" href="mpl115a.html">MPL115A</a></li> <li class="toctree-l5"><a class="reference internal" href="sht4x.html">SHT4X</a></li> +<li class="toctree-l5"><a class="reference internal" href="lis2mdl.html">LIS2MDL</a></li> </ul> </li> <li class="toctree-l4"><a class="reference internal" href="../segger.html">Segger RTT drivers</a></li> diff --git a/content/docs/latest/components/drivers/special/sensors/adxl345.html b/content/docs/latest/components/drivers/special/sensors/adxl345.html index 7267d3d9ab..4d3db94b64 100644 --- a/content/docs/latest/components/drivers/special/sensors/adxl345.html +++ b/content/docs/latest/components/drivers/special/sensors/adxl345.html @@ -157,6 +157,7 @@ <li class="toctree-l5"><a class="reference internal" href="mcp9600.html">MCP9600</a></li> <li class="toctree-l5"><a class="reference internal" href="mpl115a.html">MPL115A</a></li> <li class="toctree-l5"><a class="reference internal" href="sht4x.html">SHT4X</a></li> +<li class="toctree-l5"><a class="reference internal" href="lis2mdl.html">LIS2MDL</a></li> </ul> </li> <li class="toctree-l4"><a class="reference internal" href="../segger.html">Segger RTT drivers</a></li> diff --git a/content/docs/latest/components/drivers/special/sensors/adxl362.html b/content/docs/latest/components/drivers/special/sensors/adxl362.html index a854ae65f7..6502eab394 100644 --- a/content/docs/latest/components/drivers/special/sensors/adxl362.html +++ b/content/docs/latest/components/drivers/special/sensors/adxl362.html @@ -157,6 +157,7 @@ <li class="toctree-l5"><a class="reference internal" href="mcp9600.html">MCP9600</a></li> <li class="toctree-l5"><a class="reference internal" href="mpl115a.html">MPL115A</a></li> <li class="toctree-l5"><a class="reference internal" href="sht4x.html">SHT4X</a></li> +<li class="toctree-l5"><a class="reference internal" href="lis2mdl.html">LIS2MDL</a></li> </ul> </li> <li class="toctree-l4"><a class="reference internal" href="../segger.html">Segger RTT drivers</a></li> diff --git a/content/docs/latest/components/drivers/special/sensors/adxl372.html b/content/docs/latest/components/drivers/special/sensors/adxl372.html index cc95a28fdd..3e5be9d469 100644 --- a/content/docs/latest/components/drivers/special/sensors/adxl372.html +++ b/content/docs/latest/components/drivers/special/sensors/adxl372.html @@ -157,6 +157,7 @@ <li class="toctree-l5"><a class="reference internal" href="mcp9600.html">MCP9600</a></li> <li class="toctree-l5"><a class="reference internal" href="mpl115a.html">MPL115A</a></li> <li class="toctree-l5"><a class="reference internal" href="sht4x.html">SHT4X</a></li> +<li class="toctree-l5"><a class="reference internal" href="lis2mdl.html">LIS2MDL</a></li> </ul> </li> <li class="toctree-l4"><a class="reference internal" href="../segger.html">Segger RTT drivers</a></li> diff --git a/content/docs/latest/components/drivers/special/sensors/aht10.html b/content/docs/latest/components/drivers/special/sensors/aht10.html index 6cf0bc52ae..d4c5966536 100644 --- a/content/docs/latest/components/drivers/special/sensors/aht10.html +++ b/content/docs/latest/components/drivers/special/sensors/aht10.html @@ -157,6 +157,7 @@ <li class="toctree-l5"><a class="reference internal" href="mcp9600.html">MCP9600</a></li> <li class="toctree-l5"><a class="reference internal" href="mpl115a.html">MPL115A</a></li> <li class="toctree-l5"><a class="reference internal" href="sht4x.html">SHT4X</a></li> +<li class="toctree-l5"><a class="reference internal" href="lis2mdl.html">LIS2MDL</a></li> </ul> </li> <li class="toctree-l4"><a class="reference internal" href="../segger.html">Segger RTT drivers</a></li> diff --git a/content/docs/latest/components/drivers/special/sensors/ak09912.html b/content/docs/latest/components/drivers/special/sensors/ak09912.html index cb62ab8765..d82826019a 100644 --- a/content/docs/latest/components/drivers/special/sensors/ak09912.html +++ b/content/docs/latest/components/drivers/special/sensors/ak09912.html @@ -157,6 +157,7 @@ <li class="toctree-l5"><a class="reference internal" href="mcp9600.html">MCP9600</a></li> <li class="toctree-l5"><a class="reference internal" href="mpl115a.html">MPL115A</a></li> <li class="toctree-l5"><a class="reference internal" href="sht4x.html">SHT4X</a></li> +<li class="toctree-l5"><a class="reference internal" href="lis2mdl.html">LIS2MDL</a></li> </ul> </li> <li class="toctree-l4"><a class="reference internal" href="../segger.html">Segger RTT drivers</a></li> diff --git a/content/docs/latest/components/drivers/special/sensors/sht4x.html b/content/docs/latest/components/drivers/special/sensors/lis2mdl.html similarity index 62% copy from content/docs/latest/components/drivers/special/sensors/sht4x.html copy to content/docs/latest/components/drivers/special/sensors/lis2mdl.html index 514330227f..3a16cd59fb 100644 --- a/content/docs/latest/components/drivers/special/sensors/sht4x.html +++ b/content/docs/latest/components/drivers/special/sensors/lis2mdl.html @@ -25,7 +25,7 @@ <meta charset="utf-8" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <title>SHT4X — NuttX latest documentation</title> + <title>LIS2MDL — NuttX latest documentation</title> <link rel="stylesheet" type="text/css" href="../../../../_static/pygments.css" /> <link rel="stylesheet" type="text/css" href="../../../../_static/css/theme.css" /> <link rel="stylesheet" type="text/css" href="../../../../_static/copybutton.css" /> @@ -44,7 +44,7 @@ <link rel="index" title="Index" href="../../../../genindex.html" /> <link rel="search" title="Search" href="../../../../search.html" /> <link rel="next" title="Segger RTT drivers" href="../segger.html" /> - <link rel="prev" title="MPL115A" href="mpl115a.html" /> + <link rel="prev" title="SHT4X" href="sht4x.html" /> </head> <body class="wy-body-for-nav"> @@ -156,7 +156,8 @@ <li class="toctree-l5"><a class="reference internal" href="lsm330.html">LSM330_SPI</a></li> <li class="toctree-l5"><a class="reference internal" href="mcp9600.html">MCP9600</a></li> <li class="toctree-l5"><a class="reference internal" href="mpl115a.html">MPL115A</a></li> -<li class="toctree-l5 current"><a class="current reference internal" href="#">SHT4X</a></li> +<li class="toctree-l5"><a class="reference internal" href="sht4x.html">SHT4X</a></li> +<li class="toctree-l5 current"><a class="current reference internal" href="#">LIS2MDL</a></li> </ul> </li> <li class="toctree-l4"><a class="reference internal" href="../segger.html">Segger RTT drivers</a></li> @@ -232,9 +233,9 @@ <li class="breadcrumb-item"><a href="../../index.html">Device Drivers</a></li> <li class="breadcrumb-item"><a href="../index.html">Specialized Device Drivers</a></li> <li class="breadcrumb-item"><a href="../sensors.html">Sensor Drivers</a></li> - <li class="breadcrumb-item active">SHT4X</li> + <li class="breadcrumb-item active">LIS2MDL</li> <li class="wy-breadcrumbs-aside"> - <a href="../../../../_sources/components/drivers/special/sensors/sht4x.rst.txt" rel="nofollow"> View page source</a> + <a href="../../../../_sources/components/drivers/special/sensors/lis2mdl.rst.txt" rel="nofollow"> View page source</a> </li> </ul> <hr/> @@ -242,79 +243,140 @@ <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article"> <div itemprop="articleBody"> - <section id="sht4x"> -<h1>SHT4X<a class="headerlink" href="#sht4x" title="Permalink to this heading"></a></h1> + <section id="lis2mdl"> +<h1>LIS2MDL<a class="headerlink" href="#lis2mdl" title="Permalink to this heading"></a></h1> <p>Contributed by Matteo Golin.</p> -<p>The SHT4x is a family of temperature and humidity sensors created by Sensirion -which operates over I2C. They include a small heating element.</p> -<p>The driver provided allows interfacing with the sensor over I2C. It has been -tested against the SHT41. This driver uses the <a class="reference internal" href="sensors_uorb.html"><span class="doc">uorb</span></a> interface.</p> +<p>The LIS2MDL is a low power, high-performance 3-axis magnetometer by ST +Microelectronics. It has I2C and SPI interfaces, although this driver currently +only supports I2C.</p> +<p>The driver uses the <a class="reference internal" href="sensors_uorb.html"><span class="doc">uorb</span></a> interface. It supports the +self-test capability</p> <section id="application-programming-interface"> <h2>Application Programming Interface<a class="headerlink" href="#application-programming-interface" title="Permalink to this heading"></a></h2> -<p>The header file for the SHT4X driver interface can be included using:</p> -<div class="highlight-c notranslate"><div class="highlight"><pre><span></span><span class="cp">#include</span><span class="w"> </span><span class="cpf"><nuttx/sensors/sht4x.h></span> +<div class="highlight-c notranslate"><div class="highlight"><pre><span></span><span class="cp">#include</span><span class="w"> </span><span class="cpf"><nuttx/sensors/lis2mdl.h></span> </pre></div> </div> -<p>The SHT4x registration function allows the driver to be registered as a UORB -driver.</p> -<p>The SHT4x measures both ambient temperature and humidity, so registering this -driver will cause two new UORB topics to appear: <code class="docutils literal notranslate"><span class="pre">sensor_humi<n></span></code> and -<code class="docutils literal notranslate"><span class="pre">sensor_temp<n></span></code>.</p> +<p>The LIS2MDL registration function allows the driver to be registered as a UORB +driver. Registering this driver will cause the <code class="docutils literal notranslate"><span class="pre">/dev/uorb/sensor_mag<n></span></code> topic +to appear, where <code class="docutils literal notranslate"><span class="pre">n</span></code> is the value of <code class="docutils literal notranslate"><span class="pre">devno</span></code>.</p> +<p>The driver can be registered either in polling mode or in interrupt-driven mode. +The polling mode will create a kernel thread to poll the sensor periodically +according to the set interval. Polling mode is registered with <code class="docutils literal notranslate"><span class="pre">NULL</span></code> instead +of a real function pointer to the <code class="docutils literal notranslate"><span class="pre">attach</span></code> parameter, like so:</p> <div class="highlight-c notranslate"><div class="highlight"><pre><span></span><span class="kt">int</span><span class="w"> </span><span class="n">err</span><span class="p">;</span> -<span class="n">err</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">sht4x_register</span><span class="p">(</span><span class="n">i2c_master</span><span class="p">,</span><span class="w"> </span><span class="mi">0</span><span class="p">,</span><span class="w"> </span><span class="mh">0x44</span><span class="p">);</span> + +<span class="cm">/* Creates /dev/uorb/mag0 in polled mode */</span> + +<span class="n">err</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">lis2mdl_register</span><span class="p">(</span><span class="n">i2c_master</span><span class="p">,</span><span class="w"> </span><span class="mi">0</span><span class="p">,</span><span class="w"> </span><span class="mh">0x1e</span><span class="p">,</span><span class="w"> </span><span class="nb">NULL</span><span class="p">);</span> +<span class="k">if</span><span class="w"> </span><span class="p">(</span><span class="n">err</span><span class="w"> </span><span class="o"><</span><span class="w"> </span><span class="mi">0</span><span class="p">)</span> +<span class="p">{</span> +<span class="w"> </span><span class="n">syslog</span><span class="p">(</span><span class="n">LOG_ERR</span><span class="p">,</span><span class="w"> </span><span class="s">"Could not register LIS2MDL driver at 0x1E: %d</span><span class="se">\n</span><span class="s">"</span><span class="p">,</span><span class="w"> </span><span class="n">err</span><span class="p">);</span> +<span class="p">}</span> +</pre></div> +</div> +<p>To register in interrupt-driven mode, a function must be provided by the +calling code to register the LIS2MDL interrupt handler properly. This function +should take the interrupt handler and <code class="docutils literal notranslate"><span class="pre">arg</span></code> reference as arguments, and return +0 on success or a negated error code on failure. This function must also enable +the interrupt after it is registered successfully.</p> +<div class="admonition warning"> +<p class="admonition-title">Warning</p> +<p>To use interrupt-driven mode, <code class="docutils literal notranslate"><span class="pre">CONFIG_SCHED_HPWORK</span></code> must be enabled.</p> +</div> +<p>The example below shows the example process for an RP2040 based board, but it +will be similar on other architectures:</p> +<div class="highlight-c notranslate"><div class="highlight"><pre><span></span><span class="cm">/* IRQ attach function example for RP2040 board */</span> + +<span class="k">static</span><span class="w"> </span><span class="kt">int</span><span class="w"> </span><span class="nf">board_lis2mdl_attach</span><span class="p">(</span><span class="n">xcpt_t</span><span class="w"> </span><span class="n">handler</span><span class="p">,</span><span class="w"> </span><span class="n">FAR</span><span class="w"> </span><span class="kt">void</span><span class="w"> </span><span class="o">*</span><span class="n">arg</span><span class="p">)</span> +<span class="p">{</span> +<span class="w"> </span><span class="kt">int</span><span class="w"> </span><span class="n">err</span><span class="p">;</span> +<span class="w"> </span><span class="n">err</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">rp2040_gpio_irq_attach</span><span class="p">(</span><span class="n">GPIO_MAG_INT</span><span class="p">,</span><span class="w"> </span><span class="n">RP2040_GPIO_INTR_EDGE_HIGH</span><span class="p">,</span> +<span class="w"> </span><span class="n">handler</span><span class="p">,</span><span class="w"> </span><span class="n">arg</span><span class="p">);</span> +<span class="w"> </span><span class="k">if</span><span class="w"> </span><span class="p">(</span><span class="n">err</span><span class="w"> </span><span class="o"><</span><span class="w"> </span><span class="mi">0</span><span class="p">)</span> +<span class="w"> </span><span class="p">{</span> +<span class="w"> </span><span class="k">return</span><span class="w"> </span><span class="n">err</span><span class="p">;</span> +<span class="w"> </span><span class="p">}</span> + +<span class="w"> </span><span class="n">rp2040_gpio_enable_irq</span><span class="p">(</span><span class="n">GPIO_MAG_INT</span><span class="p">);</span> +<span class="w"> </span><span class="k">return</span><span class="w"> </span><span class="n">err</span><span class="p">;</span> +<span class="p">}</span> + +<span class="cm">/* Later, in the board bringup code ... */</span> + +<span class="kt">int</span><span class="w"> </span><span class="n">err</span><span class="p">;</span> +<span class="n">err</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">lis2mdl_register</span><span class="p">(</span><span class="n">i2c_master</span><span class="p">,</span><span class="w"> </span><span class="mi">0</span><span class="p">,</span><span class="w"> </span><span class="mh">0x1e</span><span class="p">,</span><span class="w"> </span><span class="n">board_lis2mdl_attach</span><span class="p">);</span> <span class="k">if</span><span class="w"> </span><span class="p">(</span><span class="n">err</span><span class="w"> </span><span class="o"><</span><span class="w"> </span><span class="mi">0</span><span class="p">)</span> <span class="p">{</span> -<span class="w"> </span><span class="n">syslog</span><span class="p">(</span><span class="n">LOG_ERR</span><span class="p">,</span><span class="w"> </span><span class="s">"Couldn't register SHT4X driver at 0x44: %d</span><span class="se">\n</span><span class="s">"</span><span class="p">,</span><span class="w"> </span><span class="n">err</span><span class="p">);</span> +<span class="w"> </span><span class="n">syslog</span><span class="p">(</span><span class="n">LOG_ERR</span><span class="p">,</span><span class="w"> </span><span class="s">"Couldn't register LIS2MDL driver: %d</span><span class="se">\n</span><span class="s">"</span><span class="p">,</span><span class="w"> </span><span class="n">err</span><span class="p">);</span> <span class="p">}</span> </pre></div> </div> <p>To debug this device, you can include the <code class="docutils literal notranslate"><span class="pre">uorb_listener</span></code> in your build with debugging enabled. Running it will show the sensor measurements.</p> -<p>This sensor also offers some addition control commands for using the onboard -heater and checking the serial number. These control commands can be used on -either topic (humidity or temperature), since they control the device as a -whole.</p> +<div class="admonition warning"> +<p class="admonition-title">Warning</p> +<p>By default, when the sensor is deactivated via the UORB interface, it is put +into low power mode and set to idle. When it is reactivated, it is put in +high resolution mode and set to continuous measurement. If you want to +measure continuously in low power mode, you will need to use the +<code class="docutils literal notranslate"><span class="pre">SNIOC_SET_POWER_MODE</span></code> command explained below.</p> +</div> +<p>The <code class="docutils literal notranslate"><span class="pre">set_calibvalue</span></code> interface to this sensor takes an array of three <cite>float</cite> +types, representing hard-iron offsets in micro Teslas. This offset is set on the +sensor and is subtracted from measurements to compensate for environmental +effects.</p> +<p>Some additional control commands for the LIS2MDL are listed below.</p> +<section id="snioc-who-am-i"> +<h3><code class="docutils literal notranslate"><span class="pre">SNIOC_WHO_AM_I</span></code><a class="headerlink" href="#snioc-who-am-i" title="Permalink to this heading"></a></h3> +<p>This command reads the <code class="docutils literal notranslate"><span class="pre">WHOAMI</span></code> register of the LIS2MDL. This should always +return <code class="docutils literal notranslate"><span class="pre">0x40</span></code>. The argument is a pointer to an 8-bit unsigned integer.</p> +<div class="highlight-c notranslate"><div class="highlight"><pre><span></span><span class="kt">uint8_t</span><span class="w"> </span><span class="n">id</span><span class="p">;</span><span class="w"> </span><span class="cm">/* Should always contain 0x40 */</span> +<span class="n">err</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">orb_ioctl</span><span class="p">(</span><span class="n">sensor</span><span class="p">,</span><span class="w"> </span><span class="n">SNIOC_WHO_AM_I</span><span class="p">,</span><span class="w"> </span><span class="o">&</span><span class="n">id</span><span class="p">);</span> +</pre></div> +</div> +</section> +<section id="snioc-set-power-mode"> +<h3><code class="docutils literal notranslate"><span class="pre">SNIOC_SET_POWER_MODE</span></code><a class="headerlink" href="#snioc-set-power-mode" title="Permalink to this heading"></a></h3> +<p>This command selects the power mode of the LIS2MDL sensor. An argument of +<code class="docutils literal notranslate"><span class="pre">true</span></code> puts the sensor in low power mode, and <code class="docutils literal notranslate"><span class="pre">false</span></code> puts the sensor into +high resolution mode.</p> +<div class="highlight-c notranslate"><div class="highlight"><pre><span></span><span class="cm">/* Puts LIS2MDL into low power mode */</span> +<span class="n">err</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">orb_ioctl</span><span class="p">(</span><span class="n">sensor</span><span class="p">,</span><span class="w"> </span><span class="n">SNIOC_WHO_AM_I</span><span class="p">,</span><span class="w"> </span><span class="nb">true</span><span class="p">);</span> +</pre></div> +</div> +</section> <section id="snioc-reset"> <h3><code class="docutils literal notranslate"><span class="pre">SNIOC_RESET</span></code><a class="headerlink" href="#snioc-reset" title="Permalink to this heading"></a></h3> -<p>This will perform the SHT4X’s soft reset command.</p> -<div class="highlight-c notranslate"><div class="highlight"><pre><span></span><span class="n">err</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">orb_ioctl</span><span class="p">(</span><span class="n">sensor</span><span class="p">,</span><span class="w"> </span><span class="n">SNIOC_RESET</span><span class="p">);</span> -<span class="k">if</span><span class="w"> </span><span class="p">(</span><span class="n">err</span><span class="p">)</span><span class="w"> </span><span class="p">{</span> -<span class="w"> </span><span class="n">fprintf</span><span class="p">(</span><span class="n">stderr</span><span class="p">,</span><span class="w"> </span><span class="s">"SNIOC_RESET: %s</span><span class="se">\n</span><span class="s">"</span><span class="p">,</span><span class="w"> </span><span class="n">strerror</span><span class="p">(</span><span class="n">errno</span><span class="p">));</span> -<span class="p">}</span><span class="w"> </span><span class="k">else</span><span class="w"> </span><span class="p">{</span> -<span class="w"> </span><span class="n">puts</span><span class="p">(</span><span class="s">"RESET success!"</span><span class="p">);</span> -<span class="p">}</span> +<p>Performs a soft reset of the LIS2MDL, which resets the user registers. This +command takes no arguments. Once this command is issue, 5 microseconds must pass +before the sensor is operational again.</p> +<div class="highlight-c notranslate"><div class="highlight"><pre><span></span><span class="n">err</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">orb_ioctl</span><span class="p">(</span><span class="n">sensor</span><span class="p">,</span><span class="w"> </span><span class="n">SNIOC_RESET</span><span class="p">,</span><span class="w"> </span><span class="nb">NULL</span><span class="p">);</span> </pre></div> </div> </section> -<section id="snioc-who-am-i"> -<h3><code class="docutils literal notranslate"><span class="pre">SNIOC_WHO_AM_I</span></code><a class="headerlink" href="#snioc-who-am-i" title="Permalink to this heading"></a></h3> -<p>This command reads the serial number of the SHT4X sensor. The serial number is -returned in the argument to the command, which must be a <cite>uint32_t</cite> pointer.</p> -<div class="highlight-c notranslate"><div class="highlight"><pre><span></span><span class="kt">uint32_t</span><span class="w"> </span><span class="n">serialno</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="mi">0</span><span class="p">;</span> -<span class="n">err</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">orb_ioctl</span><span class="p">(</span><span class="n">sensor</span><span class="p">,</span><span class="w"> </span><span class="n">SNIOC_WHO_AM_I</span><span class="p">,</span><span class="w"> </span><span class="o">&</span><span class="n">serialno</span><span class="p">);</span> +<section id="snioc-sensor-off"> +<h3><code class="docutils literal notranslate"><span class="pre">SNIOC_SENSOR_OFF</span></code><a class="headerlink" href="#snioc-sensor-off" title="Permalink to this heading"></a></h3> +<p>Performs a reboot of the LIS2MDL’s memory contents. This command takes no +arguments. After the command is issued, 20ms must pass before the sensor is +operational again.</p> +<div class="highlight-c notranslate"><div class="highlight"><pre><span></span><span class="n">err</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">orb_ioctl</span><span class="p">(</span><span class="n">sensor</span><span class="p">,</span><span class="w"> </span><span class="n">SNIOC_SENSOR_OFF</span><span class="p">,</span><span class="w"> </span><span class="nb">NULL</span><span class="p">);</span> </pre></div> </div> </section> -<section id="snioc-heat"> -<h3><code class="docutils literal notranslate"><span class="pre">SNIOC_HEAT</span></code><a class="headerlink" href="#snioc-heat" title="Permalink to this heading"></a></h3> -<p>This command will instruct the SHT4X to turn on its heater unit for the -specified time.</p> -<p>The argument to this command must be of type <cite>enum sht4x_heater_e</cite>, which will -indicate the duration the heater is on and the power used.</p> -<p>Heating commands are not allowed more than once per second to avoid damaging the -sensor. If a command is issued before this one second cool-down period is over, -<cite>EAGAIN</cite> is returned.</p> -<div class="highlight-c notranslate"><div class="highlight"><pre><span></span><span class="n">err</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">orb_ioctl</span><span class="p">(</span><span class="n">sensor</span><span class="p">,</span><span class="w"> </span><span class="n">SNIOC_HEAT</span><span class="p">,</span><span class="w"> </span><span class="n">SHT4X_HEATER_200MW_1</span><span class="p">);</span> +<section id="snioc-set-temp-offset"> +<h3><code class="docutils literal notranslate"><span class="pre">SNIOC_SET_TEMP_OFFSET</span></code><a class="headerlink" href="#snioc-set-temp-offset" title="Permalink to this heading"></a></h3> +<p>Enables or disables temperature compensation on the magnetometer. A arg of +<code class="docutils literal notranslate"><span class="pre">true</span></code> enables compensation, <code class="docutils literal notranslate"><span class="pre">false</span></code> disables it. By default this is +enabled.</p> +<div class="highlight-c notranslate"><div class="highlight"><pre><span></span><span class="n">err</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">orb_ioctl</span><span class="p">(</span><span class="n">sensor</span><span class="p">,</span><span class="w"> </span><span class="n">SNIOC_SET_TEMP_OFFSET</span><span class="p">,</span><span class="w"> </span><span class="nb">true</span><span class="p">);</span> </pre></div> </div> </section> -<section id="snioc-configure"> -<h3><code class="docutils literal notranslate"><span class="pre">SNIOC_CONFIGURE</span></code><a class="headerlink" href="#snioc-configure" title="Permalink to this heading"></a></h3> -<p>This command allows the caller to configure the precision of the SHT4X sensor -used by subsequent measurement commands. By default, the sensor starts at high -precision.</p> -<p>The argument to this command is one of the values in <cite>enum sht4x_precision_e</cite>.</p> -<div class="highlight-c notranslate"><div class="highlight"><pre><span></span><span class="n">err</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">orb_ioctl</span><span class="p">(</span><span class="n">sensor</span><span class="p">,</span><span class="w"> </span><span class="n">SNIOC_CONFIGURE</span><span class="p">,</span><span class="w"> </span><span class="n">SHT4X_PREC_LOW</span><span class="p">);</span> +<section id="snioc-lpf"> +<h3><code class="docutils literal notranslate"><span class="pre">SNIOC_LPF</span></code><a class="headerlink" href="#snioc-lpf" title="Permalink to this heading"></a></h3> +<p>Enables or disables the magnetometer low pass filter. A arg of <code class="docutils literal notranslate"><span class="pre">true</span></code> enables +the filter, <code class="docutils literal notranslate"><span class="pre">false</span></code> disables it. By default this is disabled.</p> +<div class="highlight-c notranslate"><div class="highlight"><pre><span></span><span class="n">err</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">orb_ioctl</span><span class="p">(</span><span class="n">sensor</span><span class="p">,</span><span class="w"> </span><span class="n">SNIOC_LPF</span><span class="p">,</span><span class="w"> </span><span class="nb">true</span><span class="p">);</span> </pre></div> </div> </section> @@ -325,7 +387,7 @@ precision.</p> </div> </div> <footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer"> - <a href="mpl115a.html" class="btn btn-neutral float-left" title="MPL115A" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a> + <a href="sht4x.html" class="btn btn-neutral float-left" title="SHT4X" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a> <a href="../segger.html" class="btn btn-neutral float-right" title="Segger RTT drivers" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a> </div> diff --git a/content/docs/latest/components/drivers/special/sensors/lsm330.html b/content/docs/latest/components/drivers/special/sensors/lsm330.html index 4eaad339f9..5ec8e62e54 100644 --- a/content/docs/latest/components/drivers/special/sensors/lsm330.html +++ b/content/docs/latest/components/drivers/special/sensors/lsm330.html @@ -157,6 +157,7 @@ <li class="toctree-l5"><a class="reference internal" href="mcp9600.html">MCP9600</a></li> <li class="toctree-l5"><a class="reference internal" href="mpl115a.html">MPL115A</a></li> <li class="toctree-l5"><a class="reference internal" href="sht4x.html">SHT4X</a></li> +<li class="toctree-l5"><a class="reference internal" href="lis2mdl.html">LIS2MDL</a></li> </ul> </li> <li class="toctree-l4"><a class="reference internal" href="../segger.html">Segger RTT drivers</a></li> diff --git a/content/docs/latest/components/drivers/special/sensors/mcp9600.html b/content/docs/latest/components/drivers/special/sensors/mcp9600.html index dbde3a4a66..8191efe68c 100644 --- a/content/docs/latest/components/drivers/special/sensors/mcp9600.html +++ b/content/docs/latest/components/drivers/special/sensors/mcp9600.html @@ -157,6 +157,7 @@ <li class="toctree-l5 current"><a class="current reference internal" href="#">MCP9600</a></li> <li class="toctree-l5"><a class="reference internal" href="mpl115a.html">MPL115A</a></li> <li class="toctree-l5"><a class="reference internal" href="sht4x.html">SHT4X</a></li> +<li class="toctree-l5"><a class="reference internal" href="lis2mdl.html">LIS2MDL</a></li> </ul> </li> <li class="toctree-l4"><a class="reference internal" href="../segger.html">Segger RTT drivers</a></li> diff --git a/content/docs/latest/components/drivers/special/sensors/mpl115a.html b/content/docs/latest/components/drivers/special/sensors/mpl115a.html index 5a02e4aece..342538721b 100644 --- a/content/docs/latest/components/drivers/special/sensors/mpl115a.html +++ b/content/docs/latest/components/drivers/special/sensors/mpl115a.html @@ -157,6 +157,7 @@ <li class="toctree-l5"><a class="reference internal" href="mcp9600.html">MCP9600</a></li> <li class="toctree-l5 current"><a class="current reference internal" href="#">MPL115A</a></li> <li class="toctree-l5"><a class="reference internal" href="sht4x.html">SHT4X</a></li> +<li class="toctree-l5"><a class="reference internal" href="lis2mdl.html">LIS2MDL</a></li> </ul> </li> <li class="toctree-l4"><a class="reference internal" href="../segger.html">Segger RTT drivers</a></li> diff --git a/content/docs/latest/components/drivers/special/sensors/sensors_cluster.html b/content/docs/latest/components/drivers/special/sensors/sensors_cluster.html index ec38267b82..4d27ade45c 100644 --- a/content/docs/latest/components/drivers/special/sensors/sensors_cluster.html +++ b/content/docs/latest/components/drivers/special/sensors/sensors_cluster.html @@ -157,6 +157,7 @@ <li class="toctree-l5"><a class="reference internal" href="mcp9600.html">MCP9600</a></li> <li class="toctree-l5"><a class="reference internal" href="mpl115a.html">MPL115A</a></li> <li class="toctree-l5"><a class="reference internal" href="sht4x.html">SHT4X</a></li> +<li class="toctree-l5"><a class="reference internal" href="lis2mdl.html">LIS2MDL</a></li> </ul> </li> <li class="toctree-l4"><a class="reference internal" href="../segger.html">Segger RTT drivers</a></li> diff --git a/content/docs/latest/components/drivers/special/sensors/sensors_legacy.html b/content/docs/latest/components/drivers/special/sensors/sensors_legacy.html index c0a37d332e..afd711ab5e 100644 --- a/content/docs/latest/components/drivers/special/sensors/sensors_legacy.html +++ b/content/docs/latest/components/drivers/special/sensors/sensors_legacy.html @@ -157,6 +157,7 @@ <li class="toctree-l5"><a class="reference internal" href="mcp9600.html">MCP9600</a></li> <li class="toctree-l5"><a class="reference internal" href="mpl115a.html">MPL115A</a></li> <li class="toctree-l5"><a class="reference internal" href="sht4x.html">SHT4X</a></li> +<li class="toctree-l5"><a class="reference internal" href="lis2mdl.html">LIS2MDL</a></li> </ul> </li> <li class="toctree-l4"><a class="reference internal" href="../segger.html">Segger RTT drivers</a></li> @@ -311,7 +312,6 @@ standarized interface, creating portable application is imposible.</p> <li><p>sgp30</p></li> <li><p>sht21</p></li> <li><p>sht3x</p></li> -<li><p><a class="reference internal" href="sht4x.html"><span class="doc">SHT4X</span></a></p></li> <li><p>sps30</p></li> <li><p>t67xx</p></li> <li><p>veml6070</p></li> diff --git a/content/docs/latest/components/drivers/special/sensors/sensors_uorb.html b/content/docs/latest/components/drivers/special/sensors/sensors_uorb.html index 730f370095..8e4b829827 100644 --- a/content/docs/latest/components/drivers/special/sensors/sensors_uorb.html +++ b/content/docs/latest/components/drivers/special/sensors/sensors_uorb.html @@ -157,6 +157,7 @@ <li class="toctree-l5"><a class="reference internal" href="mcp9600.html">MCP9600</a></li> <li class="toctree-l5"><a class="reference internal" href="mpl115a.html">MPL115A</a></li> <li class="toctree-l5"><a class="reference internal" href="sht4x.html">SHT4X</a></li> +<li class="toctree-l5"><a class="reference internal" href="lis2mdl.html">LIS2MDL</a></li> </ul> </li> <li class="toctree-l4"><a class="reference internal" href="../segger.html">Segger RTT drivers</a></li> @@ -663,10 +664,12 @@ based on the sampling rate.</p> <li><p>goldfish_sensor</p></li> <li><p>hyt271</p></li> <li><p>l3gd20</p></li> +<li><p><a class="reference internal" href="lis2mdl.html"><span class="doc">LIS2MDL</span></a></p></li> <li><p>lsm9ds1</p></li> <li><p>ltr308</p></li> <li><p>mpu9250</p></li> <li><p>ms56xx</p></li> +<li><p><a class="reference internal" href="sht4x.html"><span class="doc">SHT4X</span></a></p></li> <li><p>wtgahrs2</p></li> </ul> </section> diff --git a/content/docs/latest/components/drivers/special/sensors/sht4x.html b/content/docs/latest/components/drivers/special/sensors/sht4x.html index 514330227f..a714866e9e 100644 --- a/content/docs/latest/components/drivers/special/sensors/sht4x.html +++ b/content/docs/latest/components/drivers/special/sensors/sht4x.html @@ -43,7 +43,7 @@ <script src="../../../../_static/js/theme.js"></script> <link rel="index" title="Index" href="../../../../genindex.html" /> <link rel="search" title="Search" href="../../../../search.html" /> - <link rel="next" title="Segger RTT drivers" href="../segger.html" /> + <link rel="next" title="LIS2MDL" href="lis2mdl.html" /> <link rel="prev" title="MPL115A" href="mpl115a.html" /> </head> @@ -157,6 +157,7 @@ <li class="toctree-l5"><a class="reference internal" href="mcp9600.html">MCP9600</a></li> <li class="toctree-l5"><a class="reference internal" href="mpl115a.html">MPL115A</a></li> <li class="toctree-l5 current"><a class="current reference internal" href="#">SHT4X</a></li> +<li class="toctree-l5"><a class="reference internal" href="lis2mdl.html">LIS2MDL</a></li> </ul> </li> <li class="toctree-l4"><a class="reference internal" href="../segger.html">Segger RTT drivers</a></li> @@ -326,7 +327,7 @@ precision.</p> </div> <footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer"> <a href="mpl115a.html" class="btn btn-neutral float-left" title="MPL115A" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a> - <a href="../segger.html" class="btn btn-neutral float-right" title="Segger RTT drivers" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a> + <a href="lis2mdl.html" class="btn btn-neutral float-right" title="LIS2MDL" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a> </div> <hr/> diff --git a/content/docs/latest/index.html b/content/docs/latest/index.html index 130b3fbd5b..f926eea09f 100644 --- a/content/docs/latest/index.html +++ b/content/docs/latest/index.html @@ -175,7 +175,7 @@ standards. Additional standard APIs from Unix and other common RTOS’s (such as VxWorks) are adopted for functionality not available under these standards, or for functionality that is not appropriate for deeply-embedded environments (such as fork()).</p> -<p>Last Updated: 28 January 25 at 00:26</p> +<p>Last Updated: 29 January 25 at 00:25</p> <div class="toctree-wrapper compound"> <p class="caption" role="heading"><span class="caption-text">Table of Contents</span></p> <ul class="current"> diff --git a/content/docs/latest/objects.inv b/content/docs/latest/objects.inv index 0232945186..b17034ad8a 100644 Binary files a/content/docs/latest/objects.inv and b/content/docs/latest/objects.inv differ diff --git a/content/docs/latest/searchindex.js b/content/docs/latest/searchindex.js index b32faa154e..d1d4b6c4dd 100644 --- a/content/docs/latest/searchindex.js +++ b/content/docs/latest/searchindex.js @@ -1 +1 @@ -Search.setIndex({"docnames": ["applications/audioutils/fmsynt/index", "applications/audioutils/index", "applications/audioutils/mml_parser/index", "applications/audioutils/nxaudio/index", "applications/benchmarks/cachespeed/index", "applications/benchmarks/coremark-pro/index", "applications/benchmarks/coremark/index", "applications/benchmarks/dhrystone/index", "applications/benchmarks/fio/index", "applications/benchmarks/index", "applications/benchmarks/iozone/index", "applications/bench [...] \ No newline at end of file +Search.setIndex({"docnames": ["applications/audioutils/fmsynt/index", "applications/audioutils/index", "applications/audioutils/mml_parser/index", "applications/audioutils/nxaudio/index", "applications/benchmarks/cachespeed/index", "applications/benchmarks/coremark-pro/index", "applications/benchmarks/coremark/index", "applications/benchmarks/dhrystone/index", "applications/benchmarks/fio/index", "applications/benchmarks/index", "applications/benchmarks/iozone/index", "applications/bench [...] \ No newline at end of file diff --git a/content/feed.xml b/content/feed.xml index 41b4b2716c..73d6416f55 100644 --- a/content/feed.xml +++ b/content/feed.xml @@ -5,8 +5,8 @@ <description></description> <link>/</link> <atom:link href="/feed.xml" rel="self" type="application/rss+xml"/> - <pubDate>Tue, 28 Jan 2025 00:27:58 +0000</pubDate> - <lastBuildDate>Tue, 28 Jan 2025 00:27:58 +0000</lastBuildDate> + <pubDate>Wed, 29 Jan 2025 00:26:53 +0000</pubDate> + <lastBuildDate>Wed, 29 Jan 2025 00:26:53 +0000</lastBuildDate> <generator>Jekyll v4.3.2</generator> <item>