Header of the ADPD188 IIO driver.
More...
#include "adpd188.h"
#include "iio.h"
Header of the ADPD188 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 2020(c) Analog Devices, Inc.
SPDX-License-Identifier: BSD-3-Clause
◆ ADPD1080_BITS_PER_SAMPLE
| #define ADPD1080_BITS_PER_SAMPLE 32 |
◆ ADPD1080_CHANNEL_NO
| #define ADPD1080_CHANNEL_NO 8 |
◆ ADPD1080_WORD_BIT_SIZE
| #define ADPD1080_WORD_BIT_SIZE 16 |
◆ ADPD1080_WORDS_PER_SAMPLE
◆ adpd188_iio_init()
Initialize the IIO driver and allocate memory.
- Parameters
-
| device | - Pointer to the IIO driver handler structure. |
| init_param | - Pointer to the IIO driver initialization structure. |
- Returns
- 0 in case of success, error code otherwise.
◆ adpd188_iio_remove()
Free mmory allocated by adpd188_iio_init().
- Parameters
-
| dev | - Pointer to the IIO driver structure. |
- Returns
- 0 in case of success, error code otherwise.
◆ iio_adpd188_device