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 
11 #ifndef __IIO_H__
12 #define __IIO_H__
13 
14 void *rt_iio_channel_get_by_index(struct rt_device *dev, int index, int *out_channel);
15 void *rt_iio_channel_get_by_name(struct rt_device *dev, const char *name, int *out_channel);
16 
17 #endif /* __IIO_H__ */
18