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 fc7fa9840 Publishing web: 6f43cfb03f4b427e9277e6d3064476fa7ea61660
docs: 974da1244884eb983309666492789e5f21a05310
fc7fa9840 is described below
commit fc7fa984058a3a871c87158811be46775db100a9
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
AuthorDate: Wed Oct 23 00:24:02 2024 +0000
Publishing web: 6f43cfb03f4b427e9277e6d3064476fa7ea61660 docs:
974da1244884eb983309666492789e5f21a05310
---
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 +-
.../applications/examples/adc/index.rst.txt | 2 +
.../character/analog/adc/mcp3008/index.rst.txt | 119 ++++++++++++++++++
.../latest/applications/examples/adc/index.html | 2 +-
.../drivers/character/analog/adc/index.html | 1 +
.../character/analog/adc/max1161x/index.html | 4 +-
.../analog/adc/{pga11x => mcp3008}/index.html | 140 +++++++++++++++++++--
.../drivers/character/analog/adc/pga11x/index.html | 4 +-
content/docs/latest/genindex.html | 2 +
content/docs/latest/index.html | 2 +-
content/docs/latest/objects.inv | Bin 126335 -> 126425 bytes
content/docs/latest/searchindex.js | 2 +-
content/feed.xml | 4 +-
36 files changed, 285 insertions(+), 45 deletions(-)
diff --git a/content/docs/10.0.0/index.html b/content/docs/10.0.0/index.html
index 0bb902af9..18a35c513 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: 22 October 24 at 00:12</p>
+<p>Last Updated: 23 October 24 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 bcd382c50..75846e41e 100644
--- a/content/docs/10.0.1/index.html
+++ b/content/docs/10.0.1/index.html
@@ -237,7 +237,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: 22 October 24 at 00:13</p>
+<p>Last Updated: 23 October 24 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.1.0/index.html b/content/docs/10.1.0/index.html
index 99185a66d..eb14e44d8 100644
--- a/content/docs/10.1.0/index.html
+++ b/content/docs/10.1.0/index.html
@@ -237,7 +237,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: 22 October 24 at 00:13</p>
+<p>Last Updated: 23 October 24 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 7962df08e..fa5647a7d 100644
--- a/content/docs/10.2.0/index.html
+++ b/content/docs/10.2.0/index.html
@@ -238,7 +238,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: 22 October 24 at 00:13</p>
+<p>Last Updated: 23 October 24 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 a9713475f..fa5647a7d 100644
--- a/content/docs/10.3.0/index.html
+++ b/content/docs/10.3.0/index.html
@@ -238,7 +238,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: 22 October 24 at 00:14</p>
+<p>Last Updated: 23 October 24 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 a9713475f..13b93dba2 100644
--- a/content/docs/11.0.0/index.html
+++ b/content/docs/11.0.0/index.html
@@ -238,7 +238,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: 22 October 24 at 00:14</p>
+<p>Last Updated: 23 October 24 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 667405fc2..208dcf73e 100644
--- a/content/docs/12.0.0/index.html
+++ b/content/docs/12.0.0/index.html
@@ -163,7 +163,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: 22 October 24 at 00:14</p>
+<p>Last Updated: 23 October 24 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 369ad654c..113fbf848 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 a675103b9..f2b849969 100644
--- a/content/docs/12.1.0/index.html
+++ b/content/docs/12.1.0/index.html
@@ -163,7 +163,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: 22 October 24 at 00:15</p>
+<p>Last Updated: 23 October 24 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 ed7f5a710..abdc01ccf 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 1a4a088c5..0009432ad 100644
--- a/content/docs/12.2.0/index.html
+++ b/content/docs/12.2.0/index.html
@@ -164,7 +164,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: 22 October 24 at 00:15</p>
+<p>Last Updated: 23 October 24 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 c4fc523ff..3c8b486f0 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 1a4a088c5..0009432ad 100644
--- a/content/docs/12.2.1/index.html
+++ b/content/docs/12.2.1/index.html
@@ -164,7 +164,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: 22 October 24 at 00:15</p>
+<p>Last Updated: 23 October 24 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 a0cc3f20d..33ec2ec62 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 dfe20dd31..c72139f1e 100644
--- a/content/docs/12.3.0/index.html
+++ b/content/docs/12.3.0/index.html
@@ -164,7 +164,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: 22 October 24 at 00:16</p>
+<p>Last Updated: 23 October 24 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 1a12b9bca..a8342f46c 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 b0ff6bedd..304104878 100644
--- a/content/docs/12.4.0/index.html
+++ b/content/docs/12.4.0/index.html
@@ -171,7 +171,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: 22 October 24 at 00:17</p>
+<p>Last Updated: 23 October 24 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 a4f855d2d..a7a8860fe 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 46301c94b..426d12356 100644
--- a/content/docs/12.5.0/index.html
+++ b/content/docs/12.5.0/index.html
@@ -171,7 +171,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: 22 October 24 at 00:18</p>
+<p>Last Updated: 23 October 24 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 035056bb5..ff2df8541 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 f9727f9da..6fb486b72 100644
--- a/content/docs/12.5.1/index.html
+++ b/content/docs/12.5.1/index.html
@@ -171,7 +171,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: 22 October 24 at 00:19</p>
+<p>Last Updated: 23 October 24 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 f02325acf..c093b23ae 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 fc5bfeb72..c2b722959 100644
--- a/content/docs/12.6.0/index.html
+++ b/content/docs/12.6.0/index.html
@@ -172,7 +172,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: 22 October 24 at 00:21</p>
+<p>Last Updated: 23 October 24 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 ad3531dc3..8a180843a 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/latest/_sources/applications/examples/adc/index.rst.txt
b/content/docs/latest/_sources/applications/examples/adc/index.rst.txt
index 99272c0f6..699ff68b0 100644
--- a/content/docs/latest/_sources/applications/examples/adc/index.rst.txt
+++ b/content/docs/latest/_sources/applications/examples/adc/index.rst.txt
@@ -1,3 +1,5 @@
+.. _adc-example:
+
=====================
``adc`` Read from ADC
=====================
diff --git
a/content/docs/latest/_sources/components/drivers/character/analog/adc/mcp3008/index.rst.txt
b/content/docs/latest/_sources/components/drivers/character/analog/adc/mcp3008/index.rst.txt
new file mode 100644
index 000000000..06f4e47c7
--- /dev/null
+++
b/content/docs/latest/_sources/components/drivers/character/analog/adc/mcp3008/index.rst.txt
@@ -0,0 +1,119 @@
+=======
+MCP3008
+=======
+
+Contributed by Matteo Golin
+
+The MCP3008 is a 10-bit, 8-channel ADC made by Microchip which operates over
+SPI.
+
+There is the option to operate in single-ended mode, which measures the voltage
+on each channel individually, or differential mode which measures the voltage
+difference between pairs of channels.
+
+When operating in differential mode, the channel numbers below correspond to
the
+listed differential pairs:
+
+.. list-table:: Differential pair channel numbers
+ :widths: auto
+
+ * - Channel number
+ - Sources
+ * - 0
+ - CH0+, CH1-
+ * - 1
+ - CH0-, CH1+
+ * - 2
+ - CH2+, CH3-
+ * - 3
+ - CH2-, CH3+
+ * - 4
+ - CH4+, CH5-
+ * - 5
+ - CH4-, CH5+
+ * - 6
+ - CH6+, CH7-
+ * - 7
+ - CH6-, CH7+
+
+Driver Interface
+---------------------
+
+To register the MCP3008 device driver as a standard NuttX analog device on your
+board, you can use something similar to the below code for the RP2040.
+
+.. code-block:: c
+
+ #include <nuttx/analog/mcp3008.h>
+ #include <nuttx/analog/adc.h>
+
+ /* Register MCP3008 ADC */
+
+ struct spi_dev_s *spi = rp2040_spibus_initialize(0);
+ if (spi == NULL)
+ {
+ syslog(LOG_ERR, "Failed to initialize SPI bus 0\n");
+ }
+
+ struct adc_dev_s *mcp3008 = mcp3008_initialize(spi);
+ if (mcp3008 == NULL)
+ {
+ syslog(LOG_ERR, "Failed to initialize MCP3008\n");
+ }
+
+ int ret = adc_register("/dev/adc1", mcp3008);
+ if (ret < 0)
+ {
+ syslog(LOG_ERR, "Failed to register MCP3008 device driver: %d\n", ret);
+ }
+
+Once registered, this driver can be interacted with using the ADC example
+(:ref:`adc-example`). Be sure to enable the software trigger, since the MCP3008
+driver does not support hardware triggers (interrupts). You can also change the
+number of samples per group up to 8 for all 8 channels of the ADC.
+
+You may need to increase the `CONFIG_ADC_FIFOSIZE` value to something larger
+than 8 in order to be able to store all the ADC measurements after a
measurement
+trigger (i.e 9).
+
+You can configure the driver in differential mode by default using the
+`CONFIG_ADC_MCP3008_DIFFERENTIAL` configuration option.
+
+You can also configure the speed of SPI communications to the MCP3008 using the
+`CONFIG_ADC_MCP3008_SPI_FREQUENCY` configuration option. This speed should be
+selected based on the supply voltage used to power the MCP3008:
+
+.. list-table:: SPI frequencies for supply voltage
+ :widths: auto
+ :header-rows: 1
+
+ * - Supply Voltage
+ - Frequency
+ * - VDD >= 4V
+ - 3.6MHz
+ * - VDD >= 3.3V
+ - 2.34MHz
+ * - VDD = 2.7V
+ - 1.35MHz
+
+If you have a measurement from the MCP3008, you can convert it into a voltage
+like so:
+
+.. code-block:: c
+
+ #define VREF (3.3) /* Whatever voltage is used on the VREF pin */
+
+ struct adc_msg_s msg;
+
+ /* Some code here to read the ADC device, you can read the ADC driver docs
*/
+
+ double voltage = ((double)msg.am_data * VREF) / (1023.0);
+
+There is also an additional `ioctl()` command supported for the MCP3008 that
+permits you to switch from differential to single ended mode at runtime:
+
+.. c:macro:: ANIOC_MCP3008_DIFF
+
+This command changes the mode of the MCP3008 driver. The argument passed should
+be 0 to disable differential mode (and thus use single-ended mode), and 1 to
+enable differential mode. No other values are allowed.
diff --git a/content/docs/latest/applications/examples/adc/index.html
b/content/docs/latest/applications/examples/adc/index.html
index aa5f68d41..45e3413a9 100644
--- a/content/docs/latest/applications/examples/adc/index.html
+++ b/content/docs/latest/applications/examples/adc/index.html
@@ -370,7 +370,7 @@
<div itemprop="articleBody">
<section id="adc-read-from-adc">
-<h1><code class="docutils literal notranslate"><span
class="pre">adc</span></code> Read from ADC<a class="headerlink"
href="#adc-read-from-adc" title="Permalink to this heading"></a></h1>
+<span id="adc-example"></span><h1><code class="docutils literal
notranslate"><span class="pre">adc</span></code> Read from ADC<a
class="headerlink" href="#adc-read-from-adc" title="Permalink to this
heading"></a></h1>
<p>A mindlessly simple test of an ADC devices. It simply reads from the ADC
device
and dumps the data to the console forever.</p>
<p>This test depends on these specific ADC/NSH configurations settings (your
diff --git
a/content/docs/latest/components/drivers/character/analog/adc/index.html
b/content/docs/latest/components/drivers/character/analog/adc/index.html
index 118726cde..18ee6ee07 100644
--- a/content/docs/latest/components/drivers/character/analog/adc/index.html
+++ b/content/docs/latest/components/drivers/character/analog/adc/index.html
@@ -364,6 +364,7 @@ communicates with MCU with I2C or SPI peripherals.</p>
<li class="toctree-l1"><a class="reference internal"
href="hx711/index.html">Avia Semiconductor HX711</a></li>
<li class="toctree-l1"><a class="reference internal"
href="ltc1867l/index.html">LTC 1863L/1867L</a></li>
<li class="toctree-l1"><a class="reference internal"
href="max1161x/index.html">Maxim MAX11612-11617</a></li>
+<li class="toctree-l1"><a class="reference internal"
href="mcp3008/index.html">MCP3008</a></li>
<li class="toctree-l1"><a class="reference internal"
href="pga11x/index.html">TI PGA112/3/6/7</a></li>
</ul>
</div>
diff --git
a/content/docs/latest/components/drivers/character/analog/adc/max1161x/index.html
b/content/docs/latest/components/drivers/character/analog/adc/max1161x/index.html
index 67b1305ba..93bc2f636 100644
---
a/content/docs/latest/components/drivers/character/analog/adc/max1161x/index.html
+++
b/content/docs/latest/components/drivers/character/analog/adc/max1161x/index.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="TI PGA112/3/6/7" href="../pga11x/index.html" />
+ <link rel="next" title="MCP3008" href="../mcp3008/index.html" />
<link rel="prev" title="LTC 1863L/1867L" href="../ltc1867l/index.html" />
</head>
@@ -232,7 +232,7 @@ to work with DAtC drivers are provided in this header
file.</p></li>
</div>
<footer><div class="rst-footer-buttons" role="navigation"
aria-label="Footer">
<a href="../ltc1867l/index.html" class="btn btn-neutral float-left"
title="LTC 1863L/1867L" accesskey="p" rel="prev"><span class="fa
fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
- <a href="../pga11x/index.html" class="btn btn-neutral float-right"
title="TI PGA112/3/6/7" accesskey="n" rel="next">Next <span class="fa
fa-arrow-circle-right" aria-hidden="true"></span></a>
+ <a href="../mcp3008/index.html" class="btn btn-neutral float-right"
title="MCP3008" 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/components/drivers/character/analog/adc/pga11x/index.html
b/content/docs/latest/components/drivers/character/analog/adc/mcp3008/index.html
similarity index 62%
copy from
content/docs/latest/components/drivers/character/analog/adc/pga11x/index.html
copy to
content/docs/latest/components/drivers/character/analog/adc/mcp3008/index.html
index 34c442ea3..d3bcfa7ad 100644
---
a/content/docs/latest/components/drivers/character/analog/adc/pga11x/index.html
+++
b/content/docs/latest/components/drivers/character/analog/adc/mcp3008/index.html
@@ -25,7 +25,7 @@
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.18.1:
http://docutils.sourceforge.net/" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
- <title>TI PGA112/3/6/7 — NuttX latest documentation</title>
+ <title>MCP3008 — 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" />
@@ -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="DAC Drivers" href="../../dac/index.html" />
+ <link rel="next" title="TI PGA112/3/6/7" href="../pga11x/index.html" />
<link rel="prev" title="Maxim MAX11612-11617"
href="../max1161x/index.html" />
</head>
@@ -207,9 +207,9 @@
<li class="breadcrumb-item"><a href="../../../index.html">Character
Device Drivers</a></li>
<li class="breadcrumb-item"><a href="../../index.html">Analog
(ADC/DAC) Drivers</a></li>
<li class="breadcrumb-item"><a href="../index.html">ADC
Drivers</a></li>
- <li class="breadcrumb-item active">TI PGA112/3/6/7</li>
+ <li class="breadcrumb-item active">MCP3008</li>
<li class="wy-breadcrumbs-aside">
- <a
href="../../../../../../_sources/components/drivers/character/analog/adc/pga11x/index.rst.txt"
rel="nofollow"> View page source</a>
+ <a
href="../../../../../../_sources/components/drivers/character/analog/adc/mcp3008/index.rst.txt"
rel="nofollow"> View page source</a>
</li>
</ul>
<hr/>
@@ -217,13 +217,129 @@
<div role="main" class="document" itemscope="itemscope"
itemtype="http://schema.org/Article">
<div itemprop="articleBody">
- <section id="ti-pga112-3-6-7">
-<h1>TI PGA112/3/6/7<a class="headerlink" href="#ti-pga112-3-6-7"
title="Permalink to this heading"></a></h1>
-<p>PGA112, PGA113, PGA116, PGA117 Zero-Drift PROGRAMMABLE GAIN AMPLIFIER with
MUX.</p>
-<ul class="simple">
-<li><p><code class="docutils literal notranslate"><span
class="pre">include/nuttx/analog/pga11x.h</span></code>. All structures and
APIs needed
-to work with DAtC drivers are provided in this header file.</p></li>
-</ul>
+ <section id="mcp3008">
+<h1>MCP3008<a class="headerlink" href="#mcp3008" title="Permalink to this
heading"></a></h1>
+<p>Contributed by Matteo Golin</p>
+<p>The MCP3008 is a 10-bit, 8-channel ADC made by Microchip which operates over
+SPI.</p>
+<p>There is the option to operate in single-ended mode, which measures the
voltage
+on each channel individually, or differential mode which measures the voltage
+difference between pairs of channels.</p>
+<p>When operating in differential mode, the channel numbers below correspond
to the
+listed differential pairs:</p>
+<table class="docutils align-default" id="id1">
+<caption><span class="caption-text">Differential pair channel numbers</span><a
class="headerlink" href="#id1" title="Permalink to this table"></a></caption>
+<tbody>
+<tr class="row-odd"><td><p>Channel number</p></td>
+<td><p>Sources</p></td>
+</tr>
+<tr class="row-even"><td><p>0</p></td>
+<td><p>CH0+, CH1-</p></td>
+</tr>
+<tr class="row-odd"><td><p>1</p></td>
+<td><p>CH0-, CH1+</p></td>
+</tr>
+<tr class="row-even"><td><p>2</p></td>
+<td><p>CH2+, CH3-</p></td>
+</tr>
+<tr class="row-odd"><td><p>3</p></td>
+<td><p>CH2-, CH3+</p></td>
+</tr>
+<tr class="row-even"><td><p>4</p></td>
+<td><p>CH4+, CH5-</p></td>
+</tr>
+<tr class="row-odd"><td><p>5</p></td>
+<td><p>CH4-, CH5+</p></td>
+</tr>
+<tr class="row-even"><td><p>6</p></td>
+<td><p>CH6+, CH7-</p></td>
+</tr>
+<tr class="row-odd"><td><p>7</p></td>
+<td><p>CH6-, CH7+</p></td>
+</tr>
+</tbody>
+</table>
+<section id="driver-interface">
+<h2>Driver Interface<a class="headerlink" href="#driver-interface"
title="Permalink to this heading"></a></h2>
+<p>To register the MCP3008 device driver as a standard NuttX analog device on
your
+board, you can use something similar to the below code for the RP2040.</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/analog/mcp3008.h></span>
+<span class="cp">#include</span><span class="w"> </span><span
class="cpf"><nuttx/analog/adc.h></span>
+
+<span class="cm">/* Register MCP3008 ADC */</span>
+
+<span class="k">struct</span><span class="w"> </span><span
class="nc">spi_dev_s</span><span class="w"> </span><span
class="o">*</span><span class="n">spi</span><span class="w"> </span><span
class="o">=</span><span class="w"> </span><span
class="n">rp2040_spibus_initialize</span><span class="p">(</span><span
class="mi">0</span><span class="p">);</span>
+<span class="k">if</span><span class="w"> </span><span class="p">(</span><span
class="n">spi</span><span class="w"> </span><span class="o">==</span><span
class="w"> </span><span class="nb">NULL</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 initialize SPI bus
0</span><span class="se">\n</span><span class="s">"</span><span
class="p">);</span>
+<span class="w"> </span><span class="p">}</span>
+
+<span class="k">struct</span><span class="w"> </span><span
class="nc">adc_dev_s</span><span class="w"> </span><span
class="o">*</span><span class="n">mcp3008</span><span class="w"> </span><span
class="o">=</span><span class="w"> </span><span
class="n">mcp3008_initialize</span><span class="p">(</span><span
class="n">spi</span><span class="p">);</span>
+<span class="k">if</span><span class="w"> </span><span class="p">(</span><span
class="n">mcp3008</span><span class="w"> </span><span class="o">==</span><span
class="w"> </span><span class="nb">NULL</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">"Failed to initialize
MCP3008</span><span class="se">\n</span><span class="s">"</span><span
class="p">);</span>
+<span class="p">}</span>
+
+<span class="kt">int</span><span class="w"> </span><span
class="n">ret</span><span class="w"> </span><span class="o">=</span><span
class="w"> </span><span class="n">adc_register</span><span
class="p">(</span><span class="s">"/dev/adc1"</span><span
class="p">,</span><span class="w"> </span><span class="n">mcp3008</span><span
class="p">);</span>
+<span class="k">if</span><span class="w"> </span><span class="p">(</span><span
class="n">ret</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">"Failed to register MCP3008 device
driver: %d</span><span class="se">\n</span><span class="s">"</span><span
class="p">,</span><span class="w"> </span><span class="n">ret</span><span
class="p">);</span>
+<span class="p">}</span>
+</pre></div>
+</div>
+<p>Once registered, this driver can be interacted with using the ADC example
+(<a class="reference internal"
href="../../../../../../applications/examples/adc/index.html#adc-example"><span
class="std std-ref">adc Read from ADC</span></a>). Be sure to enable the
software trigger, since the MCP3008
+driver does not support hardware triggers (interrupts). You can also change the
+number of samples per group up to 8 for all 8 channels of the ADC.</p>
+<p>You may need to increase the <cite>CONFIG_ADC_FIFOSIZE</cite> value to
something larger
+than 8 in order to be able to store all the ADC measurements after a
measurement
+trigger (i.e 9).</p>
+<p>You can configure the driver in differential mode by default using the
+<cite>CONFIG_ADC_MCP3008_DIFFERENTIAL</cite> configuration option.</p>
+<p>You can also configure the speed of SPI communications to the MCP3008 using
the
+<cite>CONFIG_ADC_MCP3008_SPI_FREQUENCY</cite> configuration option. This speed
should be
+selected based on the supply voltage used to power the MCP3008:</p>
+<table class="docutils align-default" id="id2">
+<caption><span class="caption-text">SPI frequencies for supply
voltage</span><a class="headerlink" href="#id2" title="Permalink to this
table"></a></caption>
+<thead>
+<tr class="row-odd"><th class="head"><p>Supply Voltage</p></th>
+<th class="head"><p>Frequency</p></th>
+</tr>
+</thead>
+<tbody>
+<tr class="row-even"><td><p>VDD >= 4V</p></td>
+<td><p>3.6MHz</p></td>
+</tr>
+<tr class="row-odd"><td><p>VDD >= 3.3V</p></td>
+<td><p>2.34MHz</p></td>
+</tr>
+<tr class="row-even"><td><p>VDD = 2.7V</p></td>
+<td><p>1.35MHz</p></td>
+</tr>
+</tbody>
+</table>
+<p>If you have a measurement from the MCP3008, you can convert it into a
voltage
+like so:</p>
+<div class="highlight-c notranslate"><div
class="highlight"><pre><span></span><span class="cp">#define VREF (3.3)
</span><span class="cm">/* Whatever voltage is used on the VREF pin */</span>
+
+<span class="k">struct</span><span class="w"> </span><span
class="nc">adc_msg_s</span><span class="w"> </span><span
class="n">msg</span><span class="p">;</span>
+
+<span class="cm">/* Some code here to read the ADC device, you can read the
ADC driver docs */</span>
+
+<span class="kt">double</span><span class="w"> </span><span
class="n">voltage</span><span class="w"> </span><span class="o">=</span><span
class="w"> </span><span class="p">((</span><span class="kt">double</span><span
class="p">)</span><span class="n">msg</span><span class="p">.</span><span
class="n">am_data</span><span class="w"> </span><span class="o">*</span><span
class="w"> </span><span class="n">VREF</span><span class="p">)</span><span
class="w"> </span><span class="o">/</span><span [...]
+</pre></div>
+</div>
+<p>There is also an additional <cite>ioctl()</cite> command supported for the
MCP3008 that
+permits you to switch from differential to single ended mode at runtime:</p>
+<dl class="c macro">
+<dt class="sig sig-object c" id="c.ANIOC_MCP3008_DIFF">
+<span class="sig-name descname"><span class="n"><span
class="pre">ANIOC_MCP3008_DIFF</span></span></span><a class="headerlink"
href="#c.ANIOC_MCP3008_DIFF" title="Permalink to this definition"></a><br
/></dt>
+<dd></dd></dl>
+
+<p>This command changes the mode of the MCP3008 driver. The argument passed
should
+be 0 to disable differential mode (and thus use single-ended mode), and 1 to
+enable differential mode. No other values are allowed.</p>
+</section>
</section>
@@ -231,7 +347,7 @@ to work with DAtC drivers are provided in this header
file.</p></li>
</div>
<footer><div class="rst-footer-buttons" role="navigation"
aria-label="Footer">
<a href="../max1161x/index.html" class="btn btn-neutral float-left"
title="Maxim MAX11612-11617" accesskey="p" rel="prev"><span class="fa
fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
- <a href="../../dac/index.html" class="btn btn-neutral float-right"
title="DAC Drivers" accesskey="n" rel="next">Next <span class="fa
fa-arrow-circle-right" aria-hidden="true"></span></a>
+ <a href="../pga11x/index.html" class="btn btn-neutral float-right"
title="TI PGA112/3/6/7" 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/components/drivers/character/analog/adc/pga11x/index.html
b/content/docs/latest/components/drivers/character/analog/adc/pga11x/index.html
index 34c442ea3..0b5bc92c3 100644
---
a/content/docs/latest/components/drivers/character/analog/adc/pga11x/index.html
+++
b/content/docs/latest/components/drivers/character/analog/adc/pga11x/index.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="DAC Drivers" href="../../dac/index.html" />
- <link rel="prev" title="Maxim MAX11612-11617"
href="../max1161x/index.html" />
+ <link rel="prev" title="MCP3008" href="../mcp3008/index.html" />
</head>
<body class="wy-body-for-nav">
@@ -230,7 +230,7 @@ to work with DAtC drivers are provided in this header
file.</p></li>
</div>
</div>
<footer><div class="rst-footer-buttons" role="navigation"
aria-label="Footer">
- <a href="../max1161x/index.html" class="btn btn-neutral float-left"
title="Maxim MAX11612-11617" accesskey="p" rel="prev"><span class="fa
fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
+ <a href="../mcp3008/index.html" class="btn btn-neutral float-left"
title="MCP3008" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left"
aria-hidden="true"></span> Previous</a>
<a href="../../dac/index.html" class="btn btn-neutral float-right"
title="DAC 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/genindex.html
b/content/docs/latest/genindex.html
index 8a19962fa..088d59b57 100644
--- a/content/docs/latest/genindex.html
+++ b/content/docs/latest/genindex.html
@@ -219,6 +219,8 @@
<li><a
href="reference/user/10_filesystem.html#c.android_fdsan_exchange_owner_tag">android_fdsan_exchange_owner_tag
(C function)</a>
</li>
<li><a
href="components/drivers/character/analog/adc/index.html#c.ANIOC_GET_NCHANNELS">ANIOC_GET_NCHANNELS
(C macro)</a>
+</li>
+ <li><a
href="components/drivers/character/analog/adc/mcp3008/index.html#c.ANIOC_MCP3008_DIFF">ANIOC_MCP3008_DIFF
(C macro)</a>
</li>
</ul></td>
<td style="width: 33%; vertical-align: top;"><ul>
diff --git a/content/docs/latest/index.html b/content/docs/latest/index.html
index e8f7f21f4..aa7c3c2c1 100644
--- a/content/docs/latest/index.html
+++ b/content/docs/latest/index.html
@@ -171,7 +171,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: 22 October 24 at 00:22</p>
+<p>Last Updated: 23 October 24 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/latest/objects.inv b/content/docs/latest/objects.inv
index 4abbdf290..c305d1375 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 a75173d41..7152f6cf9 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 63d8c1f42..8d3a0fe1a 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, 22 Oct 2024 00:24:33 +0000</pubDate>
- <lastBuildDate>Tue, 22 Oct 2024 00:24:33 +0000</lastBuildDate>
+ <pubDate>Wed, 23 Oct 2024 00:23:51 +0000</pubDate>
+ <lastBuildDate>Wed, 23 Oct 2024 00:23:51 +0000</lastBuildDate>
<generator>Jekyll v4.3.2</generator>
<item>