iio.h 451 B

1234567891011121314151617
  1. /*
  2. * Copyright (c) 2006-2022, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2022-3-08 GuEe-GUI the first version
  9. */
  10. #ifndef __IIO_H__
  11. #define __IIO_H__
  12. void *rt_iio_channel_get_by_index(struct rt_device *dev, int index, int *out_channel);
  13. void *rt_iio_channel_get_by_name(struct rt_device *dev, const char *name, int *out_channel);
  14. #endif /* __IIO_H__ */