nuttx/Documentation/components/drivers/character/analog/index.rst
raiden00pl 80a04ea953 drivers/analog: add digital potentiometer driver support
Add a common upper-half character driver for digital potentiometers
with a generic set of ioctl commands (wiper set/get, terminal control,
device properties) that can be shared by chip-specific lower halves.

Signed-off-by: raiden00pl <raiden00@railab.me>
Assisted-by: Claude Code
2026-08-08 18:37:08 +08:00

30 lines
1 KiB
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
pot/index.rst