Поиск по:jet.sao.ru -
Поискать по всем серверам
На этой странице приведены все страницы сервера jet.sao.ru ,которые мы индексируем. Показаны документы 1561 - 1580 из 5951.
Упорядочить по:
URL
|
дате изменения
1561. Linux I/O port programming mini-HOWTO: High-resolution timing
... First of all, I should say that you cannot guarantee user-mode processes to have exact control of timing because of the multi-tasking nature of Linux. ... However, for most applications using I/O ports, this does not really matter. To minimise this, you may want to nice your process to a high-priority value (see the nice(2) manual page) or use real-time scheduling (see below). ... Linux 2.x kernels have soft real time support; see the manual page for sched_setscheduler(2) for details. ...
[
Сохраненная копия
]
Ссылки http://jet.sao.ru/hq/sts/linux/doc/io-portprog/IO-Port-Programming-4.html -- 8.3 Кб -- 02.10.2012
Похожие документы
Похожие документы
1562. Linux I/O port programming mini-HOWTO: Interrupts (IRQs) and DMA access
Next Previous Contents . You cannot use IRQs or DMA directly from a user-mode process. You need to write a kernel driver; see The Linux Kernel Hacker's Guide for details and the kernel source code for examples. You can disable interrupts from within a user-mode program, though it can be dangerous (even kernel drivers do it for as short a time as possible). After calling iopl(3) , you can disable interrupts simply by calling asm("cli"); , and re-enable them with asm("sti"); . Next Previous Contents
[
Сохраненная копия
]
Ссылки http://jet.sao.ru/hq/sts/linux/doc/io-portprog/IO-Port-Programming-3.html -- 2.3 Кб -- 02.10.2012
Похожие документы
Похожие документы
1563. Linux I/O port programming mini-HOWTO: Using I/O ports in C programs
... Routines for accessing I/O ports are in /usr/include/asm/io.h (or linux/include/asm-i386/io.h in the kernel source distribution). ... Before you access any ports, you must give your program permission to do so. This is done by calling the ioperm() function (declared in unistd.h , and defined in the kernel) somewhere near the start of your program (before any I/O port accesses). ... For example, ioperm(0x300, 5, 1) would give access to ports 0x300 through 0x304 (a total of 5 ports). ...
[
Сохраненная копия
]
Ссылки http://jet.sao.ru/hq/sts/linux/doc/io-portprog/IO-Port-Programming-2.html -- 7.6 Кб -- 02.10.2012
Похожие документы
Похожие документы
1564. Linux I/O port programming mini-HOWTO: Introduction
Next Previous Contents . This HOWTO document describes programming hardware I/O ports and waiting for small periods of time in user-mode Linux programs running on the Intel x86 architecture. This document is a descendant of the very small IO-Port mini-HOWTO by the same author. This document is Copyright 1995-2000 Riku Saikkonen. See the Linux HOWTO copyright for details. If you have corrections or something to add, feel free to e-mail me ( Riku.Saikkonen@hut.fi )... Next Previous Contents
[
Сохраненная копия
]
Ссылки http://jet.sao.ru/hq/sts/linux/doc/io-portprog/IO-Port-Programming-1.html -- 2.1 Кб -- 02.10.2012
Похожие документы
Похожие документы
1565. comedi_sv_measure
. Comedi Documentation . Prev . Next . comedi_sv_measure -- slowly-varying inputs . #include <comedilib.h> . int comedi_sv_measure (comedi_sv_t * sv, double * data); . The function comedi_sv_measure() uses the slowly varying Comedi structure sv to measure a slowly varying signal. If sucessful, the result (in physical units) is stored in the location pointed to by data, and the number of samples is returned. On error, -1 is returned. Prev . Home . Next . comedi_sv_update . Up . comedi_get_cmd_src_mask
[
Сохраненная копия
]
Ссылки http://jet.sao.ru/hq/sts/linux/comedi/doc/func-ref-comedi-sv-measure.html -- 3.8 Кб -- 02.10.2012
Похожие документы
Похожие документы
1566. comedi_find_range
Comedi Documentation . ... comedi_find_range -- search for range . ... int comedi_find_range (comedi_t * device, unsigned int subdevice, unsigned int channel, unsigned int unit, double min, double max); . The function comedi_find_range() tries to locate the optimal (smallest) range for the channel chan belonging to a subdevice of the comedi device device, that includes both min and max in units. If a matching range is found, the index of the matching range is returned. ... comedi_get_range . ...
[
Сохраненная копия
]
Ссылки http://jet.sao.ru/hq/sts/linux/comedi/doc/func-ref-comedi-find-range.html -- 3.9 Кб -- 02.10.2012
Похожие документы
Похожие документы
1567. comedi_dio_config
... comedi_dio_config -- change input/output properties of channel . ... int comedi_dio_config (comedi_t * device, unsigned int subdevice, unsigned int channel, unsigned int direction); . The function comedi_dio_config() configures individual channels in a digital I/O subdevice to be either input or output, depending on the value of parameter direction. ... Depending on the capabilities of the hardware device, multiple channels may be grouped together to determine direction. ...
[
Сохраненная копия
]
Ссылки http://jet.sao.ru/hq/sts/linux/comedi/doc/func-ref-comedi-dio-config.html -- 4.1 Кб -- 02.10.2012
Похожие документы
Похожие документы
1568. comedi_data_write
... comedi_data_write -- write single sample to channel . ... int comedi_data_write (comedi_t * device, unsigned int subdevice, unsigned int channel, unsigned int range, unsigned int aref, lsampl_t data); . Writes a single sample on the channel that is specified by the Comedi device device, the subdevice subdevice, and the channel channel. If appropriate, the device is configured to use range specification range and analog reference type aref. ... On sucess, comedi_data_write() returns 0. ...
[
Сохраненная копия
]
Ссылки http://jet.sao.ru/hq/sts/linux/comedi/doc/func-ref-comedi-data-write.html -- 4.1 Кб -- 02.10.2012
Похожие документы
Похожие документы
1569. comedi_sv_update
. Comedi Documentation . Prev . Next . comedi_sv_update -- slowly-varying inputs . #include <comedilib.h> . int comedi_sv_update (comedi_sv_t * sv); . The function comedi_sv_update() updates internal parameters of the slowly varying Comedi structure sv. Prev . Home . Next . comedi_sv_init . Up . comedi_sv_measure
[
Сохраненная копия
]
Ссылки http://jet.sao.ru/hq/sts/linux/comedi/doc/func-ref-comedi-sv-update.html -- 3.6 Кб -- 02.10.2012
Похожие документы
Похожие документы
1570. comedi_get_timer
Comedi Documentation . ... Next . comedi_get_timer -- timer information (deprecated) . ... int comedi_get_timer (comedi_t * device, unsigned int subdevice, double frequency, unsigned int * trigvar, double * actual_frequency); . deprecated The function comedi_get_timer converts the frequency frequency to a number suitable to send to the driver in a comedi_trig structure. ... comedi_get_buffer_offset . ... comedi_timed_1chan ...
[
Сохраненная копия
]
Ссылки http://jet.sao.ru/hq/sts/linux/comedi/doc/func-ref-comedi-get-timer.html -- 4.2 Кб -- 02.10.2012
Похожие документы
Похожие документы
1571. comedi_get_range
Comedi Documentation . ... Next . comedi_get_range -- range information of channel . ... comedi_range * comedi_get_range (comedi_t * device, unsigned int subdevice, unsigned int channel, unsigned int range); . The function comedi_get_range() returns a pointer to a comedi_range structure that contains information that can be used to convert sample values to or from physical units. The pointer is valid until the Comedi device device is closed. ... comedi_get_n_ranges . ... comedi_find_range ...
[
Сохраненная копия
]
Ссылки http://jet.sao.ru/hq/sts/linux/comedi/doc/func-ref-comedi-get-range.html -- 3.8 Кб -- 02.10.2012
Похожие документы
Похожие документы
1572. comedi_from_phys
... Prev . ... comedi_from_phys -- convert physical units to sample . ... lsampl_t comedi_from_phys (double data, comedi_range * range, lsampl_t maxdata); . Converts data given in physical units (data) into sample values (lsampl_t, between 0 and maxdata). The parameter rng represents the conversion information to use, and the parameter maxdata represents the maximum possible data value for the channel that the data will be written to. Conversion is not affected by out-of-range behavior. ...
[
Сохраненная копия
]
Ссылки http://jet.sao.ru/hq/sts/linux/comedi/doc/func-ref-comedi-from-phys.html -- 3.9 Кб -- 02.10.2012
Похожие документы
Похожие документы
1573. comedi_dio_write
... comedi_dio_write -- write single bit to digital channel . ... int comedi_dio_write (comedi_t * device, unsigned int subdevice, unsigned int channel, unsigned int bit); . The function writes the value bit to the channel channel belonging to the subdevice subdevice of device device. This function is equivalent to comedi_data_write(device,subdevice,channel,0,0,bit). This function does not require a digital subdevice or a subdevice with a maximum data value of 1 to work properly. ...
[
Сохраненная копия
]
Ссылки http://jet.sao.ru/hq/sts/linux/comedi/doc/func-ref-comedi-dio-write.html -- 3.9 Кб -- 02.10.2012
Похожие документы
Похожие документы
1574. comedi_data_read
... comedi_data_read -- read single sample from channel . ... int comedi_data_read (comedi_t * device, unsigned int subdevice, unsigned int channel, unsigned int range, unsigned int aref, lsampl_t * data); . Reads a single sample on the channel specified by the Comedi device device, the subdevice subdevice, and the channel channel. ... The function comedi_data_read() reads one data value from the specified channel and places the data value in the location pointed to by data. ... comedi_data_write ...
[
Сохраненная копия
]
Ссылки http://jet.sao.ru/hq/sts/linux/comedi/doc/func-ref-comedi-data-read.html -- 4.4 Кб -- 02.10.2012
Похожие документы
Похожие документы
1575. comedi_strerror
... Next . comedi_strerror -- return string describing Comedilib error code . ... When a Comedilib function fails, it usually returns -1 or NULL, depending on the return type. An internal library variable stores an error number, which can be retrieved with comedi_errno(). ... The function comedi_strerror() returns a pointer to a character string describing the Comedilib error errnum. ... An unrecognized error number will return a pointer to the string "undefined error", or similar. ...
[
Сохраненная копия
]
Ссылки http://jet.sao.ru/hq/sts/linux/comedi/doc/func-ref-comedi-strerror.html -- 4.4 Кб -- 02.10.2012
Похожие документы
Похожие документы
1576. comedi_loglevel
... comedi_loglevel -- change Comedilib logging properties . ... This function affects the output of debugging and error messages from Comedilib. By increasing the loglevel, additional debugging information will be printed. ... COMEDI_LOGLEVEL=0 Comedilib prints nothing. COMEDI_LOGLEVEL=1 (default) Comedilib prints error messages when there is a self-consistency error (i.e., an internal bug.) COMEDI_LOGLEVEL=2 Comedilib prints an error message when an invalid parameter is passed. ...
[
Сохраненная копия
]
Ссылки http://jet.sao.ru/hq/sts/linux/comedi/doc/func-ref-comedi-loglevel.html -- 4.6 Кб -- 02.10.2012
Похожие документы
Похожие документы
1577. comedi_dio_read
... comedi_dio_read -- read single bit from digital channel . ... int comedi_dio_read (comedi_t * device, unsigned int subdevice, unsigned int channel, unsigned int * bit); . The function reads the channel channel belonging to the subdevice subdevice of device device. The data value that is read is stored in the location pointed to by bit. This function is equivalent to comedi_data_read(device,subdevice,channel,0,0,bit). ... Return values and errors are the same as comedi_data_read(). ...
[
Сохраненная копия
]
Ссылки http://jet.sao.ru/hq/sts/linux/comedi/doc/func-ref-comedi-dio-read.html -- 4.0 Кб -- 02.10.2012
Похожие документы
Похожие документы
1578. externals.h
. Next: random.c Up: Piping Previous: plotter.c . /* externals.h */ #ifndef EXTERNALS #define EXTERNALS #include <stdio.h> #include <stdlib.h> #include <math.h> /* prototypes */ void StartPlot(void); void RemoveDat(void); void StopPlot(void); void PlotOne(void); void RePlot(void); #endif . Dave.Marshall@cm.cf.ac.uk . Wed Sep 14 10:06:31 BST 1994
[
Сохраненная копия
]
Ссылки http://jet.sao.ru/hq/sts/linux/book/c_marshall/subsection2_22_25_3.html -- 2.1 Кб -- 02.10.2012
Похожие документы
Похожие документы
1579. plotter.c
... plotter.c module */ /* contains routines to plot a data file produced by another program */ /* 2d data plotted in this version */ /**********************************************************************/ #include externals.h static FILE * plot1 , * plot2 , *ashell; static char *startplot1 = plot [] [0:1.1]'plot11.dat' with lines , 'plot12.dat' with lines \n ; static char *startplot2 = plot 'plot21.dat' with ...
[
Сохраненная копия
]
Ссылки http://jet.sao.ru/hq/sts/linux/book/c_marshall/subsection2_22_25_2.html -- 3.4 Кб -- 02.10.2012
Похожие документы
Похожие документы
1580. plot.c
... plot.c - example of unix pipe. ... pipes one will draw graphs of y=0.5 and y = random 0-1.0 */ /* the other graphs of y = sin (1/x) and y = sin x */ /* c89 -o plot plot.c plotter.c - ON DECS */ /* acc -o plot plot.c plotter.c - ON SUNS */ #include externals.h #include signal.h #define DEG_TO_RAD(x) (x*180/M_PI) double drand48(); void quit (); FILE * fp1 , * fp2 , * fp3 , * fp4 , * fopen (); main() { float i; float y1,y2,y3,y4; /* open files which will store plot ...
[
Сохраненная копия
]
Ссылки http://jet.sao.ru/hq/sts/linux/book/c_marshall/subsection2_22_25_1.html -- 4.0 Кб -- 02.10.2012
Похожие документы
Похожие документы