![]() |
no-OS
|
Implementation of IIO TMC5240 driver. More...
#include <errno.h>#include "no_os_spi.h"#include "no_os_units.h"#include "no_os_util.h"#include "no_os_alloc.h"#include "iio.h"#include "iio_tmc5240.h"#include "tmc5240.h"Functions | |
| int | tmc5240_iio_init (struct tmc5240_iio_dev **iio_dev, struct tmc5240_iio_dev_init_param *init_param) |
| Initializes the tmc5240 IIO driver. | |
| int | tmc5240_iio_remove (struct tmc5240_iio_dev *desc) |
| Free resources allocated by the init function. | |
Implementation of IIO TMC5240 driver.
Copyright 2026(c) Analog Devices, Inc.
SPDX-License-Identifier: BSD-3-Clause
| int tmc5240_iio_init | ( | struct tmc5240_iio_dev ** | iio_dev, |
| struct tmc5240_iio_dev_init_param * | init_param ) |
Initializes the tmc5240 IIO driver.
| iio_dev | - The iio device structure. |
| init_param | - Parameters for the initialization of iio_dev |
| int tmc5240_iio_remove | ( | struct tmc5240_iio_dev * | desc | ) |
Free resources allocated by the init function.
| desc | - The iio device structure. |