Header of AD5791 IIO Driver.
More...
#include "iio.h"
#include "no_os_util.h"
#include "ad5791.h"
Header of AD5791 IIO Driver.
- Author
- Andrei Drimbarean (andre.nosp@m.i.dr.nosp@m.imbar.nosp@m.ean@.nosp@m.analo.nosp@m.g.co.nosp@m.m)
Copyright 2021(c) Analog Devices, Inc.
SPDX-License-Identifier: BSD-3-Clause
◆ AD5791_CH_NO
◆ ad5791_iio_powerdown_modes
AD5791 channel power down modes.
| Enumerator |
|---|
| AD5791_6kOHMS_TO_GND | |
| AD5791_THREE_STATE | |
◆ ad5791_iio_init()
Initialize the AD5791 IIO driver.
- Parameters
-
| iio_dev | - Pointer to the IIO driver handler. |
| init_param | - Pointer to the initialization structure. |
- Returns
- 0 in case of success, negative error code otherwise.
◆ ad5791_iio_remove()
Free memory allocated by ad5791_iio_init().
- Parameters
-
| desc | -Pointer to the driver handler. |
- Returns
- 0 in case of success, negative error code otherwise.
◆ iio_ad5791_device