.. | .. |
---|
2 | 2 | Buffers |
---|
3 | 3 | ======= |
---|
4 | 4 | |
---|
5 | | -* struct :c:type:`iio_buffer` — general buffer structure |
---|
| 5 | +* struct iio_buffer — general buffer structure |
---|
6 | 6 | * :c:func:`iio_validate_scan_mask_onehot` — Validates that exactly one channel |
---|
7 | 7 | is selected |
---|
8 | 8 | * :c:func:`iio_buffer_get` — Grab a reference to the buffer |
---|
.. | .. |
---|
26 | 26 | ================ |
---|
27 | 27 | |
---|
28 | 28 | The meta information associated with a channel reading placed in a buffer is |
---|
29 | | -called a scan element . The important bits configuring scan elements are |
---|
| 29 | +called a scan element. The important bits configuring scan elements are |
---|
30 | 30 | exposed to userspace applications via the |
---|
31 | 31 | :file:`/sys/bus/iio/iio:device{X}/scan_elements/*` directory. This file contains |
---|
32 | 32 | attributes of the following form: |
---|
.. | .. |
---|
88 | 88 | The driver implementing the accelerometer described above will have the |
---|
89 | 89 | following channel definition:: |
---|
90 | 90 | |
---|
91 | | - struct struct iio_chan_spec accel_channels[] = { |
---|
| 91 | + struct iio_chan_spec accel_channels[] = { |
---|
92 | 92 | { |
---|
93 | 93 | .type = IIO_ACCEL, |
---|
94 | 94 | .modified = 1, |
---|