IIO Header file of LM75 Driver.
More...
#include "lm75.h"
#include "iio_types.h"
IIO Header file of LM75 Driver.
- Author
- Niel Acuna (niel..nosp@m.acun.nosp@m.a@ana.nosp@m.log..nosp@m.com)
Copyright 2026(c) Analog Devices, Inc.
SPDX-License-Identifier: BSD-3-Clause
◆ LM75_CH_ATTRIBUTE_HYST
| #define LM75_CH_ATTRIBUTE_HYST 2 |
◆ LM75_CH_ATTRIBUTE_INPUT
| #define LM75_CH_ATTRIBUTE_INPUT 0 |
◆ LM75_CH_ATTRIBUTE_MAX
| #define LM75_CH_ATTRIBUTE_MAX 1 |
◆ LM75_UPDATE_INTERVAL
| #define LM75_UPDATE_INTERVAL 100 |
◆ iio_lm75_init()
Allocate and initialize resources used by LM75 IIO driver.
- Parameters
-
| [out] | iio_lm75pp | pointer to lm75 iio device descriptor pointer. |
| [in] | dev | lm75 device descriptor. |
- Returns
- 0 on success
-
-EINVAL if any one parameter is NULL
-
-ENOMEM when memory allocation failed
◆ iio_lm75_remove()
| int iio_lm75_remove |
( |
struct iio_lm75 * | iio_lm75 | ) |
|
Release resources used by LM75 IIO driver back to system.
- Parameters
-
- Returns
- 0 on success
-
-EINVAL if iio_lm75 is NULL