|
Xenomai API
2.6.4
|
Analogy for Linux, channel, range related features. More...

Go to the source code of this file.
Data Structures | |
| struct | a4l_channel |
| Structure describing some channel's characteristics. More... | |
| struct | a4l_channels_desc |
| Structure describing a channels set. More... | |
| struct | a4l_range |
| Structure describing a (unique) range. More... | |
Macros | |
| #define | A4L_CHAN_GLOBAL 0x10 |
| Internal use flag (must not be used by driver developer) | |
| #define | A4L_RNG_FACTOR 1000000 |
| Constant for internal use only (must not be used by driver developer). | |
| #define | A4L_RNG_VOLT_UNIT 0x0 |
| Volt unit range flag. | |
| #define | A4L_RNG_MAMP_UNIT 0x1 |
| MilliAmpere unit range flag. | |
| #define | A4L_RNG_NO_UNIT 0x2 |
| No unit range flag. | |
| #define | A4L_RNG_EXT_UNIT 0x4 |
| External unit range flag. | |
| #define | A4L_RNG_UNIT(x) |
| Macro to retrieve the range unit from the range flags. | |
| #define | A4L_RNG_GLOBAL 0x8 |
| Internal use flag (must not be used by driver developer) | |
| #define | RANGE(x, y) |
| Macro to declare a (unique) range with no unit defined. | |
| #define | RANGE_V(x, y) |
| Macro to declare a (unique) range in Volt. | |
| #define | RANGE_mA(x, y) |
| Macro to declare a (unique) range in milliAmpere. | |
| #define | RANGE_ext(x, y) |
| Macro to declare a (unique) range in some external reference. | |
| #define | A4L_RNG_GLOBAL_RNGDESC 0 |
| Constant to define a ranges descriptor as global (inter-channel) | |
| #define | A4L_RNG_PERCHAN_RNGDESC 1 |
| Constant to define a ranges descriptor as specific for a channel. | |
| #define | RNG_GLOBAL(x) |
| Macro to declare a ranges global descriptor in one line. | |
Channel reference | |
| #define | A4L_CHAN_AREF_GROUND 0x1 |
| Ground reference. | |
| #define | A4L_CHAN_AREF_COMMON 0x2 |
| Common reference. | |
| #define | A4L_CHAN_AREF_DIFF 0x4 |
| Differential reference. | |
| #define | A4L_CHAN_AREF_OTHER 0x8 |
| Misc reference. | |
Channels declaration mode | |
| #define | A4L_CHAN_GLOBAL_CHANDESC 0 |
| Global declaration, the set contains channels with similar characteristics. | |
| #define | A4L_CHAN_PERCHAN_CHANDESC 1 |
| Per channel declaration, the decriptor gathers differents channels. | |
Analogy for Linux, channel, range related features.
Copyright (C) 1997-2000 David A. Schleef ds@schleef.org Copyright (C) 2008 Alexis Berlemont alexis.berlemont@free.fr
Xenomai is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
Xenomai is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with Xenomai; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.