Header file for the LTM4700 IIO Driver.
More...
#include <stdbool.h>
#include "iio.h"
#include "ltm4700.h"
|
| enum | ltm4700_iio_attr_id {
LTM4700_IIO_VIN
,
LTM4700_IIO_IIN
,
LTM4700_IIO_VOUT
,
LTM4700_IIO_IOUT
,
LTM4700_IIO_TEMP_EXT
,
LTM4700_IIO_TEMP_IC
,
LTM4700_IIO_FREQ
,
LTM4700_IIO_POUT
,
LTM4700_IIO_PIN
,
LTM4700_IIO_VOUT_COMMAND
,
LTM4700_IIO_VOUT_MAX
,
LTM4700_IIO_VOUT_MARGIN_HIGH
,
LTM4700_IIO_VOUT_MARGIN_LOW
,
LTM4700_IIO_OPERATION
,
LTM4700_IIO_CLEAR_PEAKS
,
LTM4700_IIO_DEVICE_ID
} |
| |
Header file for the LTM4700 IIO Driver.
- Author
- Carlos Jones Jr (carlo.nosp@m.sjr..nosp@m.jones.nosp@m.@ana.nosp@m.log.c.nosp@m.om)
Copyright 2026(c) Analog Devices, Inc.
SPDX-License-Identifier: BSD-3-Clause
◆ ltm4700_iio_attr_id
| Enumerator |
|---|
| LTM4700_IIO_VIN | |
| LTM4700_IIO_IIN | |
| LTM4700_IIO_VOUT | |
| LTM4700_IIO_IOUT | |
| LTM4700_IIO_TEMP_EXT | |
| LTM4700_IIO_TEMP_IC | |
| LTM4700_IIO_FREQ | |
| LTM4700_IIO_POUT | |
| LTM4700_IIO_PIN | |
| LTM4700_IIO_VOUT_COMMAND | |
| LTM4700_IIO_VOUT_MAX | |
| LTM4700_IIO_VOUT_MARGIN_HIGH | |
| LTM4700_IIO_VOUT_MARGIN_LOW | |
| LTM4700_IIO_OPERATION | |
| LTM4700_IIO_CLEAR_PEAKS | |
| LTM4700_IIO_DEVICE_ID | |
◆ ltm4700_iio_init()
Initialize the LTM4700 IIO driver.
- Parameters
-
| iio_desc | - Pointer to IIO descriptor pointer |
| init_param | - Initialization parameters |
- Returns
- 0 in case of success, negative error code otherwise
Initialize the LTM4700 IIO driver.
- Parameters
-
| iio_desc | - The iio device descriptor. |
| init_param | - The structure that contains the device initial parameters. |
- Returns
- 0 in case of success, an error code otherwise.
◆ ltm4700_iio_remove()
Free resources allocated by the init function.
- Parameters
-
| desc | - IIO descriptor to free |
- Returns
- 0 in case of success, negative error code otherwise
- Parameters
-
| desc | - The iio device descriptor. |
- Returns
- 0 in case of success, an error code otherwise.