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 50e3d62e86 Publishing web: c9485a98e52c59e17f5874dcfcda910d849854c2 docs: 5918335b7faeb6fbcd2d91f621944f02e025b838 50e3d62e86 is described below commit 50e3d62e8655e540e6fec2c135bc88ce27c678cc Author: Alin Jerpelea <alin.jerpe...@sony.com> AuthorDate: Wed Jan 22 00:27:56 2025 +0000 Publishing web: c9485a98e52c59e17f5874dcfcda910d849854c2 docs: 5918335b7faeb6fbcd2d91f621944f02e025b838 --- 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 +- .../xtensa/esp32/boards/esp32-audio-kit/index.html | 2 +- .../xtensa/esp32/boards/esp32-devkitc/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 +- .../drivers/special/sensors/mcp9600.rst.txt | 107 ++++++++++--------- .../drivers/special/sensors/sensors_uorb.rst.txt | 5 - content/docs/latest/_sources/guides/rust.rst.txt | 5 +- .../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 - .../components/drivers/special/sensors/lsm330.html | 1 - .../drivers/special/sensors/mcp9600.html | 115 ++++++++++++--------- .../drivers/special/sensors/mpl115a.html | 1 - .../drivers/special/sensors/sensors_cluster.html | 1 - .../drivers/special/sensors/sensors_legacy.html | 1 - .../drivers/special/sensors/sensors_uorb.html | 5 - .../components/drivers/special/sensors/sht4x.html | 1 - content/docs/latest/guides/rust.html | 12 ++- content/docs/latest/index.html | 2 +- content/docs/latest/objects.inv | Bin 137087 -> 137062 bytes content/docs/latest/searchindex.js | 2 +- content/feed.xml | 4 +- 52 files changed, 165 insertions(+), 164 deletions(-) diff --git a/content/docs/10.0.0/index.html b/content/docs/10.0.0/index.html index 533a689c1b..7833745ec5 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: 21 January 25 at 00:12</p> +<p>Last Updated: 22 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 e57f0ddc1c..535f7bef3f 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: 21 January 25 at 00:13</p> +<p>Last Updated: 22 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 bb910ea650..896ac796ef 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: 21 January 25 at 00:13</p> +<p>Last Updated: 22 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 f4c8eeb77a..6c3dc42361 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: 21 January 25 at 00:13</p> +<p>Last Updated: 22 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 f4c8eeb77a..ef6fad9f16 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: 21 January 25 at 00:13</p> +<p>Last Updated: 22 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/11.0.0/index.html b/content/docs/11.0.0/index.html index 48b3ad82c2..ef6fad9f16 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: 21 January 25 at 00:14</p> +<p>Last Updated: 22 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 865d46117e..fc96eb3cc4 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: 21 January 25 at 00:14</p> +<p>Last Updated: 22 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 6a09d9df73..5d8764ff6b 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 9eaa90d800..b34115f858 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: 21 January 25 at 00:14</p> +<p>Last Updated: 22 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.1.0/searchindex.js b/content/docs/12.1.0/searchindex.js index a466775937..557c7be271 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 d6b0b4539c..0c54c33007 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: 21 January 25 at 00:15</p> +<p>Last Updated: 22 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 a8bae75c87..cdd98c655a 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 d6b0b4539c..0c54c33007 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: 21 January 25 at 00:15</p> +<p>Last Updated: 22 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/platforms/xtensa/esp32/boards/esp32-audio-kit/index.html b/content/docs/12.2.1/platforms/xtensa/esp32/boards/esp32-audio-kit/index.html index 98aa78ecb0..e07ca20c19 100644 --- a/content/docs/12.2.1/platforms/xtensa/esp32/boards/esp32-audio-kit/index.html +++ b/content/docs/12.2.1/platforms/xtensa/esp32/boards/esp32-audio-kit/index.html @@ -349,7 +349,7 @@ Serving HTTP on 0.0.0.0 port 8000 (http://0.0.0.0:8000/) <p>Look for your PC IP address and test playing the prepared audio on your browser:</p> <figure class="align-center"> -<img alt="../../../../../_images/esp32-audio-config-file1.png" src="../../../../../_images/esp32-audio-config-file1.png" /> +<img alt="../../../../../_images/esp32-audio-config-file.png" src="../../../../../_images/esp32-audio-config-file.png" /> </figure> <p>After successfully built and flashed, connect the board to the Wi-Fi network:</p> <div class="highlight-none notranslate"><div class="highlight"><pre><span></span>$ nsh> wapi psk wlan0 mypasswd 3 diff --git a/content/docs/12.2.1/platforms/xtensa/esp32/boards/esp32-devkitc/index.html b/content/docs/12.2.1/platforms/xtensa/esp32/boards/esp32-devkitc/index.html index 874b7c3a58..09730ba82b 100644 --- a/content/docs/12.2.1/platforms/xtensa/esp32/boards/esp32-devkitc/index.html +++ b/content/docs/12.2.1/platforms/xtensa/esp32/boards/esp32-devkitc/index.html @@ -446,7 +446,7 @@ Serving HTTP on 0.0.0.0 port 8000 (http://0.0.0.0:8000/) <p>Look for your PC IP address and test playing the prepared audio on your browser:</p> <figure class="align-center"> -<img alt="../../../../../_images/esp32-audio-config-file.png" src="../../../../../_images/esp32-audio-config-file.png" /> +<img alt="../../../../../_images/esp32-audio-config-file1.png" src="../../../../../_images/esp32-audio-config-file1.png" /> </figure> <p>After successfully built and flashed, connect the board to the Wi-Fi network:</p> <div class="highlight-none notranslate"><div class="highlight"><pre><span></span>nsh> wapi psk wlan0 mypasswd 3 diff --git a/content/docs/12.2.1/searchindex.js b/content/docs/12.2.1/searchindex.js index 44827439f0..97e79b40f5 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 828f1a3e98..4124fa1e69 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: 21 January 25 at 00:16</p> +<p>Last Updated: 22 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 80c4df58ae..9dde8848ea 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 439cdf4c45..f3a32b4c3d 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: 21 January 25 at 00:16</p> +<p>Last Updated: 22 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 f75663b23d..3102e66a4d 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 067c44fe06..0bddaa951f 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: 21 January 25 at 00:18</p> +<p>Last Updated: 22 January 25 at 00:18</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 e2275480c9..745f821e5c 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 7fda1b680e..926f0ccafb 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: 21 January 25 at 00:19</p> +<p>Last Updated: 22 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 d6189109b2..835cead8e8 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 4d14ad42ab..e23520b039 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: 21 January 25 at 00:21</p> +<p>Last Updated: 22 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 9601d43a28..70c1330e90 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 3d1a8ec358..14de3f37a4 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: 21 January 25 at 00:22</p> +<p>Last Updated: 22 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 4ec3407829..b7855afc1d 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 94a7891db1..91dc3406b6 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: 21 January 25 at 00:24</p> +<p>Last Updated: 22 January 25 at 00:24</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 411f5fa796..e24025ff2c 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/mcp9600.rst.txt b/content/docs/latest/_sources/components/drivers/special/sensors/mcp9600.rst.txt index 1d7852b45f..cabf949189 100644 --- a/content/docs/latest/_sources/components/drivers/special/sensors/mcp9600.rst.txt +++ b/content/docs/latest/_sources/components/drivers/special/sensors/mcp9600.rst.txt @@ -1,10 +1,12 @@ +======= MCP9600 ======= Contributed by Matteo Golin. -The MCP9600 is a thermocouple EMF to temperature converter made by Microchip. It is also sold as a `breakout board module -by Adafruit <https://learn.adafruit.com/adafruit-mcp9600-i2c-thermocouple-amplifier>`_. +The MCP9600 is a thermocouple EMF to temperature converter made by Microchip. It +is also sold as a `breakout board module by Adafruit +<https://learn.adafruit.com/adafruit-mcp9600-i2c-thermocouple-amplifier>`_. Application Programming Interface ================================== @@ -15,26 +17,63 @@ The header file for the MCP9600 driver interface can be included using: #include <nuttx/sensors/mcp9600.h> -The MCP9600 registration function allows the driver to be registered as a POSIX -character driver. +The MCP9600 registration function allows the driver to be registered as a +:doc:`UORB </components/drivers/special/sensors/sensors_uorb>` sensor. + +The MCP9600 measures three types of temperature: + * Hot junction temperature + * Cold junction temperature + * Temperature delta + +Registering this sensor will create three UORB temperature topics, each with +their own unique device number. You must specify the unique device numbers for +each topic in the registration function: + +.. code-block:: c + + /* Registers sensor_temp1, sensor_temp2 and sensor_temp 3, where 1 is the + * hot junction topic, 2 is the cold junction topic and 3 is the delta + */ -The standard POSIX `read()` operation will return the device information in -plain-text, which is useful when debugging/testing the driver using `cat` from -the shell. + int err; + err = mcp9600_register(i2c_master, 0x60, 1, 2, 3); + if (err < 0) { + syslog(LOG_ERR, "Could not register MCP9600: %d\n", err); + } -The `write()` operation is not implemented for this sensor. -Specific operations the sensor offers can be performed via the POSIX `ioctl` -operation. The supported commands are: +This sensor offers some additional control commands for features that are not +accessible with the standard UORB interface. + * :c:macro:`SNIOC_SET_THERMO` * :c:macro:`SNIOC_WHO_AM_I` * :c:macro:`SNIOC_READ_RAW_DATA` * :c:macro:`SNIOC_CHECK_STATUS_REG` * :c:macro:`SNIOC_CONFIGURE` * :c:macro:`SNIOC_WRITECONF` - * :c:macro:`SNIOC_READTEMP` - * :c:macro:`SNIOC_SHUTDOWN` - * :c:macro:`SNIOC_START` + +``SNIOC_SET_THERMO`` +-------------------- + +This command configures the thermocouple type of the MCP9600. The device +supports the following thermocouple types: + + * K + * J + * T + * N + * E + * S + * B + * R + +.. code-block:: c + + int err; + err = orb_ioctl(sensor, SNIOC_SET_THERMO, SENSOR_THERMO_TYPE_J); + if (err < 0) { + syslog(LOG_ERR, "Failed to set thermocouple type: %d\n", err); + } ``SNIOC_WHO_AM_I`` ------------------ @@ -46,7 +85,7 @@ type ``struct mcp9600_devinfo_s *``. .. code-block:: c struct mcp9600_devinfo_s devinfo; - err = ioctl(sensor, SNIOC_WHO_AM_I, &devinfo); + err = orb_ioctl(sensor, SNIOC_WHO_AM_I, &devinfo); uint8_t revision_minor = MCP9600_REV_MINOR(devinfo.revision); uint8_t revision_major = MCP9600_REV_MAJOR(devinfo.revision); @@ -64,7 +103,7 @@ configured resolution; consult the data sheet. .. code-block:: c int32_t raw; - err = ioctl(sensor, SNIOC_READ_RAW_DATA, &raw); + err = orb_ioctl(sensor, SNIOC_READ_RAW_DATA, &raw); ``SNIOC_CHECK_STATUS_REG`` -------------------------- @@ -75,7 +114,7 @@ this command must be a pointer to type ``struct mcp9600_status_s``. .. code-block:: c struct mcp9600_status_s status; - err = ioctl(sensor, SNIOC_CHECK_STATUS_REG, &status); + err = orb_ioctl(sensor, SNIOC_CHECK_STATUS_REG, &status); ``SNIOC_CONFIGURE`` ------------------- @@ -93,7 +132,7 @@ mcp9600_devconf_s``. .resolution = MCP9600_ADC_RES_18, /* More fields ... */ }; - err = ioctl(sensor, SNIOC_CONFIGURE, &conf); + err = orb_ioctl(sensor, SNIOC_CONFIGURE, &conf); ``SNIOC_WRITECONF`` ------------------- @@ -111,36 +150,4 @@ mcp9600_alertconf_s``. .limit = 40 / 0.25, /* More fields ... */ }; - err = ioctl(sensor, SNIOC_WRITECONF, &conf); - -``SNIOC_READTEMP`` ------------------- - -This command lets you read the three different types of temperature that the -MCP9600 can measure. The argument to this command must be a pointer to type -``struct mcp9600_temp_s``. - -.. code-block:: c - - struct mcp9600_temp_s temps; - err = ioctl(sensor, SNIOC_READTEMP, &temps); - - printf("Temperature: %d C\n", temps.hot_junc); - -``SNIOC_SHUTDOWN`` ------------------- - -This command shuts down the sensor. It takes no arguments. - -.. code-block:: c - - err = ioctl(sensor, SNIOC_SHUTDOWN, NULL); - -``SNIOC_START`` ---------------- - -This command starts the sensor in normal mode. It takes no arguments. - -.. code-block:: c - - err = ioctl(sensor, SNIOC_START, NULL); + err = orb_ioctl(sensor, SNIOC_WRITECONF, &conf); 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 4e6f829ba2..01006c8ddd 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 @@ -109,10 +109,6 @@ the rest is filled by the upper half. ``nbuffer`` specifies the length of the ring buffer in the upper half driver; -``uncalibrated`` indicates whether the data reported by the lower half driver is -uncalibrated. If true, it means uncalibrated data is reported, and the registered -device node will have a suffix ``_uncal``. - ``ops`` represents the set of sensor operations implemented by the lower half driver. ``push_event`` and ``notify_event`` are not used simultaneously and are filled @@ -139,7 +135,6 @@ used for sensor_rpmsg. { int type; unsigned long nbuffer; - bool uncalibrated; FAR const struct sensor_ops_s *ops; union diff --git a/content/docs/latest/_sources/guides/rust.rst.txt b/content/docs/latest/_sources/guides/rust.rst.txt index 724496a015..cd82c1125e 100644 --- a/content/docs/latest/_sources/guides/rust.rst.txt +++ b/content/docs/latest/_sources/guides/rust.rst.txt @@ -25,8 +25,8 @@ Prerequisites Supported Platforms =================== -- AArch64 (WIP) -- ARMv7-A (WIP) +- AArch64 +- ARMv7-A - ARMv6-M - ARMv7-M - ARMv8-M @@ -47,6 +47,7 @@ Please refer to the official Rust installation guide for more details: https://w 2. Prepare NuttX build environment Please ensure that you have a working NuttX build environment, and with the following PR merged or cherry-picked: + - https://github.com/apache/nuttx-apps/pull/2487 - https://github.com/apache/nuttx/pull/15469 diff --git a/content/docs/latest/components/drivers/special/sensors.html b/content/docs/latest/components/drivers/special/sensors.html index 5b25d151c0..083fc702a4 100644 --- a/content/docs/latest/components/drivers/special/sensors.html +++ b/content/docs/latest/components/drivers/special/sensors.html @@ -155,7 +155,6 @@ <li class="toctree-l5"><a class="reference internal" href="sensors/ak09912.html">AK09912</a></li> <li class="toctree-l5"><a class="reference internal" href="sensors/lsm330.html">LSM330_SPI</a></li> <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/mcp9600.html#application-programming-interface">Application Programming Interface</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> </ul> diff --git a/content/docs/latest/components/drivers/special/sensors/adt7320.html b/content/docs/latest/components/drivers/special/sensors/adt7320.html index bcdeaf5aca..d2caf16a8c 100644 --- a/content/docs/latest/components/drivers/special/sensors/adt7320.html +++ b/content/docs/latest/components/drivers/special/sensors/adt7320.html @@ -155,7 +155,6 @@ <li class="toctree-l5"><a class="reference internal" href="ak09912.html">AK09912</a></li> <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="mcp9600.html#application-programming-interface">Application Programming Interface</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> </ul> diff --git a/content/docs/latest/components/drivers/special/sensors/adxl345.html b/content/docs/latest/components/drivers/special/sensors/adxl345.html index e068af3a44..7267d3d9ab 100644 --- a/content/docs/latest/components/drivers/special/sensors/adxl345.html +++ b/content/docs/latest/components/drivers/special/sensors/adxl345.html @@ -155,7 +155,6 @@ <li class="toctree-l5"><a class="reference internal" href="ak09912.html">AK09912</a></li> <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="mcp9600.html#application-programming-interface">Application Programming Interface</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> </ul> diff --git a/content/docs/latest/components/drivers/special/sensors/adxl362.html b/content/docs/latest/components/drivers/special/sensors/adxl362.html index fb2f25272b..a854ae65f7 100644 --- a/content/docs/latest/components/drivers/special/sensors/adxl362.html +++ b/content/docs/latest/components/drivers/special/sensors/adxl362.html @@ -155,7 +155,6 @@ <li class="toctree-l5"><a class="reference internal" href="ak09912.html">AK09912</a></li> <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="mcp9600.html#application-programming-interface">Application Programming Interface</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> </ul> diff --git a/content/docs/latest/components/drivers/special/sensors/adxl372.html b/content/docs/latest/components/drivers/special/sensors/adxl372.html index e74dfdb343..cc95a28fdd 100644 --- a/content/docs/latest/components/drivers/special/sensors/adxl372.html +++ b/content/docs/latest/components/drivers/special/sensors/adxl372.html @@ -155,7 +155,6 @@ <li class="toctree-l5"><a class="reference internal" href="ak09912.html">AK09912</a></li> <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="mcp9600.html#application-programming-interface">Application Programming Interface</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> </ul> diff --git a/content/docs/latest/components/drivers/special/sensors/aht10.html b/content/docs/latest/components/drivers/special/sensors/aht10.html index 74ef5df7a8..6cf0bc52ae 100644 --- a/content/docs/latest/components/drivers/special/sensors/aht10.html +++ b/content/docs/latest/components/drivers/special/sensors/aht10.html @@ -155,7 +155,6 @@ <li class="toctree-l5"><a class="reference internal" href="ak09912.html">AK09912</a></li> <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="mcp9600.html#application-programming-interface">Application Programming Interface</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> </ul> diff --git a/content/docs/latest/components/drivers/special/sensors/ak09912.html b/content/docs/latest/components/drivers/special/sensors/ak09912.html index c396767e27..cb62ab8765 100644 --- a/content/docs/latest/components/drivers/special/sensors/ak09912.html +++ b/content/docs/latest/components/drivers/special/sensors/ak09912.html @@ -155,7 +155,6 @@ <li class="toctree-l5 current"><a class="current reference internal" href="#">AK09912</a></li> <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="mcp9600.html#application-programming-interface">Application Programming Interface</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> </ul> diff --git a/content/docs/latest/components/drivers/special/sensors/lsm330.html b/content/docs/latest/components/drivers/special/sensors/lsm330.html index 665883b7b5..4eaad339f9 100644 --- a/content/docs/latest/components/drivers/special/sensors/lsm330.html +++ b/content/docs/latest/components/drivers/special/sensors/lsm330.html @@ -155,7 +155,6 @@ <li class="toctree-l5"><a class="reference internal" href="ak09912.html">AK09912</a></li> <li class="toctree-l5 current"><a class="current reference internal" href="#">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="mcp9600.html#application-programming-interface">Application Programming Interface</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> </ul> diff --git a/content/docs/latest/components/drivers/special/sensors/mcp9600.html b/content/docs/latest/components/drivers/special/sensors/mcp9600.html index 88a9622727..dbde3a4a66 100644 --- a/content/docs/latest/components/drivers/special/sensors/mcp9600.html +++ b/content/docs/latest/components/drivers/special/sensors/mcp9600.html @@ -155,7 +155,6 @@ <li class="toctree-l5"><a class="reference internal" href="ak09912.html">AK09912</a></li> <li class="toctree-l5"><a class="reference internal" href="lsm330.html">LSM330_SPI</a></li> <li class="toctree-l5 current"><a class="current reference internal" href="#">MCP9600</a></li> -<li class="toctree-l5"><a class="reference internal" href="#application-programming-interface">Application Programming Interface</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> </ul> @@ -246,42 +245,81 @@ <section id="mcp9600"> <h1>MCP9600<a class="headerlink" href="#mcp9600" title="Permalink to this heading"></a></h1> <p>Contributed by Matteo Golin.</p> -<p>The MCP9600 is a thermocouple EMF to temperature converter made by Microchip. It is also sold as a <a class="reference external" href="https://learn.adafruit.com/adafruit-mcp9600-i2c-thermocouple-amplifier">breakout board module -by Adafruit</a>.</p> -</section> +<p>The MCP9600 is a thermocouple EMF to temperature converter made by Microchip. It +is also sold as a <a class="reference external" href="https://learn.adafruit.com/adafruit-mcp9600-i2c-thermocouple-amplifier">breakout board module by Adafruit</a>.</p> <section id="application-programming-interface"> -<h1>Application Programming Interface<a class="headerlink" href="#application-programming-interface" title="Permalink to this heading"></a></h1> +<h2>Application Programming Interface<a class="headerlink" href="#application-programming-interface" title="Permalink to this heading"></a></h2> <p>The header file for the MCP9600 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/mcp9600.h></span> </pre></div> </div> -<p>The MCP9600 registration function allows the driver to be registered as a POSIX -character driver.</p> -<p>The standard POSIX <cite>read()</cite> operation will return the device information in -plain-text, which is useful when debugging/testing the driver using <cite>cat</cite> from -the shell.</p> -<p>The <cite>write()</cite> operation is not implemented for this sensor.</p> -<p>Specific operations the sensor offers can be performed via the POSIX <cite>ioctl</cite> -operation. The supported commands are:</p> +<p>The MCP9600 registration function allows the driver to be registered as a +<a class="reference internal" href="sensors_uorb.html"><span class="doc">UORB</span></a> sensor.</p> +<dl class="simple"> +<dt>The MCP9600 measures three types of temperature:</dt><dd><ul class="simple"> +<li><p>Hot junction temperature</p></li> +<li><p>Cold junction temperature</p></li> +<li><p>Temperature delta</p></li> +</ul> +</dd> +</dl> +<p>Registering this sensor will create three UORB temperature topics, each with +their own unique device number. You must specify the unique device numbers for +each topic in the registration function:</p> +<div class="highlight-c notranslate"><div class="highlight"><pre><span></span><span class="cm">/* Registers sensor_temp1, sensor_temp2 and sensor_temp 3, where 1 is the</span> +<span class="cm"> * hot junction topic, 2 is the cold junction topic and 3 is the delta</span> +<span class="cm"> */</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">mcp9600_register</span><span class="p">(</span><span class="n">i2c_master</span><span class="p">,</span><span class="w"> </span><span class="mh">0x60</span><span class="p">,</span><span class="w"> </span><span class="mi">1</span><span class="p">,</span><span class="w"> </span><span class="mi">2</span><span class="p">,</span><span class="w"> </span><span class="mi">3</span><sp [...] +<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="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 MCP9600: %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>This sensor offers some additional control commands for features that are not +accessible with the standard UORB interface.</p> <blockquote> <div><ul class="simple"> +<li><p><code class="xref c c-macro docutils literal notranslate"><span class="pre">SNIOC_SET_THERMO</span></code></p></li> <li><p><code class="xref c c-macro docutils literal notranslate"><span class="pre">SNIOC_WHO_AM_I</span></code></p></li> <li><p><code class="xref c c-macro docutils literal notranslate"><span class="pre">SNIOC_READ_RAW_DATA</span></code></p></li> <li><p><code class="xref c c-macro docutils literal notranslate"><span class="pre">SNIOC_CHECK_STATUS_REG</span></code></p></li> <li><p><code class="xref c c-macro docutils literal notranslate"><span class="pre">SNIOC_CONFIGURE</span></code></p></li> <li><p><code class="xref c c-macro docutils literal notranslate"><span class="pre">SNIOC_WRITECONF</span></code></p></li> -<li><p><code class="xref c c-macro docutils literal notranslate"><span class="pre">SNIOC_READTEMP</span></code></p></li> -<li><p><code class="xref c c-macro docutils literal notranslate"><span class="pre">SNIOC_SHUTDOWN</span></code></p></li> -<li><p><code class="xref c c-macro docutils literal notranslate"><span class="pre">SNIOC_START</span></code></p></li> </ul> </div></blockquote> +<section id="snioc-set-thermo"> +<h3><code class="docutils literal notranslate"><span class="pre">SNIOC_SET_THERMO</span></code><a class="headerlink" href="#snioc-set-thermo" title="Permalink to this heading"></a></h3> +<p>This command configures the thermocouple type of the MCP9600. The device +supports the following thermocouple types:</p> +<blockquote> +<div><ul class="simple"> +<li><p>K</p></li> +<li><p>J</p></li> +<li><p>T</p></li> +<li><p>N</p></li> +<li><p>E</p></li> +<li><p>S</p></li> +<li><p>B</p></li> +<li><p>R</p></li> +</ul> +</div></blockquote> +<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">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_THERMO</span><span class="p">,</span><span class="w"> </span><span class="n">SENSOR_THERMO_TYPE_J</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="w"> </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">"Failed to set thermocouple type: %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> +</section> <section id="snioc-who-am-i"> -<h2><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></h2> +<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 device ID register of the MCP9600 sensor. The device ID, major and minor revision numbers are returned in the argument, which must be of type <code class="docutils literal notranslate"><span class="pre">struct</span> <span class="pre">mcp9600_devinfo_s</span> <span class="pre">*</span></code>.</p> <div class="highlight-c notranslate"><div class="highlight"><pre><span></span><span class="k">struct</span><span class="w"> </span><span class="nc">mcp9600_devinfo_s</span><span class="w"> </span><span class="n">devinfo</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">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">devinfo</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">devinfo</span><span class="p">);</span> <span class="kt">uint8_t</span><span class="w"> </span><span class="n">revision_minor</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">MCP9600_REV_MINOR</span><span class="p">(</span><span class="n">devinfo</span><span class="p">.</span><span class="n">revision</span><span class="p">);</span> <span class="kt">uint8_t</span><span class="w"> </span><span class="n">revision_major</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">MCP9600_REV_MAJOR</span><span class="p">(</span><span class="n">devinfo</span><span class="p">.</span><span class="n">revision</span><span class="p">);</span> @@ -289,28 +327,28 @@ type <code class="docutils literal notranslate"><span class="pre">struct</span> </div> </section> <section id="snioc-read-raw-data"> -<h2><code class="docutils literal notranslate"><span class="pre">SNIOC_READ_RAW_DATA</span></code><a class="headerlink" href="#snioc-read-raw-data" title="Permalink to this heading"></a></h2> +<h3><code class="docutils literal notranslate"><span class="pre">SNIOC_READ_RAW_DATA</span></code><a class="headerlink" href="#snioc-read-raw-data" title="Permalink to this heading"></a></h3> <p>This command allows the caller to read the raw data returned from the sensor’s ADC.</p> <p>The argument to this command must be an <code class="docutils literal notranslate"><span class="pre">int32_t</span></code> pointer. The raw data will be returned here. The process to convert the raw ADC data depends on the configured resolution; consult the data sheet.</p> <div class="highlight-c notranslate"><div class="highlight"><pre><span></span><span class="kt">int32_t</span><span class="w"> </span><span class="n">raw</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">ioctl</span><span class="p">(</span><span class="n">sensor</span><span class="p">,</span><span class="w"> </span><span class="n">SNIOC_READ_RAW_DATA</span><span class="p">,</span><span class="w"> </span><span class="o">&</span><span class="n">raw</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_READ_RAW_DATA</span><span class="p">,</span><span class="w"> </span><span class="o">&</span><span class="n">raw</span><span class="p">);</span> </pre></div> </div> </section> <section id="snioc-check-status-reg"> -<h2><code class="docutils literal notranslate"><span class="pre">SNIOC_CHECK_STATUS_REG</span></code><a class="headerlink" href="#snioc-check-status-reg" title="Permalink to this heading"></a></h2> +<h3><code class="docutils literal notranslate"><span class="pre">SNIOC_CHECK_STATUS_REG</span></code><a class="headerlink" href="#snioc-check-status-reg" title="Permalink to this heading"></a></h3> <p>This command lets you check the status register of the device. The argument to this command must be a pointer to type <code class="docutils literal notranslate"><span class="pre">struct</span> <span class="pre">mcp9600_status_s</span></code>.</p> <div class="highlight-c notranslate"><div class="highlight"><pre><span></span><span class="k">struct</span><span class="w"> </span><span class="nc">mcp9600_status_s</span><span class="w"> </span><span class="n">status</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">ioctl</span><span class="p">(</span><span class="n">sensor</span><span class="p">,</span><span class="w"> </span><span class="n">SNIOC_CHECK_STATUS_REG</span><span class="p">,</span><span class="w"> </span><span class="o">&</span><span class="n">status</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_CHECK_STATUS_REG</span><span class="p">,</span><span class="w"> </span><span class="o">&</span><span class="n">status</span><span class="p">);</span> </pre></div> </div> </section> <section id="snioc-configure"> -<h2><code class="docutils literal notranslate"><span class="pre">SNIOC_CONFIGURE</span></code><a class="headerlink" href="#snioc-configure" title="Permalink to this heading"></a></h2> +<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 lets you configure the MCP9600’s operation, including thermocouple type, operating mode, ADC resolution, etc.</p> <p>The argument to this command must be a pointer to type <code class="docutils literal notranslate"><span class="pre">struct</span> @@ -320,12 +358,12 @@ type, operating mode, ADC resolution, etc.</p> <span class="w"> </span><span class="p">.</span><span class="n">resolution</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">MCP9600_ADC_RES_18</span><span class="p">,</span> <span class="w"> </span><span class="cm">/* More fields ... */</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">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="o">&</span><span class="n">conf</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_CONFIGURE</span><span class="p">,</span><span class="w"> </span><span class="o">&</span><span class="n">conf</span><span class="p">);</span> </pre></div> </div> </section> <section id="snioc-writeconf"> -<h2><code class="docutils literal notranslate"><span class="pre">SNIOC_WRITECONF</span></code><a class="headerlink" href="#snioc-writeconf" title="Permalink to this heading"></a></h2> +<h3><code class="docutils literal notranslate"><span class="pre">SNIOC_WRITECONF</span></code><a class="headerlink" href="#snioc-writeconf" title="Permalink to this heading"></a></h3> <p>This command lets you configure the MCP9600’s alerts on a per-alert basis.</p> <p>The argument to this command must be a pointer to type <code class="docutils literal notranslate"><span class="pre">struct</span> <span class="pre">mcp9600_alertconf_s</span></code>.</p> @@ -335,35 +373,10 @@ type, operating mode, ADC resolution, etc.</p> <span class="w"> </span><span class="p">.</span><span class="n">limit</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="mi">40</span><span class="w"> </span><span class="o">/</span><span class="w"> </span><span class="mf">0.25</span><span class="p">,</span> <span class="w"> </span><span class="cm">/* More fields ... */</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">ioctl</span><span class="p">(</span><span class="n">sensor</span><span class="p">,</span><span class="w"> </span><span class="n">SNIOC_WRITECONF</span><span class="p">,</span><span class="w"> </span><span class="o">&</span><span class="n">conf</span><span class="p">);</span> -</pre></div> -</div> -</section> -<section id="snioc-readtemp"> -<h2><code class="docutils literal notranslate"><span class="pre">SNIOC_READTEMP</span></code><a class="headerlink" href="#snioc-readtemp" title="Permalink to this heading"></a></h2> -<p>This command lets you read the three different types of temperature that the -MCP9600 can measure. The argument to this command must be a pointer to type -<code class="docutils literal notranslate"><span class="pre">struct</span> <span class="pre">mcp9600_temp_s</span></code>.</p> -<div class="highlight-c notranslate"><div class="highlight"><pre><span></span><span class="k">struct</span><span class="w"> </span><span class="nc">mcp9600_temp_s</span><span class="w"> </span><span class="n">temps</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">ioctl</span><span class="p">(</span><span class="n">sensor</span><span class="p">,</span><span class="w"> </span><span class="n">SNIOC_READTEMP</span><span class="p">,</span><span class="w"> </span><span class="o">&</span><span class="n">temps</span><span class="p">);</span> - -<span class="n">printf</span><span class="p">(</span><span class="s">"Temperature: %d C</span><span class="se">\n</span><span class="s">"</span><span class="p">,</span><span class="w"> </span><span class="n">temps</span><span class="p">.</span><span class="n">hot_junc</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_WRITECONF</span><span class="p">,</span><span class="w"> </span><span class="o">&</span><span class="n">conf</span><span class="p">);</span> </pre></div> </div> </section> -<section id="snioc-shutdown"> -<h2><code class="docutils literal notranslate"><span class="pre">SNIOC_SHUTDOWN</span></code><a class="headerlink" href="#snioc-shutdown" title="Permalink to this heading"></a></h2> -<p>This command shuts down the sensor. It takes no arguments.</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">ioctl</span><span class="p">(</span><span class="n">sensor</span><span class="p">,</span><span class="w"> </span><span class="n">SNIOC_SHUTDOWN</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-start"> -<h2><code class="docutils literal notranslate"><span class="pre">SNIOC_START</span></code><a class="headerlink" href="#snioc-start" title="Permalink to this heading"></a></h2> -<p>This command starts the sensor in normal mode. It takes no arguments.</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">ioctl</span><span class="p">(</span><span class="n">sensor</span><span class="p">,</span><span class="w"> </span><span class="n">SNIOC_START</span><span class="p">,</span><span class="w"> </span><span class="nb">NULL</span><span class="p">);</span> -</pre></div> -</div> </section> </section> diff --git a/content/docs/latest/components/drivers/special/sensors/mpl115a.html b/content/docs/latest/components/drivers/special/sensors/mpl115a.html index a1759f423b..5a02e4aece 100644 --- a/content/docs/latest/components/drivers/special/sensors/mpl115a.html +++ b/content/docs/latest/components/drivers/special/sensors/mpl115a.html @@ -155,7 +155,6 @@ <li class="toctree-l5"><a class="reference internal" href="ak09912.html">AK09912</a></li> <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="mcp9600.html#application-programming-interface">Application Programming Interface</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> </ul> 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 38cc80a3b3..ec38267b82 100644 --- a/content/docs/latest/components/drivers/special/sensors/sensors_cluster.html +++ b/content/docs/latest/components/drivers/special/sensors/sensors_cluster.html @@ -155,7 +155,6 @@ <li class="toctree-l5"><a class="reference internal" href="ak09912.html">AK09912</a></li> <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="mcp9600.html#application-programming-interface">Application Programming Interface</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> </ul> 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 3b637b57d6..c0a37d332e 100644 --- a/content/docs/latest/components/drivers/special/sensors/sensors_legacy.html +++ b/content/docs/latest/components/drivers/special/sensors/sensors_legacy.html @@ -155,7 +155,6 @@ <li class="toctree-l5"><a class="reference internal" href="ak09912.html">AK09912</a></li> <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="mcp9600.html#application-programming-interface">Application Programming Interface</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> </ul> 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 eb0b16b85b..730f370095 100644 --- a/content/docs/latest/components/drivers/special/sensors/sensors_uorb.html +++ b/content/docs/latest/components/drivers/special/sensors/sensors_uorb.html @@ -155,7 +155,6 @@ <li class="toctree-l5"><a class="reference internal" href="ak09912.html">AK09912</a></li> <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="mcp9600.html#application-programming-interface">Application Programming Interface</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> </ul> @@ -327,9 +326,6 @@ the upper half for exposing data reporting interfaces.</p> the rest is filled by the upper half.</p> <p><code class="docutils literal notranslate"><span class="pre">type</span></code> indicates the sensor type: <code class="docutils literal notranslate"><span class="pre">SENSOR_TYPE_XXX</span></code></p> <p><code class="docutils literal notranslate"><span class="pre">nbuffer</span></code> specifies the length of the ring buffer in the upper half driver;</p> -<p><code class="docutils literal notranslate"><span class="pre">uncalibrated</span></code> indicates whether the data reported by the lower half driver is -uncalibrated. If true, it means uncalibrated data is reported, and the registered -device node will have a suffix <code class="docutils literal notranslate"><span class="pre">_uncal</span></code>.</p> <p><code class="docutils literal notranslate"><span class="pre">ops</span></code> represents the set of sensor operations implemented by the lower half driver.</p> <p><code class="docutils literal notranslate"><span class="pre">push_event</span></code> and <code class="docutils literal notranslate"><span class="pre">notify_event</span></code> are not used simultaneously and are filled by the upper half.</p> @@ -347,7 +343,6 @@ used for sensor_rpmsg.</p> <span class="p">{</span> <span class="w"> </span><span class="kt">int</span><span class="w"> </span><span class="n">type</span><span class="p">;</span> <span class="w"> </span><span class="kt">unsigned</span><span class="w"> </span><span class="kt">long</span><span class="w"> </span><span class="n">nbuffer</span><span class="p">;</span> -<span class="w"> </span><span class="kt">bool</span><span class="w"> </span><span class="n">uncalibrated</span><span class="p">;</span> <span class="w"> </span><span class="n">FAR</span><span class="w"> </span><span class="k">const</span><span class="w"> </span><span class="k">struct</span><span class="w"> </span><span class="nc">sensor_ops_s</span><span class="w"> </span><span class="o">*</span><span class="n">ops</span><span class="p">;</span> <span class="w"> </span><span class="k">union</span> diff --git a/content/docs/latest/components/drivers/special/sensors/sht4x.html b/content/docs/latest/components/drivers/special/sensors/sht4x.html index 77bfaef7aa..514330227f 100644 --- a/content/docs/latest/components/drivers/special/sensors/sht4x.html +++ b/content/docs/latest/components/drivers/special/sensors/sht4x.html @@ -155,7 +155,6 @@ <li class="toctree-l5"><a class="reference internal" href="ak09912.html">AK09912</a></li> <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="mcp9600.html#application-programming-interface">Application Programming Interface</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> </ul> diff --git a/content/docs/latest/guides/rust.html b/content/docs/latest/guides/rust.html index 0f1a9b289a..4deb3475e6 100644 --- a/content/docs/latest/guides/rust.html +++ b/content/docs/latest/guides/rust.html @@ -258,8 +258,8 @@ language features while maintaining its small footprint and real-time capabiliti <section id="supported-platforms"> <h2>Supported Platforms<a class="headerlink" href="#supported-platforms" title="Permalink to this heading"></a></h2> <ul class="simple"> -<li><p>AArch64 (WIP)</p></li> -<li><p>ARMv7-A (WIP)</p></li> +<li><p>AArch64</p></li> +<li><p>ARMv7-A</p></li> <li><p>ARMv6-M</p></li> <li><p>ARMv7-M</p></li> <li><p>ARMv8-M</p></li> @@ -280,9 +280,11 @@ rustup<span class="w"> </span>default<span class="w"> </span>nightly <ol class="arabic simple" start="2"> <li><p>Prepare NuttX build environment</p></li> </ol> -<p>Please ensure that you have a working NuttX build environment, and with the following PR merged or cherry-picked: -- <a class="reference external" href="https://github.com/apache/nuttx-apps/pull/2487">https://github.com/apache/nuttx-apps/pull/2487</a> -- <a class="reference external" href="https://github.com/apache/nuttx/pull/15469">https://github.com/apache/nuttx/pull/15469</a></p> +<p>Please ensure that you have a working NuttX build environment, and with the following PR merged or cherry-picked:</p> +<ul class="simple"> +<li><p><a class="reference external" href="https://github.com/apache/nuttx-apps/pull/2487">https://github.com/apache/nuttx-apps/pull/2487</a></p></li> +<li><p><a class="reference external" href="https://github.com/apache/nuttx/pull/15469">https://github.com/apache/nuttx/pull/15469</a></p></li> +</ul> <ol class="arabic simple" start="3"> <li><p>Enable essential kernel configurations</p></li> </ol> diff --git a/content/docs/latest/index.html b/content/docs/latest/index.html index 602ffd3800..5001008250 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: 21 January 25 at 00:25</p> +<p>Last Updated: 22 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 84eb47b0e8..7c39d062ba 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 ac4525e921..d79df64d3a 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 e41fbeefa0..ec1c56861c 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, 21 Jan 2025 00:27:53 +0000</pubDate> - <lastBuildDate>Tue, 21 Jan 2025 00:27:53 +0000</lastBuildDate> + <pubDate>Wed, 22 Jan 2025 00:27:41 +0000</pubDate> + <lastBuildDate>Wed, 22 Jan 2025 00:27:41 +0000</lastBuildDate> <generator>Jekyll v4.3.2</generator> <item>