Wiki

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
resources:tools-software:linux-software:libiio_internals [10 Feb 2017 19:59] – Fix spelling of GNU Radio Robin Getzresources:tools-software:linux-software:libiio_internals [12 Jul 2018 11:01] – updated iio_channel_read/iio_channel_write format conversion note Alexandru Ardelean
Line 332: Line 332:
  
 ===== Format conversion ===== ===== Format conversion =====
-As stated previously, the iio_channel_read and iio_channel_write functions do convert the samples from/to their hardware format into a more usable format. They actually simply call the iio_channel_convert and iio_channel_convert_inverse public API functions. These two deserve some explanations.+As stated previously, the **iio_channel_read** and **iio_channel_write** functions convert the samples from/to their hardware format to/from the format of the architecture on which libiio is running. They actually simply call the iio_channel_convert and iio_channel_convert_inverse public API functions. These two deserve some explanations.
  
 First, here is a textual representation of the hardware format as reported by the kernel: First, here is a textual representation of the hardware format as reported by the kernel:
resources/tools-software/linux-software/libiio_internals.txt · Last modified: 01 Feb 2021 17:04 by Teo Perisanu