![]() |
no-OS
|
Header file of the ADAR300X IIO driver. More...
Classes | |
| struct | adar300x_iio_dev |
| ADAR300X IIO device descriptor. More... | |
| struct | adar300x_iio_dev_init_param |
| ADAR300X IIO device initialization parameters. More... | |
Macros | |
| #define | ADAR300X_IIO_BEAMS 4 |
Enumerations | |
| enum | adar300x_iio_mode { ADAR300X_IIO_DIRECT , ADAR300X_IIO_MEMORY , ADAR300X_IIO_FIFO , ADAR300X_IIO_INST_DIRECT , ADAR300X_IIO_RESET , ADAR300X_IIO_MUTE } |
| Beam mode as seen through IIO. More... | |
Functions | |
| int | adar300x_iio_init (struct adar300x_iio_dev **iio_dev, struct adar300x_iio_dev_init_param *init_param) |
| Initializes the ADAR300X IIO device. | |
| int | adar300x_iio_remove (struct adar300x_iio_dev *desc) |
| Frees the resources allocated by adar300x_iio_init(). | |
Header file of the ADAR300X IIO driver.
Copyright 2026(c) Analog Devices, Inc.
SPDX-License-Identifier: BSD-3-Clause
| #define ADAR300X_IIO_BEAMS 4 |
| enum adar300x_iio_mode |
Beam mode as seen through IIO.
The first four match enum adar300x_beam_mode. Reset and mute are not modes of the device but commands, applied by the next update.
| Enumerator | |
|---|---|
| ADAR300X_IIO_DIRECT | |
| ADAR300X_IIO_MEMORY | |
| ADAR300X_IIO_FIFO | |
| ADAR300X_IIO_INST_DIRECT | |
| ADAR300X_IIO_RESET | |
| ADAR300X_IIO_MUTE | |
| int adar300x_iio_init | ( | struct adar300x_iio_dev ** | iio_dev, |
| struct adar300x_iio_dev_init_param * | init_param ) |
Initializes the ADAR300X IIO device.
Initialize the ADAR300X IIO device.
| iio_dev | - The IIO device descriptor. |
| init_param | - The initialization parameters. |
| int adar300x_iio_remove | ( | struct adar300x_iio_dev * | desc | ) |
Frees the resources allocated by adar300x_iio_init().
Free the resources allocated by adar300x_iio_init().
| desc | - The IIO device descriptor. |