Lines Matching +full:data +full:- +full:bits
11 The Industrial I/O core offers a way for continuous data capture based on a
12 trigger source. Multiple data channels can be read at once from
21 * :file:`length`, the total number of data samples (capacity) that can be
29 called a scan element. The important bits configuring scan elements are
35 is non *zero*, then a triggered capture will contain data samples for this
38 * :file:`type`, description of the scan element data storage within the buffer
40 Format is [be|le]:[s|u]bits/storagebits[Xrepeat][>>shift] .
44 * *bits*, is the number of valid data bits.
45 * *storagebits*, is the number of bits (after padding) that it occupies in the
47 * *repeat*, specifies the number of bits/storagebits repetitions. When the
50 masking out unused bits.
52 For example, a driver for a 3-axis accelerometer with 12 bit resolution where
53 data is stored in two 8-bits registers as follows::
56 +---+---+---+---+---+---+---+---+
58 +---+---+---+---+---+---+---+---+
61 +---+---+---+---+---+---+---+---+
63 +---+---+---+---+---+---+---+---+
70 A user space application will interpret data samples read from the buffer as
71 two byte little endian signed data, that needs a 4 bits right shift before
72 masking out the 12 valid bits of data.
118 Setting **scan_index** to -1 can be used to indicate that the specific channel
124 .. kernel-doc:: include/linux/iio/buffer.h
125 .. kernel-doc:: drivers/iio/industrialio-buffer.c