![]() |
no-OS
|
Header file of IIO TMC5240 driver. More...
Classes | |
| struct | tmc5240_iio_dev |
| TMC5240 IIO device descriptor. More... | |
| struct | tmc5240_iio_dev_init_param |
| TMC5240 IIO initialization parameters. More... | |
Enumerations | |
| enum | tmc5240_iio_attr { TMC5240_CH_ATTR_RAW , TMC5240_CH_ATTR_SCALE , TMC5240_CH_ATTR_CALIBSCALE , TMC5240_CH_ATTR_PRESET , TMC5240_ATTR_DIRECTION , TMC5240_ATTR_STOP , TMC5240_ATTR_AMAX , TMC5240_ATTR_VMAX , TMC5240_ATTR_DMAX , TMC5240_ATTR_VSTART , TMC5240_ATTR_A1 , TMC5240_ATTR_V1 , TMC5240_ATTR_A2 , TMC5240_ATTR_V2 , TMC5240_ATTR_D1 , TMC5240_ATTR_D2 , TMC5240_ATTR_VSTOP } |
| TMC5240 IIO attribute identifiers. More... | |
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. | |
Header file of IIO TMC5240 driver.
Copyright 2026(c) Analog Devices, Inc.
SPDX-License-Identifier: BSD-3-Clause
| enum tmc5240_iio_attr |
TMC5240 IIO attribute identifiers.
| int tmc5240_iio_init | ( | struct tmc5240_iio_dev ** | iio_dev, |
| struct tmc5240_iio_dev_init_param * | init_param ) |
Initializes the tmc5240 IIO driver.
Initialize 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.
Free resources allocated by tmc5240_iio_init()
| desc | - The iio device structure. |