匿名
未登录
登录
百问网嵌入式Linux wiki
搜索
查看“IIO Linux kernel tools”的源代码
来自百问网嵌入式Linux wiki
名字空间
页面
讨论
更多
更多
页面选项
Read
查看源代码
历史
←
IIO Linux kernel tools
因为以下原因,您没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
Linux<sup>®</sup> kernel provides some user space tools that can be used for testing the [[IIO overview|IIO subsystem]]. == Article purpose == The purpose of this article is to: * briefly introduce the IIO user space tools that comes with the Linux<sup>®</sup> kernel * provide a few examples using these tools == Introduction == These tools use IIO sysfs and character device directly without [[IIO libiio|libiio]] (See [[IIO_overview#User_space_interface|IIO user space interface]] for further details). == Tools == The Linux<sup>®</sup> kernel provides the following [[IIO overview|IIO]] user space tools: * '''lsiio''': example application that provides a list of IIO devices and triggers. root@stm32mp1:~# lsiio Device 001: 48003000.adc:adc@100 Device 000: 48003000.adc:adc@0 Trigger 018: tim3_ch4 Trigger 007: tim1_ch3 ... * '''iio_event_monitor''': example application that reads events from an IIO device and prints them.<br/>See [[How_to_use_the_IIO_user_space_interface#How_to_get_ADC_analog_watchdog_events|How to get ADC analog watchdog events]]. root@stm32mp1:~# iio_event_monitor /dev/iio:device0 & Event: time: 1529352199639112110, type: voltage, channel: 0, evtype: thresh, direction: either Event: time: ... * '''iio_generic_buffer''': example application that reads data from buffer. * '''iio_utils''': set of routines built-in above IIO tools, typically used to access sysfs files. == Source code == The Linux<sup>®</sup> kernel IIO tools source code can be found under tools/iio<ref name="iio tools source">{{CodeSource | Linux kernel | tools/iio}}, Linux<sup>®</sup> IIO tools source code</ref> directory: * {{CodeSource | Linux kernel | tools/iio/lsiio.c}} * {{CodeSource | Linux kernel | tools/iio/iio_event_monitor.c}} * {{CodeSource | Linux kernel | tools/iio/iio_generic_buffer.c}} * {{CodeSource | Linux kernel | tools/iio/iio_utils.c}} == Installation on your target == The Linux<sup>®</sup> kernel IIO tools aren't embedded by default in [[OpenSTLinux distribution]]. They can be compiled independently and then installed on the target. See [[How to build Linux kernel user space tools]]. ==References== <references /> <noinclude> [[Category:IIO|3]] {{PublicationRequestId | 9166 | 2018-10-11 | BrunoB}} </noinclude>
该页面使用的模板:
模板:CodeSource
(
查看源代码
)
模板:PublicationRequestId
(
查看源代码
)
返回至
IIO Linux kernel tools
。
导航
导航
WIKI首页
官方店铺
资料下载
交流社区
所有页面
所有产品
MPU-Linux开发板
MCU-单片机开发板
Linux开发系列视频
单片机开发系列视频
所有模块配件
Wiki工具
Wiki工具
特殊页面
页面工具
页面工具
用户页面工具
更多
链入页面
相关更改
页面信息
页面日志