f47f9c05aa
This adds basic API description for ADC and DAC peripherals. External ADC/DAC controllers are listed as well. Signed-off-by: Michal Lenc <michallenc@seznam.cz>
30 lines
1012 B
ReStructuredText
30 lines
1012 B
ReStructuredText
========================
|
|
Analog (ADC/DAC) Drivers
|
|
========================
|
|
|
|
The NuttX analog drivers are split into two parts:
|
|
|
|
#. An "upper half", generic driver that provides the common analog
|
|
interface to application level code, and
|
|
#. A "lower half", platform-specific driver that implements the
|
|
low-level controls to implement the analog functionality.
|
|
|
|
- General header files for the NuttX analog drivers reside in
|
|
``include/nuttx/analog/``. These header files includes both the
|
|
application level interface to the analog driver as well as the
|
|
interface between the "upper half" and "lower half" drivers.
|
|
- Common analog logic and share-able analog drivers reside in the
|
|
``drivers/analog/``.
|
|
- Platform-specific drivers reside in
|
|
``arch/<architecture>/src/<hardware>`` directory
|
|
for the specific processor ``<architecture>`` and for the
|
|
specific ``<chip>`` analog peripheral devices.
|
|
|
|
.. toctree::
|
|
:caption: Supported Drivers
|
|
:maxdepth: 1
|
|
|
|
adc/index.rst
|
|
dac/index.rst
|
|
|