嵌入式之linux下libiio的用法

libiio使用函数

嵌入式之linux下libiio的用法_第1张图片
嵌入式之linux下libiio的用法_第2张图片
Reading and modifying parameters
Reading a parameter
Read device-specific attributes with those functions:

iio_device_attr_read()
iio_device_attr_read_all()
iio_device_attr_read_bool()
iio_device_attr_read_longlong()
iio_device_attr_read_double()
Read channel-specific attributes with those functions:

iio_channel_attr_read()
iio_channel_attr_read_all()
iio_channel_attr_read_bool()
iio_channel_attr_read_longlong()
iio_channel_attr_read_double()
Read debug attributes with those functions:

iio_device_debug_attr_read()
iio_device_debug_attr_read_all()
iio_device_debug_attr_read_bool()
iio_device_debug_attr_read_longlong()
iio_device_debug_attr_read_double()
Modifying a parameter
Write device-specific attributes with those functions:

iio_device_attr_write()
iio_device_attr_write_all()
iio_device_attr_write_bool()
iio_device_attr_write_longlong()
iio_device_attr_write_double()
Write channel-specific attributes with those functions:

iio_channel_attr_write()
iio_channel_attr_write_all()
iio_channel_attr_write_bool()
iio_channel_attr_write_longlong()
iio_channel_attr_write_double()
Write debug attributes with those functions:

iio_device_debug_attr_write()
iio_device_debug_attr_write_all()
iio_device_debug_attr_write_bool()
iio_device_debug_attr_write_longlong()
iio_device_debug_attr_write_double()
libiio链接

你可能感兴趣的:(嵌入式,IIO,嵌入式,linux)