Skip to content

Commit 21afa31

Browse files
committed
deploy: 76a3290
0 parents  commit 21afa31

File tree

488 files changed

+146353
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

488 files changed

+146353
-0
lines changed

.nojekyll

Whitespace-only changes.

_images/complex-hfsm.png

598 KB
Loading

_sources/adc/adc_example.md.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
```{include} ../../../components/adc/example/README.md
2+
```

_sources/adc/adc_types.rst.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
ADC Types
2+
*********
3+
4+
Simple container for data associated with an ADC channel configuration,
5+
including the unit, the channel, and the attenuation desired.
6+
7+
.. ---------------------------- API Reference ----------------------------------
8+
9+
API Reference
10+
-------------
11+
12+
.. include-build-file:: inc/adc_types.inc

_sources/adc/ads1x15.rst.txt

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
ADS1x15 I2C ADC
2+
***************
3+
4+
The `ADS1x15` provides a class for communicating with the ADS1x15 (ADS1015 and
5+
ADS1115) family of I2C ADC chips with configurable gain and sampling rate.
6+
7+
.. ------------------------------- Example -------------------------------------
8+
9+
.. toctree::
10+
11+
ads1x15_example
12+
13+
.. ---------------------------- API Reference ----------------------------------
14+
15+
API Reference
16+
-------------
17+
18+
.. include-build-file:: inc/ads1x15.inc
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
```{include} ../../../components/ads1x15/example/README.md
2+
```

_sources/adc/ads7138.rst.txt

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
ADS7138 I2C ADC
2+
***************
3+
4+
The `Ads7138` class implements support for the Texas Instruments ADS7138 12-bit
5+
8-channel ADC. The ADS7138 is a 12-bit, 8-channel, low-power, successive
6+
approximation register (SAR) analog-to-digital converter (ADC) which can
7+
configure any of its 8 channels as single-ended analog inputs, digital inputs,
8+
or digital outputs. It has an operating mode that allows the user to configure
9+
the device for a single conversion, or to automatically convert on a
10+
continuous basis.
11+
12+
.. ------------------------------- Example -------------------------------------
13+
14+
.. toctree::
15+
16+
ads7138_example
17+
18+
.. ---------------------------- API Reference ----------------------------------
19+
20+
API Reference
21+
-------------
22+
23+
.. include-build-file:: inc/ads7138.inc
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
```{include} ../../../components/ads7138/example/README.md
2+
```
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
Continuous ADC
2+
**************
3+
4+
The `ContinuousAdc` provides a mechanism for high-frequency, continuous,
5+
deterministic sampling of analog voltages for multiple channels (potentially
6+
across multiple ADC units, depending on the ESP32 chip used). It does this be
7+
enabling the continuous ADC DMA mode and then running its own task which
8+
retrieves the data and filters it. When the user calls `get_mv(adc_channel_t)`,
9+
it simply returns the most recent filtered value for that channel, if it was
10+
configured.
11+
12+
.. ------------------------------- Example -------------------------------------
13+
14+
.. toctree::
15+
16+
adc_example
17+
18+
.. ---------------------------- API Reference ----------------------------------
19+
20+
API Reference
21+
-------------
22+
23+
.. include-build-file:: inc/continuous_adc.inc

_sources/adc/index.rst.txt

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
ADC APIs
2+
********
3+
4+
.. toctree::
5+
:maxdepth: 1
6+
7+
ads1x15
8+
ads7138
9+
oneshot_adc
10+
continuous_adc
11+
tla2528
12+
adc_types
13+
14+
Code examples for the ADC API are provided in the respective component folders.

0 commit comments

Comments
 (0)