ad.4

来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 4 代码 · 共 35 行

4
35
字号
.\" SCCSID: @(#)ad.4	8.1	9/11/90.TH ad 4 VAX "" Unsupported.SH Namead \- Data Translation A/D converter.SH Syntax.B "device ad0 at uba0 csr 0170400 vector adintr".SH DescriptionThe.PN adconverter provides the interface to the Data Translation A/D converter.This isnota real-time driver, but merely allowsthe user process to sample the board's channels one at a time.Each minor device selects a different A/D board..PPThe driver communicates to a user process by means of ioctls.The AD_CHAN ioctl selects which channel of the board to read.For example,.br.in +.5ichan = 5;ioctl(fd, AD_CHAN, &chan);.in -.5iselects channel 5.The AD_READ ioctl actually reads the data and returns it to the userprocess.An example is.br.in +.5iioctl(fd, AD_READ, &data);.in -.5i.SH Files.PN /dev/ad

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?