Header file of IIO AD7091R8 driver header file.
More...
Header file of IIO AD7091R8 driver header file.
- Author
- Marcelo Schmitt (marce.nosp@m.lo.s.nosp@m.chmit.nosp@m.t@an.nosp@m.alog..nosp@m.com)
Copyright 2024(c) Analog Devices, Inc.
SPDX-License-Identifier: BSD-3-Clause
◆ ad7091r8_iio_device
| #define ad7091r8_iio_device |
( |
| chans | ) |
|
Value: { \
.channels = chans, \
.pre_enable = ad7091r8_buffer_preenable, \
.trigger_handler = ad7091r8_trigger_handler, \
.debug_reg_read = ad7091r8_iio_read_reg, \
.debug_reg_write = ad7091r8_iio_write_reg \
}
#define NO_OS_ARRAY_SIZE(x)
Definition no_os_util.h:27
◆ ad7091r8_iio_init()
Initializes the AD7091R8 IIO driver.
Function to be called to initialize a AD7091R-2/-4/-8 device.
- Parameters
-
| iio_dev | - The iio device structure. |
| init_param | - The structure that contains the device initial parameters. |
- Returns
- ret - Result of the initialization procedure.
◆ ad7091r8_iio_remove()
Free the resources allocated by ad7091r8_iio_init().
Function to be called to remove a AD7091R-2/-4/-8 device.
- Parameters
-
| desc | - The IIO device structure. |
- Returns
- ret - Result of the remove procedure.
◆ ad7091r8_iio_timer_trig_desc