| Offset 1, 10 lines modified | Offset 1, 10 lines modified | ||
| 1 | ·8a283e586c7eb0902cebb6a1626181af·92700·debug·optional·iiod-dbgsym_0.26-2_amd64.deb | 1 | ·8a283e586c7eb0902cebb6a1626181af·92700·debug·optional·iiod-dbgsym_0.26-2_amd64.deb |
| 2 | ·766b7279571d67860be711c7c938a5b2·36680·net·optional·iiod_0.26-2_amd64.deb | 2 | ·766b7279571d67860be711c7c938a5b2·36680·net·optional·iiod_0.26-2_amd64.deb |
| 3 | ·f96893372d33d0158017077304f43067·14260·libdevel·optional·libiio-dev_0.26-2_amd64.deb | 3 | ·f96893372d33d0158017077304f43067·14260·libdevel·optional·libiio-dev_0.26-2_amd64.deb |
| 4 | ·086e726b6acb345d979367fe24ac6021·131416·debug·optional·libiio-utils-dbgsym_0.26-2_amd64.deb | 4 | ·086e726b6acb345d979367fe24ac6021·131416·debug·optional·libiio-utils-dbgsym_0.26-2_amd64.deb |
| 5 | ·02190a3536135019e1438ab4e5ba915f·77864·libs·optional·libiio-utils_0.26-2_amd64.deb | 5 | ·02190a3536135019e1438ab4e5ba915f·77864·libs·optional·libiio-utils_0.26-2_amd64.deb |
| 6 | ·7c78dc53cebb30fddd95a612a7c3f52b·177272·debug·optional·libiio0-dbgsym_0.26-2_amd64.deb | 6 | ·7c78dc53cebb30fddd95a612a7c3f52b·177272·debug·optional·libiio0-dbgsym_0.26-2_amd64.deb |
| 7 | · | 7 | ·235f70538c52dcd782311278f21e1826·1280928·doc·optional·libiio0-doc_0.26-2_all.deb |
| 8 | ·9bb5aa309fd9b6a3d9e50e207ad2e8e8·54796·libs·optional·libiio0_0.26-2_amd64.deb | 8 | ·9bb5aa309fd9b6a3d9e50e207ad2e8e8·54796·libs·optional·libiio0_0.26-2_amd64.deb |
| 9 | ·6154475e4120725fc76e6273e9715660·13832·python·optional·python3-libiio_0.26-2_all.deb | 9 | ·6154475e4120725fc76e6273e9715660·13832·python·optional·python3-libiio_0.26-2_all.deb |
| Offset 1, 3 lines modified | Offset 1, 3 lines modified | ||
| 1 | -rw-r--r--···0········0········0········4·2025-01-27·03:28:55.000000·debian-binary | 1 | -rw-r--r--···0········0········0········4·2025-01-27·03:28:55.000000·debian-binary |
| 2 | -rw-r--r--···0········0········0····1795 | 2 | -rw-r--r--···0········0········0····17956·2025-01-27·03:28:55.000000·control.tar.xz |
| 3 | -rw-r--r--···0········0········0··126 | 3 | -rw-r--r--···0········0········0··1262780·2025-01-27·03:28:55.000000·data.tar.xz |
| Offset 1, 13 lines modified | Offset 1, 13 lines modified | ||
| 1 | Package:·libiio0-doc | 1 | Package:·libiio0-doc |
| 2 | Source:·libiio | 2 | Source:·libiio |
| 3 | Version:·0.26-2 | 3 | Version:·0.26-2 |
| 4 | Architecture:·all | 4 | Architecture:·all |
| 5 | Maintainer:·A.·Maitland·Bottoms·<bottoms@debian.org> | 5 | Maintainer:·A.·Maitland·Bottoms·<bottoms@debian.org> |
| 6 | Installed-Size:·55 | 6 | Installed-Size:·5582 |
| 7 | Depends:·libjs-jquery,·libjs-sphinxdoc,·libjs-underscore | 7 | Depends:·libjs-jquery,·libjs-sphinxdoc,·libjs-underscore |
| 8 | Section:·doc | 8 | Section:·doc |
| 9 | Priority:·optional | 9 | Priority:·optional |
| 10 | Multi-Arch:·foreign | 10 | Multi-Arch:·foreign |
| 11 | Homepage:·https://github.com/analogdevicesinc/libiio | 11 | Homepage:·https://github.com/analogdevicesinc/libiio |
| 12 | Description:·libiio·documentation | 12 | Description:·libiio·documentation |
| 13 | ·Libiio·is·a·library·that·has·been·conceived·to·ease·the·development·of | 13 | ·Libiio·is·a·library·that·has·been·conceived·to·ease·the·development·of |
| Offset 730, 15 lines modified | Offset 730, 15 lines modified | ||
| 730 | -rw-r--r--···0·root·········(0)·root·········(0)······290·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/man1/iio_stresstest.html | 730 | -rw-r--r--···0·root·········(0)·root·········(0)······290·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/man1/iio_stresstest.html |
| 731 | -rw-r--r--···0·root·········(0)·root·········(0)······290·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/man1/iio_writedev.html | 731 | -rw-r--r--···0·root·········(0)·root·········(0)······290·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/man1/iio_writedev.html |
| 732 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/man3/ | 732 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/man3/ |
| 733 | -rw-r--r--···0·root·········(0)·root·········(0)····16899·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/man3/libiio.3.html | 733 | -rw-r--r--···0·root·········(0)·root·········(0)····16899·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/man3/libiio.3.html |
| 734 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/python/ | 734 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/python/ |
| 735 | -rw-r--r--···0·root·········(0)·root·········(0)······231·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/python/.buildinfo | 735 | -rw-r--r--···0·root·········(0)·root·········(0)······231·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/python/.buildinfo |
| 736 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/python/_modules/ | 736 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/python/_modules/ |
| 737 | -rw-r--r--···0·root·········(0)·root·········(0)···17 | 737 | -rw-r--r--···0·root·········(0)·root·········(0)···178951·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/python/_modules/iio.html |
| 738 | -rw-r--r--···0·root·········(0)·root·········(0)···106936·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/python/_modules/iio_attr.html | 738 | -rw-r--r--···0·root·········(0)·root·········(0)···106936·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/python/_modules/iio_attr.html |
| 739 | -rw-r--r--···0·root·········(0)·root·········(0)····23389·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/python/_modules/iio_info.html | 739 | -rw-r--r--···0·root·········(0)·root·········(0)····23389·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/python/_modules/iio_info.html |
| 740 | -rw-r--r--···0·root·········(0)·root·········(0)····34808·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/python/_modules/iio_readdev.html | 740 | -rw-r--r--···0·root·········(0)·root·········(0)····34808·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/python/_modules/iio_readdev.html |
| 741 | -rw-r--r--···0·root·········(0)·root·········(0)····37614·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/python/_modules/iio_writedev.html | 741 | -rw-r--r--···0·root·········(0)·root·········(0)····37614·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/python/_modules/iio_writedev.html |
| 742 | -rw-r--r--···0·root·········(0)·root·········(0)·····3148·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/python/_modules/index.html | 742 | -rw-r--r--···0·root·········(0)·root·········(0)·····3148·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/python/_modules/index.html |
| 743 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/python/_sources/ | 743 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/python/_sources/ |
| 744 | -rw-r--r--···0·root·········(0)·root·········(0)·······89·2024-09-25·12:28:30.000000·./usr/share/doc/libiio0-doc/v0.26/python/_sources/buffer.rst.txt | 744 | -rw-r--r--···0·root·········(0)·root·········(0)·······89·2024-09-25·12:28:30.000000·./usr/share/doc/libiio0-doc/v0.26/python/_sources/buffer.rst.txt |
| Offset 759, 29 lines modified | Offset 759, 29 lines modified | ||
| 759 | -rw-r--r--···0·root·········(0)·root·········(0)······329·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/python/_static/documentation_options.js | 759 | -rw-r--r--···0·root·········(0)·root·········(0)······329·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/python/_static/documentation_options.js |
| 760 | -rw-r--r--···0·root·········(0)·root·········(0)······286·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/python/_static/file.png | 760 | -rw-r--r--···0·root·········(0)·root·········(0)······286·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/python/_static/file.png |
| 761 | -rw-r--r--···0·root·········(0)·root·········(0)·····7791·2024-05-25·18:17:17.000000·./usr/share/doc/libiio0-doc/v0.26/python/_static/forkme_right_darkblue_121621.png | 761 | -rw-r--r--···0·root·········(0)·root·········(0)·····7791·2024-05-25·18:17:17.000000·./usr/share/doc/libiio0-doc/v0.26/python/_static/forkme_right_darkblue_121621.png |
| 762 | -rw-r--r--···0·root·········(0)·root·········(0)·······90·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/python/_static/minus.png | 762 | -rw-r--r--···0·root·········(0)·root·········(0)·······90·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/python/_static/minus.png |
| 763 | -rw-r--r--···0·root·········(0)·root·········(0)·······90·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/python/_static/plus.png | 763 | -rw-r--r--···0·root·········(0)·root·········(0)·······90·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/python/_static/plus.png |
| 764 | -rw-r--r--···0·root·········(0)·root·········(0)·····5359·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/python/_static/pygments.css | 764 | -rw-r--r--···0·root·········(0)·root·········(0)·····5359·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/python/_static/pygments.css |
| 765 | -rw-r--r--···0·root·········(0)·root·········(0)·····5123·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/python/_static/sphinx_highlight.js | 765 | -rw-r--r--···0·root·········(0)·root·········(0)·····5123·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/python/_static/sphinx_highlight.js |
| 766 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 766 | -rw-r--r--···0·root·········(0)·root·········(0)····10212·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/python/buffer.html |
| 767 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 767 | -rw-r--r--···0·root·········(0)·root·········(0)····14517·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/python/channel.html |
| 768 | -rw-r--r--···0·root·········(0)·root·········(0)····25371·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/python/context.html | 768 | -rw-r--r--···0·root·········(0)·root·········(0)····25371·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/python/context.html |
| 769 | -rw-r--r--···0·root·········(0)·root·········(0)····17213·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/python/device.html | 769 | -rw-r--r--···0·root·········(0)·root·········(0)····17213·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/python/device.html |
| 770 | -rw-r--r--···0·root·········(0)·root·········(0)····11622·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/python/examples.html | 770 | -rw-r--r--···0·root·········(0)·root·········(0)····11622·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/python/examples.html |
| 771 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 771 | -rw-r--r--···0·root·········(0)·root·········(0)····21547·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/python/genindex.html |
| 772 | -rw-r--r--···0·root·········(0)·root·········(0)···112177·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/python/iio_attr.html | 772 | -rw-r--r--···0·root·········(0)·root·········(0)···112177·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/python/iio_attr.html |
| 773 | -rw-r--r--···0·root·········(0)·root·········(0)·····6747·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/python/iio_info.html | 773 | -rw-r--r--···0·root·········(0)·root·········(0)·····6747·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/python/iio_info.html |
| 774 | -rw-r--r--···0·root·········(0)·root·········(0)····10391·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/python/iio_readdev.html | 774 | -rw-r--r--···0·root·········(0)·root·········(0)····10391·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/python/iio_readdev.html |
| 775 | -rw-r--r--···0·root·········(0)·root·········(0)····10415·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/python/iio_writedev.html | 775 | -rw-r--r--···0·root·········(0)·root·········(0)····10415·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/python/iio_writedev.html |
| 776 | -rw-r--r--···0·root·········(0)·root·········(0)·····6118·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/python/index.html | 776 | -rw-r--r--···0·root·········(0)·root·········(0)·····6118·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/python/index.html |
| 777 | -rw-r--r--···0·root·········(0)·root·········(0)·····1 | 777 | -rw-r--r--···0·root·········(0)·root·········(0)·····1179·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/python/objects.inv |
| 778 | -rw-r--r--···0·root·········(0)·root·········(0)·····3877·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/python/py-modindex.html | 778 | -rw-r--r--···0·root·········(0)·root·········(0)·····3877·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/python/py-modindex.html |
| 779 | -rw-r--r--···0·root·········(0)·root·········(0)·····3161·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/python/search.html | 779 | -rw-r--r--···0·root·········(0)·root·········(0)·····3161·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/python/search.html |
| 780 | -rw-r--r--···0·root·········(0)·root·········(0)···· | 780 | -rw-r--r--···0·root·········(0)·root·········(0)····22269·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/python/searchindex.js |
| 781 | -rw-r--r--···0·root·········(0)·root·········(0)····11852·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/python/trigger.html | 781 | -rw-r--r--···0·root·········(0)·root·········(0)····11852·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/python/trigger.html |
| 782 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-01-27·03:28:55.000000·./usr/share/doc-base/ | 782 | drwxr-xr-x···0·root·········(0)·root·········(0)········0·2025-01-27·03:28:55.000000·./usr/share/doc-base/ |
| 783 | -rw-r--r--···0·root·········(0)·root·········(0)······255·2024-10-26·02:44:06.000000·./usr/share/doc-base/libiio0-doc.libiio0-doc | 783 | -rw-r--r--···0·root·········(0)·root·········(0)······255·2024-10-26·02:44:06.000000·./usr/share/doc-base/libiio0-doc.libiio0-doc |
| 784 | lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/python/_static/doctools.js·->·../../../../../javascript/sphinxdoc/1.0/doctools.js | 784 | lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/python/_static/doctools.js·->·../../../../../javascript/sphinxdoc/1.0/doctools.js |
| 785 | lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/python/_static/jquery.js·->·../../../../../javascript/jquery/jquery.js | 785 | lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/python/_static/jquery.js·->·../../../../../javascript/jquery/jquery.js |
| 786 | lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/python/_static/language_data.js·->·../../../../../javascript/sphinxdoc/1.0/language_data.js | 786 | lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/python/_static/language_data.js·->·../../../../../javascript/sphinxdoc/1.0/language_data.js |
| 787 | lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/python/_static/searchtools.js·->·../../../../../javascript/sphinxdoc/1.0/searchtools.js | 787 | lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2025-01-27·03:28:55.000000·./usr/share/doc/libiio0-doc/v0.26/python/_static/searchtools.js·->·../../../../../javascript/sphinxdoc/1.0/searchtools.js |
| Offset 858, 14 lines modified | Offset 858, 16 lines modified | ||
| 858 | ········<span·class="k">return</span>·<span·class="n">buf</span><span·class="o">.</span><span·class="n">value</span><span·class="o">.</span><span·class="n">decode</span><span·class="p">(</span><span·class="s2">"ascii"</span><span·class="p">)</span> | 858 | ········<span·class="k">return</span>·<span·class="n">buf</span><span·class="o">.</span><span·class="n">value</span><span·class="o">.</span><span·class="n">decode</span><span·class="p">(</span><span·class="s2">"ascii"</span><span·class="p">)</span> |
| 859 | ····<span·class="k">def</span>·<span·class="nf">_write</span><span·class="p">(</span><span·class="bp">self</span><span·class="p">,</span>·<span·class="n">value</span><span·class="p">):</span> | 859 | ····<span·class="k">def</span>·<span·class="nf">_write</span><span·class="p">(</span><span·class="bp">self</span><span·class="p">,</span>·<span·class="n">value</span><span·class="p">):</span> |
| 860 | ········<span·class="n">_d_write_buffer_attr</span><span·class="p">(</span><span·class="bp">self</span><span·class="o">.</span><span·class="n">_device</span><span·class="p">,</span>·<span·class="bp">self</span><span·class="o">.</span><span·class="n">_name_ascii</span><span·class="p">,</span>·<span·class="n">value</span><span·class="o">.</span><span·class="n">encode</span><span·class="p">(</span><span·class="s2">"ascii"</span><span·class="p">))</span></div> | 860 | ········<span·class="n">_d_write_buffer_attr</span><span·class="p">(</span><span·class="bp">self</span><span·class="o">.</span><span·class="n">_device</span><span·class="p">,</span>·<span·class="bp">self</span><span·class="o">.</span><span·class="n">_name_ascii</span><span·class="p">,</span>·<span·class="n">value</span><span·class="o">.</span><span·class="n">encode</span><span·class="p">(</span><span·class="s2">"ascii"</span><span·class="p">))</span></div> |
| 861 | <div·class="viewcode-block"·id="Channel"> | ||
| 862 | <a·class="viewcode-back"·href="../channel.html#iio.Channel">[docs]</a> | ||
| 861 | <span·class="k">class</span>·<span·class="nc">Channel</span><span·class="p">(</span><span·class="nb">object</span><span·class="p">):</span> | 863 | <span·class="k">class</span>·<span·class="nc">Channel</span><span·class="p">(</span><span·class="nb">object</span><span·class="p">):</span> |
| 862 | <span·class="w">····</span><span·class="sd">"""Represents·a·channel·of·an·IIO·device."""</span> | 864 | <span·class="w">····</span><span·class="sd">"""Represents·a·channel·of·an·IIO·device."""</span> |
| 863 | ····<span·class="k">def</span>·<span·class="fm">__init__</span><span·class="p">(</span><span·class="bp">self</span><span·class="p">,</span>·<span·class="n">dev</span><span·class="p">,</span>·<span·class="n">_channel</span><span·class="p">):</span> | 865 | ····<span·class="k">def</span>·<span·class="fm">__init__</span><span·class="p">(</span><span·class="bp">self</span><span·class="p">,</span>·<span·class="n">dev</span><span·class="p">,</span>·<span·class="n">_channel</span><span·class="p">):</span> |
| 864 | <span·class="w">········</span><span·class="sd">"""</span> | 866 | <span·class="w">········</span><span·class="sd">"""</span> |
| 865 | <span·class="sd">········Initialize·a·new·instance·of·the·Channel·class.</span> | 867 | <span·class="sd">········Initialize·a·new·instance·of·the·Channel·class.</span> |
| Offset 887, 14 lines modified | Offset 889, 16 lines modified | ||
| 887 | ········<span·class="bp">self</span><span·class="o">.</span><span·class="n">_id</span>·<span·class="o">=</span>·<span·class="n">_c_get_id</span><span·class="p">(</span><span·class="bp">self</span><span·class="o">.</span><span·class="n">_channel</span><span·class="p">)</span><span·class="o">.</span><span·class="n">decode</span><span·class="p">(</span><span·class="s2">"ascii"</span><span·class="p">)</span> | 889 | ········<span·class="bp">self</span><span·class="o">.</span><span·class="n">_id</span>·<span·class="o">=</span>·<span·class="n">_c_get_id</span><span·class="p">(</span><span·class="bp">self</span><span·class="o">.</span><span·class="n">_channel</span><span·class="p">)</span><span·class="o">.</span><span·class="n">decode</span><span·class="p">(</span><span·class="s2">"ascii"</span><span·class="p">)</span> |
| 888 | ········<span·class="n">name_raw</span>·<span·class="o">=</span>·<span·class="n">_c_get_name</span><span·class="p">(</span><span·class="bp">self</span><span·class="o">.</span><span·class="n">_channel</span><span·class="p">)</span> | 890 | ········<span·class="n">name_raw</span>·<span·class="o">=</span>·<span·class="n">_c_get_name</span><span·class="p">(</span><span·class="bp">self</span><span·class="o">.</span><span·class="n">_channel</span><span·class="p">)</span> |
| 889 | ········<span·class="bp">self</span><span·class="o">.</span><span·class="n">_name</span>·<span·class="o">=</span>·<span·class="n">name_raw</span><span·class="o">.</span><span·class="n">decode</span><span·class="p">(</span><span·class="s2">"ascii"</span><span·class="p">)</span>·<span·class="k">if</span>·<span·class="n">name_raw</span>·<span·class="ow">is</span>·<span·class="ow">not</span>·<span·class="kc">None</span>·<span·class="k">else</span>·<span·class="kc">None</span> | 891 | ········<span·class="bp">self</span><span·class="o">.</span><span·class="n">_name</span>·<span·class="o">=</span>·<span·class="n">name_raw</span><span·class="o">.</span><span·class="n">decode</span><span·class="p">(</span><span·class="s2">"ascii"</span><span·class="p">)</span>·<span·class="k">if</span>·<span·class="n">name_raw</span>·<span·class="ow">is</span>·<span·class="ow">not</span>·<span·class="kc">None</span>·<span·class="k">else</span>·<span·class="kc">None</span> |
| 890 | ········<span·class="bp">self</span><span·class="o">.</span><span·class="n">_output</span>·<span·class="o">=</span>·<span·class="n">_c_is_output</span><span·class="p">(</span><span·class="bp">self</span><span·class="o">.</span><span·class="n">_channel</span><span·class="p">)</span> | 892 | ········<span·class="bp">self</span><span·class="o">.</span><span·class="n">_output</span>·<span·class="o">=</span>·<span·class="n">_c_is_output</span><span·class="p">(</span><span·class="bp">self</span><span·class="o">.</span><span·class="n">_channel</span><span·class="p">)</span> |
| 891 | ········<span·class="bp">self</span><span·class="o">.</span><span·class="n">_scan_element</span>·<span·class="o">=</span>·<span·class="n">_c_is_scan_element</span><span·class="p">(</span><span·class="bp">self</span><span·class="o">.</span><span·class="n">_channel</span><span·class="p">)</span> | 893 | ········<span·class="bp">self</span><span·class="o">.</span><span·class="n">_scan_element</span>·<span·class="o">=</span>·<span·class="n">_c_is_scan_element</span><span·class="p">(</span><span·class="bp">self</span><span·class="o">.</span><span·class="n">_channel</span><span·class="p">)</span> |
| 894 | <div·class="viewcode-block"·id="Channel.read"> | ||
| 895 | <a·class="viewcode-back"·href="../channel.html#iio.Channel.read">[docs]</a> | ||
| 892 | ····<span·class="k">def</span>·<span·class="nf">read</span><span·class="p">(</span><span·class="bp">self</span><span·class="p">,</span>·<span·class="n">buf</span><span·class="p">,</span>·<span·class="n">raw</span><span·class="o">=</span><span·class="kc">False</span><span·class="p">):</span> | 896 | ····<span·class="k">def</span>·<span·class="nf">read</span><span·class="p">(</span><span·class="bp">self</span><span·class="p">,</span>·<span·class="n">buf</span><span·class="p">,</span>·<span·class="n">raw</span><span·class="o">=</span><span·class="kc">False</span><span·class="p">):</span> |
| 893 | <span·class="w">········</span><span·class="sd">"""</span> | 897 | <span·class="w">········</span><span·class="sd">"""</span> |
| 894 | <span·class="sd">········Extract·the·samples·corresponding·to·this·channel·from·the·given·iio.Buffer·object.</span> | 898 | <span·class="sd">········Extract·the·samples·corresponding·to·this·channel·from·the·given·iio.Buffer·object.</span> |
| 895 | <span·class="sd">········:param·buf:·type=iio.Buffer</span> | 899 | <span·class="sd">········:param·buf:·type=iio.Buffer</span> |
| 896 | <span·class="sd">············A·valid·instance·of·the·iio.Buffer·class</span> | 900 | <span·class="sd">············A·valid·instance·of·the·iio.Buffer·class</span> |
| 897 | <span·class="sd">········:param·raw:·type=bool</span> | 901 | <span·class="sd">········:param·raw:·type=bool</span> |
| Offset 907, 16 lines modified | Offset 911, 19 lines modified | ||
| 907 | ········<span·class="n">array</span>·<span·class="o">=</span>·<span·class="nb">bytearray</span><span·class="p">(</span><span·class="n">buf</span><span·class="o">.</span><span·class="n">_length</span><span·class="p">)</span> | 911 | ········<span·class="n">array</span>·<span·class="o">=</span>·<span·class="nb">bytearray</span><span·class="p">(</span><span·class="n">buf</span><span·class="o">.</span><span·class="n">_length</span><span·class="p">)</span> |
| 908 | ········<span·class="n">mytype</span>·<span·class="o">=</span>·<span·class="n">c_char</span>·<span·class="o">*</span>·<span·class="nb">len</span><span·class="p">(</span><span·class="n">array</span><span·class="p">)</span> | 912 | ········<span·class="n">mytype</span>·<span·class="o">=</span>·<span·class="n">c_char</span>·<span·class="o">*</span>·<span·class="nb">len</span><span·class="p">(</span><span·class="n">array</span><span·class="p">)</span> |
| 909 | ········<span·class="n">c_array</span>·<span·class="o">=</span>·<span·class="n">mytype</span><span·class="o">.</span><span·class="n">from_buffer</span><span·class="p">(</span><span·class="n">array</span><span·class="p">)</span> | 913 | ········<span·class="n">c_array</span>·<span·class="o">=</span>·<span·class="n">mytype</span><span·class="o">.</span><span·class="n">from_buffer</span><span·class="p">(</span><span·class="n">array</span><span·class="p">)</span> |
| 910 | ········<span·class="k">if</span>·<span·class="n">raw</span><span·class="p">:</span> | 914 | ········<span·class="k">if</span>·<span·class="n">raw</span><span·class="p">:</span> |
| 911 | ············<span·class="n">length</span>·<span·class="o">=</span>·<span·class="n">_c_read_raw</span><span·class="p">(</span><span·class="bp">self</span><span·class="o">.</span><span·class="n">_channel</span><span·class="p">,</span>·<span·class="n">buf</span><span·class="o">.</span><span·class="n">_buffer</span><span·class="p">,</span>·<span·class="n">c_array</span><span·class="p">,</span>·<span·class="nb">len</span><span·class="p">(</span><span·class="n">array</span><span·class="p">))</span> | 915 | ············<span·class="n">length</span>·<span·class="o">=</span>·<span·class="n">_c_read_raw</span><span·class="p">(</span><span·class="bp">self</span><span·class="o">.</span><span·class="n">_channel</span><span·class="p">,</span>·<span·class="n">buf</span><span·class="o">.</span><span·class="n">_buffer</span><span·class="p">,</span>·<span·class="n">c_array</span><span·class="p">,</span>·<span·class="nb">len</span><span·class="p">(</span><span·class="n">array</span><span·class="p">))</span> |
| 912 | ········<span·class="k">else</span><span·class="p">:</span> | 916 | ········<span·class="k">else</span><span·class="p">:</span> |
| 913 | ············<span·class="n">length</span>·<span·class="o">=</span>·<span·class="n">_c_read</span><span·class="p">(</span><span·class="bp">self</span><span·class="o">.</span><span·class="n">_channel</span><span·class="p">,</span>·<span·class="n">buf</span><span·class="o">.</span><span·class="n">_buffer</span><span·class="p">,</span>·<span·class="n">c_array</span><span·class="p">,</span>·<span·class="nb">len</span><span·class="p">(</span><span·class="n">array</span><span·class="p">))</span> | 917 | ············<span·class="n">length</span>·<span·class="o">=</span>·<span·class="n">_c_read</span><span·class="p">(</span><span·class="bp">self</span><span·class="o">.</span><span·class="n">_channel</span><span·class="p">,</span>·<span·class="n">buf</span><span·class="o">.</span><span·class="n">_buffer</span><span·class="p">,</span>·<span·class="n">c_array</span><span·class="p">,</span>·<span·class="nb">len</span><span·class="p">(</span><span·class="n">array</span><span·class="p">))</span> |
| 914 | ········<span·class="k">return</span>·<span·class="n">array</span><span·class="p">[:</span><span·class="n">length</span><span·class="p">]</span> | 918 | ········<span·class="k">return</span>·<span·class="n">array</span><span·class="p">[:</span><span·class="n">length</span><span·class="p">]</span></div> |
| 919 | <div·class="viewcode-block"·id="Channel.write"> | ||
| 920 | <a·class="viewcode-back"·href="../channel.html#iio.Channel.write">[docs]</a> | ||
| 915 | ····<span·class="k">def</span>·<span·class="nf">write</span><span·class="p">(</span><span·class="bp">self</span><span·class="p">,</span>·<span·class="n">buf</span><span·class="p">,</span>·<span·class="n">array</span><span·class="p">,</span>·<span·class="n">raw</span><span·class="o">=</span><span·class="kc">False</span><span·class="p">):</span> | 921 | ····<span·class="k">def</span>·<span·class="nf">write</span><span·class="p">(</span><span·class="bp">self</span><span·class="p">,</span>·<span·class="n">buf</span><span·class="p">,</span>·<span·class="n">array</span><span·class="p">,</span>·<span·class="n">raw</span><span·class="o">=</span><span·class="kc">False</span><span·class="p">):</span> |
| 916 | <span·class="w">········</span><span·class="sd">"""</span> | 922 | <span·class="w">········</span><span·class="sd">"""</span> |
| 917 | <span·class="sd">········Write·the·specified·array·of·samples·corresponding·to·this·channel·into·the·given·iio.Buffer·object.</span> | 923 | <span·class="sd">········Write·the·specified·array·of·samples·corresponding·to·this·channel·into·the·given·iio.Buffer·object.</span> |
| 918 | <span·class="sd">········:param·buf:·type=iio.Buffer</span> | 924 | <span·class="sd">········:param·buf:·type=iio.Buffer</span> |
| 919 | <span·class="sd">············A·valid·instance·of·the·iio.Buffer·class</span> | 925 | <span·class="sd">············A·valid·instance·of·the·iio.Buffer·class</span> |
| 920 | <span·class="sd">········:param·array:·type=bytearray</span> | 926 | <span·class="sd">········:param·array:·type=bytearray</span> |
| Offset 928, 15 lines modified | Offset 935, 16 lines modified | ||
| 928 | <span·class="sd">········returns:·type=int</span> | 935 | <span·class="sd">········returns:·type=int</span> |
| 929 | <span·class="sd">············The·number·of·bytes·written</span> | 936 | <span·class="sd">············The·number·of·bytes·written</span> |
| 930 | <span·class="sd">········"""</span> | 937 | <span·class="sd">········"""</span> |
| 931 | ········<span·class="n">mytype</span>·<span·class="o">=</span>·<span·class="n">c_char</span>·<span·class="o">*</span>·<span·class="nb">len</span><span·class="p">(</span><span·class="n">array</span><span·class="p">)</span> | 938 | ········<span·class="n">mytype</span>·<span·class="o">=</span>·<span·class="n">c_char</span>·<span·class="o">*</span>·<span·class="nb">len</span><span·class="p">(</span><span·class="n">array</span><span·class="p">)</span> |
| 932 | ········<span·class="n">c_array</span>·<span·class="o">=</span>·<span·class="n">mytype</span><span·class="o">.</span><span·class="n">from_buffer</span><span·class="p">(</span><span·class="n">array</span><span·class="p">)</span> | 939 | ········<span·class="n">c_array</span>·<span·class="o">=</span>·<span·class="n">mytype</span><span·class="o">.</span><span·class="n">from_buffer</span><span·class="p">(</span><span·class="n">array</span><span·class="p">)</span> |
| 933 | ········<span·class="k">if</span>·<span·class="n">raw</span><span·class="p">:</span> | 940 | ········<span·class="k">if</span>·<span·class="n">raw</span><span·class="p">:</span> |
| 934 | ············<span·class="k">return</span>·<span·class="n">_c_write_raw</span><span·class="p">(</span><span·class="bp">self</span><span·class="o">.</span><span·class="n">_channel</span><span·class="p">,</span>·<span·class="n">buf</span><span·class="o">.</span><span·class="n">_buffer</span><span·class="p">,</span>·<span·class="n">c_array</span><span·class="p">,</span>·<span·class="nb">len</span><span·class="p">(</span><span·class="n">array</span><span·class="p">))</span> | 941 | ············<span·class="k">return</span>·<span·class="n">_c_write_raw</span><span·class="p">(</span><span·class="bp">self</span><span·class="o">.</span><span·class="n">_channel</span><span·class="p">,</span>·<span·class="n">buf</span><span·class="o">.</span><span·class="n">_buffer</span><span·class="p">,</span>·<span·class="n">c_array</span><span·class="p">,</span>·<span·class="nb">len</span><span·class="p">(</span><span·class="n">array</span><span·class="p">))</span> |
| 935 | ········<span·class="k">return</span>·<span·class="n">_c_write</span><span·class="p">(</span><span·class="bp">self</span><span·class="o">.</span><span·class="n">_channel</span><span·class="p">,</span>·<span·class="n">buf</span><span·class="o">.</span><span·class="n">_buffer</span><span·class="p">,</span>·<span·class="n">c_array</span><span·class="p">,</span>·<span·class="nb">len</span><span·class="p">(</span><span·class="n">array</span><span·class="p">))</span> | 942 | ········<span·class="k">return</span>·<span·class="n">_c_write</span><span·class="p">(</span><span·class="bp">self</span><span·class="o">.</span><span·class="n">_channel</span><span·class="p">,</span>·<span·class="n">buf</span><span·class="o">.</span><span·class="n">_buffer</span><span·class="p">,</span>·<span·class="n">c_array</span><span·class="p">,</span>·<span·class="nb">len</span><span·class="p">(</span><span·class="n">array</span><span·class="p">))</span></div> |
| 936 | ····<span·class="nb">id</span>·<span·class="o">=</span>·<span·class="nb">property</span><span·class="p">(</span> | 943 | ····<span·class="nb">id</span>·<span·class="o">=</span>·<span·class="nb">property</span><span·class="p">(</span> |
| 937 | ········<span·class="k">lambda</span>·<span·class="bp">self</span><span·class="p">:</span>·<span·class="bp">self</span><span·class="o">.</span><span·class="n">_id</span><span·class="p">,</span> | 944 | ········<span·class="k">lambda</span>·<span·class="bp">self</span><span·class="p">:</span>·<span·class="bp">self</span><span·class="o">.</span><span·class="n">_id</span><span·class="p">,</span> |
| 938 | ········<span·class="kc">None</span><span·class="p">,</span> | 945 | ········<span·class="kc">None</span><span·class="p">,</span> |
| 939 | ········<span·class="kc">None</span><span·class="p">,</span> | 946 | ········<span·class="kc">None</span><span·class="p">,</span> |
| 940 | ········<span·class="s2">"An·identifier·of·this·channel.</span><span·class="se">\n\t</span><span·class="s2">Note·that·it·is·possible·that·two·channels·have·the·same·ID,·if·one·is·an·input·channel·and·the·other·is·an·output·channel.</span><span·class="se">\n\t</span><span·class="s2">type=str"</span><span·class="p">,</span> | 947 | ········<span·class="s2">"An·identifier·of·this·channel.</span><span·class="se">\n\t</span><span·class="s2">Note·that·it·is·possible·that·two·channels·have·the·same·ID,·if·one·is·an·input·channel·and·the·other·is·an·output·channel.</span><span·class="se">\n\t</span><span·class="s2">type=str"</span><span·class="p">,</span> |
| 941 | ····<span·class="p">)</span> | 948 | ····<span·class="p">)</span> |
| Offset 999, 17 lines modified | Offset 1007, 20 lines modified | ||
| 999 | ····<span·class="nd">@property</span> | 1007 | ····<span·class="nd">@property</span> |
| 1000 | ····<span·class="k">def</span>·<span·class="nf">type</span><span·class="p">(</span><span·class="bp">self</span><span·class="p">):</span> | 1008 | ····<span·class="k">def</span>·<span·class="nf">type</span><span·class="p">(</span><span·class="bp">self</span><span·class="p">):</span> |
| 1001 | <span·class="w">········</span><span·class="sd">"""</span> | 1009 | <span·class="w">········</span><span·class="sd">"""</span> |
| 1002 | <span·class="sd">········Type·for·the·channel.</span> | 1010 | <span·class="sd">········Type·for·the·channel.</span> |
| 1003 | <span·class="sd">········type:·iio.ChannelType(Enum)</span> | 1011 | <span·class="sd">········type:·iio.ChannelType(Enum)</span> |
| 1004 | <span·class="sd">········"""</span> | 1012 | <span·class="sd">········"""</span> |
| 1005 | ········<span·class="k">return</span>·<span·class="n">ChannelType</span><span·class="p">(</span><span·class="n">_channel_get_type</span><span·class="p">(</span><span·class="bp">self</span><span·class="o">.</span><span·class="n">_channel</span><span·class="p">))</span> | 1013 | ········<span·class="k">return</span>·<span·class="n">ChannelType</span><span·class="p">(</span><span·class="n">_channel_get_type</span><span·class="p">(</span><span·class="bp">self</span><span·class="o">.</span><span·class="n">_channel</span><span·class="p">))</span></div> |
| 1014 | <div·class="viewcode-block"·id="Buffer"> | ||
| 1015 | <a·class="viewcode-back"·href="../buffer.html#iio.Buffer">[docs]</a> | ||
| 1006 | <span·class="k">class</span>·<span·class="nc">Buffer</span><span·class="p">(</span><span·class="nb">object</span><span·class="p">):</span> | 1016 | <span·class="k">class</span>·<span·class="nc">Buffer</span><span·class="p">(</span><span·class="nb">object</span><span·class="p">):</span> |
| 1007 | <span·class="w">····</span><span·class="sd">"""The·class·used·for·all·I/O·operations."""</span> | 1017 | <span·class="w">····</span><span·class="sd">"""The·class·used·for·all·I/O·operations."""</span> |
| 1008 | ····<span·class="k">def</span>·<span·class="fm">__init__</span><span·class="p">(</span><span·class="bp">self</span><span·class="p">,</span>·<span·class="n">device</span><span·class="p">,</span>·<span·class="n">samples_count</span><span·class="p">,</span>·<span·class="n">cyclic</span><span·class="o">=</span><span·class="kc">False</span><span·class="p">):</span> | 1018 | ····<span·class="k">def</span>·<span·class="fm">__init__</span><span·class="p">(</span><span·class="bp">self</span><span·class="p">,</span>·<span·class="n">device</span><span·class="p">,</span>·<span·class="n">samples_count</span><span·class="p">,</span>·<span·class="n">cyclic</span><span·class="o">=</span><span·class="kc">False</span><span·class="p">):</span> |
| 1009 | <span·class="w">········</span><span·class="sd">"""</span> | 1019 | <span·class="w">········</span><span·class="sd">"""</span> |
| 1010 | <span·class="sd">········Initialize·a·new·instance·of·the·Buffer·class.</span> | 1020 | <span·class="sd">········Initialize·a·new·instance·of·the·Buffer·class.</span> |
| Offset 1041, 42 lines modified | Offset 1052, 53 lines modified | ||
| 1041 | ········<span·class="k">if</span>·<span·class="bp">self</span><span·class="o">.</span><span·class="n">_buffer</span>·<span·class="ow">is</span>·<span·class="ow">not</span>·<span·class="kc">None</span><span·class="p">:</span> | 1052 | ········<span·class="k">if</span>·<span·class="bp">self</span><span·class="o">.</span><span·class="n">_buffer</span>·<span·class="ow">is</span>·<span·class="ow">not</span>·<span·class="kc">None</span><span·class="p">:</span> |
| 1042 | ············<span·class="n">_buffer_destroy</span><span·class="p">(</span><span·class="bp">self</span><span·class="o">.</span><span·class="n">_buffer</span><span·class="p">)</span> | 1053 | ············<span·class="n">_buffer_destroy</span><span·class="p">(</span><span·class="bp">self</span><span·class="o">.</span><span·class="n">_buffer</span><span·class="p">)</span> |
| 1043 | ····<span·class="k">def</span>·<span·class="fm">__len__</span><span·class="p">(</span><span·class="bp">self</span><span·class="p">):</span> | 1054 | ····<span·class="k">def</span>·<span·class="fm">__len__</span><span·class="p">(</span><span·class="bp">self</span><span·class="p">):</span> |
| 1044 | <span·class="w">········</span><span·class="sd">"""Size·of·this·buffer,·in·bytes."""</span> | 1055 | <span·class="w">········</span><span·class="sd">"""Size·of·this·buffer,·in·bytes."""</span> |
| 1045 | ········<span·class="k">return</span>·<span·class="bp">self</span><span·class="o">.</span><span·class="n">_length</span> | 1056 | ········<span·class="k">return</span>·<span·class="bp">self</span><span·class="o">.</span><span·class="n">_length</span> |
| 1057 | <div·class="viewcode-block"·id="Buffer.refill"> | ||
| 1058 | <a·class="viewcode-back"·href="../buffer.html#iio.Buffer.refill">[docs]</a> | ||
| 1046 | ····<span·class="k">def</span>·<span·class="nf">refill</span><span·class="p">(</span><span·class="bp">self</span><span·class="p">):</span> | 1059 | ····<span·class="k">def</span>·<span·class="nf">refill</span><span·class="p">(</span><span·class="bp">self</span><span·class="p">):</span> |
| 1047 | <span·class="w">········</span><span·class="sd">"""Fetch·a·new·set·of·samples·from·the·hardware."""</span> | 1060 | <span·class="w">········</span><span·class="sd">"""Fetch·a·new·set·of·samples·from·the·hardware."""</span> |
| 1048 | ········<span·class="n">_buffer_refill</span><span·class="p">(</span><span·class="bp">self</span><span·class="o">.</span><span·class="n">_buffer</span><span·class="p">)</span> | 1061 | ········<span·class="n">_buffer_refill</span><span·class="p">(</span><span·class="bp">self</span><span·class="o">.</span><span·class="n">_buffer</span><span·class="p">)</span></div> |
| 1062 | <div·class="viewcode-block"·id="Buffer.push"> | ||
| 1063 | <a·class="viewcode-back"·href="../buffer.html#iio.Buffer.push">[docs]</a> | ||
| 1049 | ····<span·class="k">def</span>·<span·class="nf">push</span><span·class="p">(</span><span·class="bp">self</span><span·class="p">,</span>·<span·class="n">samples_count</span><span·class="o">=</span><span·class="kc">None</span><span·class="p">):</span> | 1064 | ····<span·class="k">def</span>·<span·class="nf">push</span><span·class="p">(</span><span·class="bp">self</span><span·class="p">,</span>·<span·class="n">samples_count</span><span·class="o">=</span><span·class="kc">None</span><span·class="p">):</span> |
| 1050 | <span·class="w">········</span><span·class="sd">"""</span> | 1065 | <span·class="w">········</span><span·class="sd">"""</span> |
| 1051 | <span·class="sd">········Submit·the·samples·contained·in·this·buffer·to·the·hardware.</span> | 1066 | <span·class="sd">········Submit·the·samples·contained·in·this·buffer·to·the·hardware.</span> |
| 1052 | <span·class="sd">········:param·samples_count:·type=int</span> | 1067 | <span·class="sd">········:param·samples_count:·type=int</span> |
| 1053 | <span·class="sd">············The·number·of·samples·to·submit,·default·=·full·buffer</span> | 1068 | <span·class="sd">············The·number·of·samples·to·submit,·default·=·full·buffer</span> |
| 1054 | <span·class="sd">········"""</span> | 1069 | <span·class="sd">········"""</span> |
| 1055 | ········<span·class="n">_buffer_push_partial</span><span·class="p">(</span><span·class="bp">self</span><span·class="o">.</span><span·class="n">_buffer</span><span·class="p">,</span>·<span·class="n">samples_count</span>·<span·class="ow">or</span>·<span·class="bp">self</span><span·class="o">.</span><span·class="n">_samples_count</span><span·class="p">)</span> | 1070 | ········<span·class="n">_buffer_push_partial</span><span·class="p">(</span><span·class="bp">self</span><span·class="o">.</span><span·class="n">_buffer</span><span·class="p">,</span>·<span·class="n">samples_count</span>·<span·class="ow">or</span>·<span·class="bp">self</span><span·class="o">.</span><span·class="n">_samples_count</span><span·class="p">)</span></div> |
| 1071 | <div·class="viewcode-block"·id="Buffer.read"> | ||
| 1072 | <a·class="viewcode-back"·href="../buffer.html#iio.Buffer.read">[docs]</a> | ||
| 1056 | ····<span·class="k">def</span>·<span·class="nf">read</span><span·class="p">(</span><span·class="bp">self</span><span·class="p">):</span> | 1073 | ····<span·class="k">def</span>·<span·class="nf">read</span><span·class="p">(</span><span·class="bp">self</span><span·class="p">):</span> |
| 1057 | <span·class="w">········</span><span·class="sd">"""</span> | 1074 | <span·class="w">········</span><span·class="sd">"""</span> |
| 1058 | <span·class="sd">········Retrieve·the·samples·contained·inside·the·Buffer·object.</span> | 1075 | <span·class="sd">········Retrieve·the·samples·contained·inside·the·Buffer·object.</span> |
| 1059 | <span·class="sd">········returns:·type=bytearray</span> | 1076 | <span·class="sd">········returns:·type=bytearray</span> |
| 1060 | <span·class="sd">············An·array·containing·the·samples</span> | 1077 | <span·class="sd">············An·array·containing·the·samples</span> |
| 1061 | <span·class="sd">········"""</span> | 1078 | <span·class="sd">········"""</span> |
| Max diff block lines reached; 7961/24040 bytes (33.12%) of diff not shown. | |||
| Offset 839, 14 lines modified | Offset 839, 16 lines modified | ||
| 839 | ····def·_write(self,·value): | 839 | ····def·_write(self,·value): |
| 840 | ········_d_write_buffer_attr(self._device,·self._name_ascii,·value.encode | 840 | ········_d_write_buffer_attr(self._device,·self._name_ascii,·value.encode |
| 841 | ("ascii")) | 841 | ("ascii")) |
| 842 | [docs] | ||
| 842 | class·Channel(object): | 843 | class·Channel(object): |
| 843 | ····"""Represents·a·channel·of·an·IIO·device.""" | 844 | ····"""Represents·a·channel·of·an·IIO·device.""" |
| 844 | ····def·__init__(self,·dev,·_channel): | 845 | ····def·__init__(self,·dev,·_channel): |
| 845 | ········""" | 846 | ········""" |
| 846 | ········Initialize·a·new·instance·of·the·Channel·class. | 847 | ········Initialize·a·new·instance·of·the·Channel·class. |
| Offset 868, 14 lines modified | Offset 870, 16 lines modified | ||
| 868 | ········self._id·=·_c_get_id(self._channel).decode("ascii") | 870 | ········self._id·=·_c_get_id(self._channel).decode("ascii") |
| 869 | ········name_raw·=·_c_get_name(self._channel) | 871 | ········name_raw·=·_c_get_name(self._channel) |
| 870 | ········self._name·=·name_raw.decode("ascii")·if·name_raw·is·not·None·else·None | 872 | ········self._name·=·name_raw.decode("ascii")·if·name_raw·is·not·None·else·None |
| 871 | ········self._output·=·_c_is_output(self._channel) | 873 | ········self._output·=·_c_is_output(self._channel) |
| 872 | ········self._scan_element·=·_c_is_scan_element(self._channel) | 874 | ········self._scan_element·=·_c_is_scan_element(self._channel) |
| 875 | [docs] | ||
| 873 | ····def·read(self,·buf,·raw=False): | 876 | ····def·read(self,·buf,·raw=False): |
| 874 | ········""" | 877 | ········""" |
| 875 | ········Extract·the·samples·corresponding·to·this·channel·from·the·given | 878 | ········Extract·the·samples·corresponding·to·this·channel·from·the·given |
| 876 | iio.Buffer·object. | 879 | iio.Buffer·object. |
| 877 | ········:param·buf:·type=iio.Buffer | 880 | ········:param·buf:·type=iio.Buffer |
| 878 | ············A·valid·instance·of·the·iio.Buffer·class | 881 | ············A·valid·instance·of·the·iio.Buffer·class |
| Offset 892, 14 lines modified | Offset 896, 18 lines modified | ||
| 892 | ········if·raw: | 896 | ········if·raw: |
| 893 | ············length·=·_c_read_raw(self._channel,·buf._buffer,·c_array,·len | 897 | ············length·=·_c_read_raw(self._channel,·buf._buffer,·c_array,·len |
| 894 | (array)) | 898 | (array)) |
| 895 | ········else: | 899 | ········else: |
| 896 | ············length·=·_c_read(self._channel,·buf._buffer,·c_array,·len(array)) | 900 | ············length·=·_c_read(self._channel,·buf._buffer,·c_array,·len(array)) |
| 897 | ········return·array[:length] | 901 | ········return·array[:length] |
| 902 | [docs] | ||
| 898 | ····def·write(self,·buf,·array,·raw=False): | 903 | ····def·write(self,·buf,·array,·raw=False): |
| 899 | ········""" | 904 | ········""" |
| 900 | ········Write·the·specified·array·of·samples·corresponding·to·this·channel·into | 905 | ········Write·the·specified·array·of·samples·corresponding·to·this·channel·into |
| 901 | the·given·iio.Buffer·object. | 906 | the·given·iio.Buffer·object. |
| 902 | ········:param·buf:·type=iio.Buffer | 907 | ········:param·buf:·type=iio.Buffer |
| 903 | ············A·valid·instance·of·the·iio.Buffer·class | 908 | ············A·valid·instance·of·the·iio.Buffer·class |
| Offset 915, 14 lines modified | Offset 923, 16 lines modified | ||
| 915 | ········mytype·=·c_char·*·len(array) | 923 | ········mytype·=·c_char·*·len(array) |
| 916 | ········c_array·=·mytype.from_buffer(array) | 924 | ········c_array·=·mytype.from_buffer(array) |
| 917 | ········if·raw: | 925 | ········if·raw: |
| 918 | ············return·_c_write_raw(self._channel,·buf._buffer,·c_array,·len | 926 | ············return·_c_write_raw(self._channel,·buf._buffer,·c_array,·len |
| 919 | (array)) | 927 | (array)) |
| 920 | ········return·_c_write(self._channel,·buf._buffer,·c_array,·len(array)) | 928 | ········return·_c_write(self._channel,·buf._buffer,·c_array,·len(array)) |
| 921 | ····id·=·property( | 929 | ····id·=·property( |
| 922 | ········lambda·self:·self._id, | 930 | ········lambda·self:·self._id, |
| 923 | ········None, | 931 | ········None, |
| 924 | ········None, | 932 | ········None, |
| 925 | ········"An·identifier·of·this·channel.\n\tNote·that·it·is·possible·that·two | 933 | ········"An·identifier·of·this·channel.\n\tNote·that·it·is·possible·that·two |
| 926 | channels·have·the·same·ID,·if·one·is·an·input·channel·and·the·other·is·an | 934 | channels·have·the·same·ID,·if·one·is·an·input·channel·and·the·other·is·an |
| 927 | output·channel.\n\ttype=str", | 935 | output·channel.\n\ttype=str", |
| Offset 994, 14 lines modified | Offset 1004, 18 lines modified | ||
| 994 | ········""" | 1004 | ········""" |
| 995 | ········Type·for·the·channel. | 1005 | ········Type·for·the·channel. |
| 996 | ········type:·iio.ChannelType(Enum) | 1006 | ········type:·iio.ChannelType(Enum) |
| 997 | ········""" | 1007 | ········""" |
| 998 | ········return·ChannelType(_channel_get_type(self._channel)) | 1008 | ········return·ChannelType(_channel_get_type(self._channel)) |
| 1009 | [docs] | ||
| 999 | class·Buffer(object): | 1010 | class·Buffer(object): |
| 1000 | ····"""The·class·used·for·all·I/O·operations.""" | 1011 | ····"""The·class·used·for·all·I/O·operations.""" |
| 1001 | ····def·__init__(self,·device,·samples_count,·cyclic=False): | 1012 | ····def·__init__(self,·device,·samples_count,·cyclic=False): |
| 1002 | ········""" | 1013 | ········""" |
| 1003 | ········Initialize·a·new·instance·of·the·Buffer·class. | 1014 | ········Initialize·a·new·instance·of·the·Buffer·class. |
| Offset 1035, 28 lines modified | Offset 1049, 38 lines modified | ||
| 1035 | ········if·self._buffer·is·not·None: | 1049 | ········if·self._buffer·is·not·None: |
| 1036 | ············_buffer_destroy(self._buffer) | 1050 | ············_buffer_destroy(self._buffer) |
| 1037 | ····def·__len__(self): | 1051 | ····def·__len__(self): |
| 1038 | ········"""Size·of·this·buffer,·in·bytes.""" | 1052 | ········"""Size·of·this·buffer,·in·bytes.""" |
| 1039 | ········return·self._length | 1053 | ········return·self._length |
| 1054 | [docs] | ||
| 1040 | ····def·refill(self): | 1055 | ····def·refill(self): |
| 1041 | ········"""Fetch·a·new·set·of·samples·from·the·hardware.""" | 1056 | ········"""Fetch·a·new·set·of·samples·from·the·hardware.""" |
| 1042 | ········_buffer_refill(self._buffer) | 1057 | ········_buffer_refill(self._buffer) |
| 1058 | [docs] | ||
| 1043 | ····def·push(self,·samples_count=None): | 1059 | ····def·push(self,·samples_count=None): |
| 1044 | ········""" | 1060 | ········""" |
| 1045 | ········Submit·the·samples·contained·in·this·buffer·to·the·hardware. | 1061 | ········Submit·the·samples·contained·in·this·buffer·to·the·hardware. |
| 1046 | ········:param·samples_count:·type=int | 1062 | ········:param·samples_count:·type=int |
| 1047 | ············The·number·of·samples·to·submit,·default·=·full·buffer | 1063 | ············The·number·of·samples·to·submit,·default·=·full·buffer |
| 1048 | ········""" | 1064 | ········""" |
| 1049 | ········_buffer_push_partial(self._buffer,·samples_count·or·self._samples_ | 1065 | ········_buffer_push_partial(self._buffer,·samples_count·or·self._samples_ |
| 1050 | count) | 1066 | count) |
| 1067 | [docs] | ||
| 1051 | ····def·read(self): | 1068 | ····def·read(self): |
| 1052 | ········""" | 1069 | ········""" |
| 1053 | ········Retrieve·the·samples·contained·inside·the·Buffer·object. | 1070 | ········Retrieve·the·samples·contained·inside·the·Buffer·object. |
| 1054 | ········returns:·type=bytearray | 1071 | ········returns:·type=bytearray |
| 1055 | ············An·array·containing·the·samples | 1072 | ············An·array·containing·the·samples |
| 1056 | ········""" | 1073 | ········""" |
| Max diff block lines reached; 1737/5064 bytes (34.30%) of diff not shown. | |||
| Offset 32, 14 lines modified | Offset 32, 107 lines modified | ||
| 32 | ··········<div·class="body"·role="main"> | 32 | ··········<div·class="body"·role="main"> |
| 33 | ············ | 33 | ············ |
| 34 | ··<section·id="buffer"> | 34 | ··<section·id="buffer"> |
| 35 | <h1>Buffer<a·class="headerlink"·href="#buffer"·title="Link·to·this·heading">¶</a></h1> | 35 | <h1>Buffer<a·class="headerlink"·href="#buffer"·title="Link·to·this·heading">¶</a></h1> |
| 36 | <section·id="members"> | 36 | <section·id="members"> |
| 37 | <h2>Members<a·class="headerlink"·href="#members"·title="Link·to·this·heading">¶</a></h2> | 37 | <h2>Members<a·class="headerlink"·href="#members"·title="Link·to·this·heading">¶</a></h2> |
| 38 | <dl·class="py·class"> | ||
| 39 | <dt·class="sig·sig-object·py"·id="iio.Buffer"> | ||
| 40 | <em·class="property"><span·class="k"><span·class="pre">class</span></span><span·class="w">·</span></em><span·class="sig-prename·descclassname"><span·class="pre">iio.</span></span><span·class="sig-name·descname"><span·class="pre">Buffer</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">device</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">samples_count</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">cyclic</span></span><span·class="o"><span·class="pre">=</span></span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span><a·class="reference·internal"·href="_modules/iio.html#Buffer"><span·class="viewcode-link"><span·class="pre">[source]</span></span></a><a·class="headerlink"·href="#iio.Buffer"·title="Link·to·this·definition">¶</a></dt> | ||
| 41 | <dd><p>The·class·used·for·all·I/O·operations.</p> | ||
| 42 | <dl·class="py·method"> | ||
| 43 | <dt·class="sig·sig-object·py"·id="iio.Buffer.cancel"> | ||
| 44 | <span·class="sig-name·descname"><span·class="pre">cancel</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span><a·class="reference·internal"·href="_modules/iio.html#Buffer.cancel"><span·class="viewcode-link"><span·class="pre">[source]</span></span></a><a·class="headerlink"·href="#iio.Buffer.cancel"·title="Link·to·this·definition">¶</a></dt> | ||
| 45 | <dd><p>Cancel·the·current·buffer.</p> | ||
| 46 | </dd></dl> | ||
| 47 | <dl·class="py·property"> | ||
| 48 | <dt·class="sig·sig-object·py"·id="iio.Buffer.device"> | ||
| 49 | <em·class="property"><span·class="k"><span·class="pre">property</span></span><span·class="w">·</span></em><span·class="sig-name·descname"><span·class="pre">device</span></span><a·class="headerlink"·href="#iio.Buffer.device"·title="Link·to·this·definition">¶</a></dt> | ||
| 50 | <dd><p>Device·for·the·buffer. | ||
| 51 | type:·iio.Device</p> | ||
| 52 | </dd></dl> | ||
| 53 | <dl·class="py·property"> | ||
| 54 | <dt·class="sig·sig-object·py"·id="iio.Buffer.poll_fd"> | ||
| 55 | <em·class="property"><span·class="k"><span·class="pre">property</span></span><span·class="w">·</span></em><span·class="sig-name·descname"><span·class="pre">poll_fd</span></span><a·class="headerlink"·href="#iio.Buffer.poll_fd"·title="Link·to·this·definition">¶</a></dt> | ||
| 56 | <dd><p>Poll_fd·for·the·buffer. | ||
| 57 | type:·int</p> | ||
| 58 | </dd></dl> | ||
| 59 | <dl·class="py·method"> | ||
| 60 | <dt·class="sig·sig-object·py"·id="iio.Buffer.push"> | ||
| 61 | <span·class="sig-name·descname"><span·class="pre">push</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">samples_count</span></span><span·class="o"><span·class="pre">=</span></span><span·class="default_value"><span·class="pre">None</span></span></em><span·class="sig-paren">)</span><a·class="reference·internal"·href="_modules/iio.html#Buffer.push"><span·class="viewcode-link"><span·class="pre">[source]</span></span></a><a·class="headerlink"·href="#iio.Buffer.push"·title="Link·to·this·definition">¶</a></dt> | ||
| 62 | <dd><p>Submit·the·samples·contained·in·this·buffer·to·the·hardware.</p> | ||
| 63 | <dl·class="field-list·simple"> | ||
| 64 | <dt·class="field-odd">Parameters<span·class="colon">:</span></dt> | ||
| 65 | <dd·class="field-odd"><p><strong>samples_count</strong>·–·type=int | ||
| 66 | The·number·of·samples·to·submit,·default·=·full·buffer</p> | ||
| 67 | </dd> | ||
| 68 | </dl> | ||
| 69 | </dd></dl> | ||
| 70 | <dl·class="py·method"> | ||
| 71 | <dt·class="sig·sig-object·py"·id="iio.Buffer.read"> | ||
| 72 | <span·class="sig-name·descname"><span·class="pre">read</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span><a·class="reference·internal"·href="_modules/iio.html#Buffer.read"><span·class="viewcode-link"><span·class="pre">[source]</span></span></a><a·class="headerlink"·href="#iio.Buffer.read"·title="Link·to·this·definition">¶</a></dt> | ||
| 73 | <dd><p>Retrieve·the·samples·contained·inside·the·Buffer·object.</p> | ||
| 74 | <dl·class="simple"> | ||
| 75 | <dt>returns:·type=bytearray</dt><dd><p>An·array·containing·the·samples</p> | ||
| 76 | </dd> | ||
| 77 | </dl> | ||
| 78 | </dd></dl> | ||
| 79 | <dl·class="py·method"> | ||
| 80 | <dt·class="sig·sig-object·py"·id="iio.Buffer.refill"> | ||
| 81 | <span·class="sig-name·descname"><span·class="pre">refill</span></span><span·class="sig-paren">(</span><span·class="sig-paren">)</span><a·class="reference·internal"·href="_modules/iio.html#Buffer.refill"><span·class="viewcode-link"><span·class="pre">[source]</span></span></a><a·class="headerlink"·href="#iio.Buffer.refill"·title="Link·to·this·definition">¶</a></dt> | ||
| 82 | <dd><p>Fetch·a·new·set·of·samples·from·the·hardware.</p> | ||
| 83 | </dd></dl> | ||
| 84 | <dl·class="py·method"> | ||
| 85 | <dt·class="sig·sig-object·py"·id="iio.Buffer.set_blocking_mode"> | ||
| 86 | <span·class="sig-name·descname"><span·class="pre">set_blocking_mode</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">blocking</span></span></em><span·class="sig-paren">)</span><a·class="reference·internal"·href="_modules/iio.html#Buffer.set_blocking_mode"><span·class="viewcode-link"><span·class="pre">[source]</span></span></a><a·class="headerlink"·href="#iio.Buffer.set_blocking_mode"·title="Link·to·this·definition">¶</a></dt> | ||
| 87 | <dd><p>Set·the·buffer’s·blocking·mode.</p> | ||
| 88 | <dl·class="field-list·simple"> | ||
| 89 | <dt·class="field-odd">Parameters<span·class="colon">:</span></dt> | ||
| 90 | <dd·class="field-odd"><p><strong>blocking</strong>·–·type=boolean | ||
| 91 | True·if·in·blocking_mode·else·False.</p> | ||
| 92 | </dd> | ||
| 93 | </dl> | ||
| 94 | <dl·class="simple"> | ||
| 95 | <dt>returns:·type=int</dt><dd><p>Return·code·from·the·C·layer.</p> | ||
| 96 | </dd> | ||
| 97 | </dl> | ||
| 98 | </dd></dl> | ||
| 99 | <dl·class="py·property"> | ||
| 100 | <dt·class="sig·sig-object·py"·id="iio.Buffer.step"> | ||
| 101 | <em·class="property"><span·class="k"><span·class="pre">property</span></span><span·class="w">·</span></em><span·class="sig-name·descname"><span·class="pre">step</span></span><a·class="headerlink"·href="#iio.Buffer.step"·title="Link·to·this·definition">¶</a></dt> | ||
| 102 | <dd><p>Step·size·for·the·buffer. | ||
| 103 | type:·int</p> | ||
| 104 | </dd></dl> | ||
| 105 | <dl·class="py·method"> | ||
| 106 | <dt·class="sig·sig-object·py"·id="iio.Buffer.write"> | ||
| 107 | <span·class="sig-name·descname"><span·class="pre">write</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">array</span></span></em><span·class="sig-paren">)</span><a·class="reference·internal"·href="_modules/iio.html#Buffer.write"><span·class="viewcode-link"><span·class="pre">[source]</span></span></a><a·class="headerlink"·href="#iio.Buffer.write"·title="Link·to·this·definition">¶</a></dt> | ||
| 108 | <dd><p>Copy·the·given·array·of·samples·inside·the·Buffer·object.</p> | ||
| 109 | <dl·class="field-list·simple"> | ||
| 110 | <dt·class="field-odd">Parameters<span·class="colon">:</span></dt> | ||
| 111 | <dd·class="field-odd"><p><strong>array</strong>·–·type=bytearray | ||
| 112 | The·array·containing·the·samples·to·copy</p> | ||
| 113 | </dd> | ||
| 114 | </dl> | ||
| 115 | <dl·class="simple"> | ||
| 116 | <dt>returns:·type=int</dt><dd><p>The·number·of·bytes·written·into·the·buffer</p> | ||
| 117 | </dd> | ||
| 118 | </dl> | ||
| 119 | </dd></dl> | ||
| 120 | </dd></dl> | ||
| 38 | </section> | 121 | </section> |
| 39 | </section> | 122 | </section> |
| 40 | ··········</div> | 123 | ··········</div> |
| 41 | ·········· | 124 | ·········· |
| 42 | ········</div> | 125 | ········</div> |
| Offset 1, 9 lines modified | Offset 1, 43 lines modified | ||
| 1 | ******·Buffer¶·****** | 1 | ******·Buffer¶·****** |
| 2 | *****·Members¶·***** | 2 | *****·Members¶·***** |
| 3 | ··class·iio.Buffer(device,·samples_count,·cyclic=False)[source]¶ | ||
| 4 | ······The·class·used·for·all·I/O·operations. | ||
| 5 | ········cancel()[source]¶ | ||
| 6 | ············Cancel·the·current·buffer. | ||
| 7 | ········property·device¶ | ||
| 8 | ············Device·for·the·buffer.·type:·iio.Device | ||
| 9 | ········property·poll_fd¶ | ||
| 10 | ············Poll_fd·for·the·buffer.·type:·int | ||
| 11 | ········push(samples_count=None)[source]¶ | ||
| 12 | ············Submit·the·samples·contained·in·this·buffer·to·the·hardware. | ||
| 13 | ··············Parameters: | ||
| 14 | ··················samples_count·–·type=int·The·number·of·samples·to·submit, | ||
| 15 | ··················default·=·full·buffer | ||
| 16 | ········read()[source]¶ | ||
| 17 | ············Retrieve·the·samples·contained·inside·the·Buffer·object. | ||
| 18 | ··············returns:·type=bytearray | ||
| 19 | ··················An·array·containing·the·samples | ||
| 20 | ········refill()[source]¶ | ||
| 21 | ············Fetch·a·new·set·of·samples·from·the·hardware. | ||
| 22 | ········set_blocking_mode(blocking)[source]¶ | ||
| 23 | ············Set·the·buffer’s·blocking·mode. | ||
| 24 | ··············Parameters: | ||
| 25 | ··················blocking·–·type=boolean·True·if·in·blocking_mode·else·False. | ||
| 26 | ··············returns:·type=int | ||
| 27 | ··················Return·code·from·the·C·layer. | ||
| 28 | ········property·step¶ | ||
| 29 | ············Step·size·for·the·buffer.·type:·int | ||
| 30 | ········write(array)[source]¶ | ||
| 31 | ············Copy·the·given·array·of·samples·inside·the·Buffer·object. | ||
| 32 | ··············Parameters: | ||
| 33 | ··················array·–·type=bytearray·The·array·containing·the·samples·to | ||
| 34 | ··················copy | ||
| 35 | ··············returns:·type=int | ||
| 36 | ··················The·number·of·bytes·written·into·the·buffer | ||
| 3 | ******·libiio-py·****** | 37 | ******·libiio-py·****** |
| 4 | ****·Navigation·**** | 38 | ****·Navigation·**** |
| 5 | ····*·Contexts | 39 | ····*·Contexts |
| 6 | ····*·Buffer | 40 | ····*·Buffer |
| 7 | ····*·Device | 41 | ····*·Device |
| 8 | ····*·Channels | 42 | ····*·Channels |
| 9 | ····*·Trigger | 43 | ····*·Trigger |
| Offset 32, 14 lines modified | Offset 32, 142 lines modified | ||
| 32 | ··········<div·class="body"·role="main"> | 32 | ··········<div·class="body"·role="main"> |
| 33 | ············ | 33 | ············ |
| 34 | ··<section·id="channels"> | 34 | ··<section·id="channels"> |
| 35 | <h1>Channels<a·class="headerlink"·href="#channels"·title="Link·to·this·heading">¶</a></h1> | 35 | <h1>Channels<a·class="headerlink"·href="#channels"·title="Link·to·this·heading">¶</a></h1> |
| 36 | <section·id="members"> | 36 | <section·id="members"> |
| 37 | <h2>Members<a·class="headerlink"·href="#members"·title="Link·to·this·heading">¶</a></h2> | 37 | <h2>Members<a·class="headerlink"·href="#members"·title="Link·to·this·heading">¶</a></h2> |
| 38 | <dl·class="py·class"> | ||
| 39 | <dt·class="sig·sig-object·py"·id="iio.Channel"> | ||
| 40 | <em·class="property"><span·class="k"><span·class="pre">class</span></span><span·class="w">·</span></em><span·class="sig-prename·descclassname"><span·class="pre">iio.</span></span><span·class="sig-name·descname"><span·class="pre">Channel</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">dev</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">_channel</span></span></em><span·class="sig-paren">)</span><a·class="reference·internal"·href="_modules/iio.html#Channel"><span·class="viewcode-link"><span·class="pre">[source]</span></span></a><a·class="headerlink"·href="#iio.Channel"·title="Link·to·this·definition">¶</a></dt> | ||
| 41 | <dd><p>Represents·a·channel·of·an·IIO·device.</p> | ||
| 42 | <dl·class="py·property"> | ||
| 43 | <dt·class="sig·sig-object·py"·id="iio.Channel.attrs"> | ||
| 44 | <em·class="property"><span·class="k"><span·class="pre">property</span></span><span·class="w">·</span></em><span·class="sig-name·descname"><span·class="pre">attrs</span></span><a·class="headerlink"·href="#iio.Channel.attrs"·title="Link·to·this·definition">¶</a></dt> | ||
| 45 | <dd><p>List·of·attributes·for·this·channel. | ||
| 46 | type=dict·of·iio.ChannelAttr</p> | ||
| 47 | </dd></dl> | ||
| 48 | <dl·class="py·property"> | ||
| 49 | <dt·class="sig·sig-object·py"·id="iio.Channel.data_format"> | ||
| 50 | <em·class="property"><span·class="k"><span·class="pre">property</span></span><span·class="w">·</span></em><span·class="sig-name·descname"><span·class="pre">data_format</span></span><a·class="headerlink"·href="#iio.Channel.data_format"·title="Link·to·this·definition">¶</a></dt> | ||
| 51 | <dd><p>Channel·data·format. | ||
| 52 | type:·iio.DataFormat</p> | ||
| 53 | </dd></dl> | ||
| 54 | <dl·class="py·property"> | ||
| 55 | <dt·class="sig·sig-object·py"·id="iio.Channel.device"> | ||
| 56 | <em·class="property"><span·class="k"><span·class="pre">property</span></span><span·class="w">·</span></em><span·class="sig-name·descname"><span·class="pre">device</span></span><a·class="headerlink"·href="#iio.Channel.device"·title="Link·to·this·definition">¶</a></dt> | ||
| 57 | <dd><p>Corresponding·device·for·the·channel. | ||
| 58 | type:·iio.Device</p> | ||
| 59 | </dd></dl> | ||
| 60 | <dl·class="py·property"> | ||
| 61 | <dt·class="sig·sig-object·py"·id="iio.Channel.enabled"> | ||
| 62 | <em·class="property"><span·class="k"><span·class="pre">property</span></span><span·class="w">·</span></em><span·class="sig-name·descname"><span·class="pre">enabled</span></span><a·class="headerlink"·href="#iio.Channel.enabled"·title="Link·to·this·definition">¶</a></dt> | ||
| 63 | <dd><p>Configured·state·of·the·channel | ||
| 64 | type=bool</p> | ||
| 65 | </dd></dl> | ||
| 66 | <dl·class="py·property"> | ||
| 67 | <dt·class="sig·sig-object·py"·id="iio.Channel.id"> | ||
| 68 | <em·class="property"><span·class="k"><span·class="pre">property</span></span><span·class="w">·</span></em><span·class="sig-name·descname"><span·class="pre">id</span></span><a·class="headerlink"·href="#iio.Channel.id"·title="Link·to·this·definition">¶</a></dt> | ||
| 69 | <dd><p>An·identifier·of·this·channel. | ||
| 70 | Note·that·it·is·possible·that·two·channels·have·the·same·ID,·if·one·is·an·input·channel·and·the·other·is·an·output·channel. | ||
| 71 | type=str</p> | ||
| 72 | </dd></dl> | ||
| 73 | <dl·class="py·property"> | ||
| 74 | <dt·class="sig·sig-object·py"·id="iio.Channel.index"> | ||
| 75 | <em·class="property"><span·class="k"><span·class="pre">property</span></span><span·class="w">·</span></em><span·class="sig-name·descname"><span·class="pre">index</span></span><a·class="headerlink"·href="#iio.Channel.index"·title="Link·to·this·definition">¶</a></dt> | ||
| 76 | <dd><p>Index·for·the·channel.</p> | ||
| 77 | </dd></dl> | ||
| 78 | <dl·class="py·property"> | ||
| 79 | <dt·class="sig·sig-object·py"·id="iio.Channel.modifier"> | ||
| 80 | <em·class="property"><span·class="k"><span·class="pre">property</span></span><span·class="w">·</span></em><span·class="sig-name·descname"><span·class="pre">modifier</span></span><a·class="headerlink"·href="#iio.Channel.modifier"·title="Link·to·this·definition">¶</a></dt> | ||
| 81 | <dd><p>Channel·modifier. | ||
| 82 | type:·iio.ChannelModifier(Enum)</p> | ||
| 83 | </dd></dl> | ||
| 84 | <dl·class="py·property"> | ||
| 85 | <dt·class="sig·sig-object·py"·id="iio.Channel.name"> | ||
| 86 | <em·class="property"><span·class="k"><span·class="pre">property</span></span><span·class="w">·</span></em><span·class="sig-name·descname"><span·class="pre">name</span></span><a·class="headerlink"·href="#iio.Channel.name"·title="Link·to·this·definition">¶</a></dt> | ||
| 87 | <dd><p>The·name·of·this·channel. | ||
| 88 | type=str</p> | ||
| 89 | </dd></dl> | ||
| 90 | <dl·class="py·property"> | ||
| 91 | <dt·class="sig·sig-object·py"·id="iio.Channel.output"> | ||
| 92 | <em·class="property"><span·class="k"><span·class="pre">property</span></span><span·class="w">·</span></em><span·class="sig-name·descname"><span·class="pre">output</span></span><a·class="headerlink"·href="#iio.Channel.output"·title="Link·to·this·definition">¶</a></dt> | ||
| 93 | <dd><p>Contains·True·if·the·channel·is·an·output·channel,·False·otherwise. | ||
| 94 | type=bool</p> | ||
| 95 | </dd></dl> | ||
| 96 | <dl·class="py·method"> | ||
| 97 | <dt·class="sig·sig-object·py"·id="iio.Channel.read"> | ||
| 98 | <span·class="sig-name·descname"><span·class="pre">read</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">buf</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">raw</span></span><span·class="o"><span·class="pre">=</span></span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span><a·class="reference·internal"·href="_modules/iio.html#Channel.read"><span·class="viewcode-link"><span·class="pre">[source]</span></span></a><a·class="headerlink"·href="#iio.Channel.read"·title="Link·to·this·definition">¶</a></dt> | ||
| 99 | <dd><p>Extract·the·samples·corresponding·to·this·channel·from·the·given·iio.Buffer·object.</p> | ||
| 100 | <dl·class="field-list·simple"> | ||
| 101 | <dt·class="field-odd">Parameters<span·class="colon">:</span></dt> | ||
| 102 | <dd·class="field-odd"><ul·class="simple"> | ||
| 103 | <li><p><strong>buf</strong>·–·type=iio.Buffer | ||
| 104 | A·valid·instance·of·the·iio.Buffer·class</p></li> | ||
| 105 | <li><p><strong>raw</strong>·–·type=bool | ||
| 106 | If·set·to·True,·the·samples·are·not·converted·from·their | ||
| 107 | native·format·to·their·host·format</p></li> | ||
| 108 | </ul> | ||
| 109 | </dd> | ||
| 110 | </dl> | ||
| 111 | <dl·class="simple"> | ||
| 112 | <dt>returns:·type=bytearray</dt><dd><p>An·array·containing·the·samples·for·this·channel</p> | ||
| 113 | </dd> | ||
| 114 | </dl> | ||
| 115 | </dd></dl> | ||
| 116 | <dl·class="py·property"> | ||
| 117 | <dt·class="sig·sig-object·py"·id="iio.Channel.scan_element"> | ||
| 118 | <em·class="property"><span·class="k"><span·class="pre">property</span></span><span·class="w">·</span></em><span·class="sig-name·descname"><span·class="pre">scan_element</span></span><a·class="headerlink"·href="#iio.Channel.scan_element"·title="Link·to·this·definition">¶</a></dt> | ||
| 119 | <dd><p>Contains·True·if·the·channel·is·a·scan·element,·False·otherwise. | ||
| 120 | If·a·channel·is·a·scan·element,·then·it·is·possible·to·enable·it·and·use·it·for·I/O·operations. | ||
| 121 | type=bool</p> | ||
| 122 | </dd></dl> | ||
| 123 | <dl·class="py·property"> | ||
| 124 | <dt·class="sig·sig-object·py"·id="iio.Channel.type"> | ||
| 125 | <em·class="property"><span·class="k"><span·class="pre">property</span></span><span·class="w">·</span></em><span·class="sig-name·descname"><span·class="pre">type</span></span><a·class="headerlink"·href="#iio.Channel.type"·title="Link·to·this·definition">¶</a></dt> | ||
| 126 | <dd><p>Type·for·the·channel. | ||
| 127 | type:·iio.ChannelType(Enum)</p> | ||
| 128 | </dd></dl> | ||
| 129 | <dl·class="py·method"> | ||
| 130 | <dt·class="sig·sig-object·py"·id="iio.Channel.write"> | ||
| 131 | <span·class="sig-name·descname"><span·class="pre">write</span></span><span·class="sig-paren">(</span><em·class="sig-param"><span·class="n"><span·class="pre">buf</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">array</span></span></em>,·<em·class="sig-param"><span·class="n"><span·class="pre">raw</span></span><span·class="o"><span·class="pre">=</span></span><span·class="default_value"><span·class="pre">False</span></span></em><span·class="sig-paren">)</span><a·class="reference·internal"·href="_modules/iio.html#Channel.write"><span·class="viewcode-link"><span·class="pre">[source]</span></span></a><a·class="headerlink"·href="#iio.Channel.write"·title="Link·to·this·definition">¶</a></dt> | ||
| 132 | <dd><p>Write·the·specified·array·of·samples·corresponding·to·this·channel·into·the·given·iio.Buffer·object.</p> | ||
| 133 | <dl·class="field-list·simple"> | ||
| 134 | <dt·class="field-odd">Parameters<span·class="colon">:</span></dt> | ||
| 135 | <dd·class="field-odd"><ul·class="simple"> | ||
| 136 | <li><p><strong>buf</strong>·–·type=iio.Buffer | ||
| 137 | A·valid·instance·of·the·iio.Buffer·class</p></li> | ||
| 138 | <li><p><strong>array</strong>·–·type=bytearray | ||
| 139 | The·array·containing·the·samples·to·copy</p></li> | ||
| 140 | <li><p><strong>raw</strong>·–·type=bool | ||
| 141 | If·set·to·True,·the·samples·are·not·converted·from·their | ||
| 142 | host·format·to·their·native·format</p></li> | ||
| 143 | </ul> | ||
| 144 | </dd> | ||
| 145 | </dl> | ||
| Max diff block lines reached; 727/9720 bytes (7.48%) of diff not shown. | |||
| Offset 1, 9 lines modified | Offset 1, 60 lines modified | ||
| 1 | ******·Channels¶·****** | 1 | ******·Channels¶·****** |
| 2 | *****·Members¶·***** | 2 | *****·Members¶·***** |
| 3 | ··class·iio.Channel(dev,·_channel)[source]¶ | ||
| 4 | ······Represents·a·channel·of·an·IIO·device. | ||
| 5 | ········property·attrs¶ | ||
| 6 | ············List·of·attributes·for·this·channel.·type=dict·of·iio.ChannelAttr | ||
| 7 | ········property·data_format¶ | ||
| 8 | ············Channel·data·format.·type:·iio.DataFormat | ||
| 9 | ········property·device¶ | ||
| 10 | ············Corresponding·device·for·the·channel.·type:·iio.Device | ||
| 11 | ········property·enabled¶ | ||
| 12 | ············Configured·state·of·the·channel·type=bool | ||
| 13 | ········property·id¶ | ||
| 14 | ············An·identifier·of·this·channel.·Note·that·it·is·possible·that·two | ||
| 15 | ············channels·have·the·same·ID,·if·one·is·an·input·channel·and·the·other | ||
| 16 | ············is·an·output·channel.·type=str | ||
| 17 | ········property·index¶ | ||
| 18 | ············Index·for·the·channel. | ||
| 19 | ········property·modifier¶ | ||
| 20 | ············Channel·modifier.·type:·iio.ChannelModifier(Enum) | ||
| 21 | ········property·name¶ | ||
| 22 | ············The·name·of·this·channel.·type=str | ||
| 23 | ········property·output¶ | ||
| 24 | ············Contains·True·if·the·channel·is·an·output·channel,·False·otherwise. | ||
| 25 | ············type=bool | ||
| 26 | ········read(buf,·raw=False)[source]¶ | ||
| 27 | ············Extract·the·samples·corresponding·to·this·channel·from·the·given | ||
| 28 | ············iio.Buffer·object. | ||
| 29 | ··············Parameters: | ||
| 30 | ······················*·buf·–·type=iio.Buffer·A·valid·instance·of·the | ||
| 31 | ························iio.Buffer·class | ||
| 32 | ······················*·raw·–·type=bool·If·set·to·True,·the·samples·are·not | ||
| 33 | ························converted·from·their·native·format·to·their·host·format | ||
| 34 | ··············returns:·type=bytearray | ||
| 35 | ··················An·array·containing·the·samples·for·this·channel | ||
| 36 | ········property·scan_element¶ | ||
| 37 | ············Contains·True·if·the·channel·is·a·scan·element,·False·otherwise.·If | ||
| 38 | ············a·channel·is·a·scan·element,·then·it·is·possible·to·enable·it·and | ||
| 39 | ············use·it·for·I/O·operations.·type=bool | ||
| 40 | ········property·type¶ | ||
| 41 | ············Type·for·the·channel.·type:·iio.ChannelType(Enum) | ||
| 42 | ········write(buf,·array,·raw=False)[source]¶ | ||
| 43 | ············Write·the·specified·array·of·samples·corresponding·to·this·channel | ||
| 44 | ············into·the·given·iio.Buffer·object. | ||
| 45 | ··············Parameters: | ||
| 46 | ······················*·buf·–·type=iio.Buffer·A·valid·instance·of·the | ||
| 47 | ························iio.Buffer·class | ||
| 48 | ······················*·array·–·type=bytearray·The·array·containing·the·samples | ||
| 49 | ························to·copy | ||
| 50 | ······················*·raw·–·type=bool·If·set·to·True,·the·samples·are·not | ||
| 51 | ························converted·from·their·host·format·to·their·native·format | ||
| 52 | ··············returns:·type=int | ||
| 53 | ··················The·number·of·bytes·written | ||
| 3 | =============================================================================== | 54 | =============================================================================== |
| 4 | *****·Channel·attributes¶·***** | 55 | *****·Channel·attributes¶·***** |
| 5 | ··class·iio.DataFormat[source]¶ | 56 | ··class·iio.DataFormat[source]¶ |
| 6 | ······Represents·the·data·format·of·an·IIO·channel. | 57 | ······Represents·the·data·format·of·an·IIO·channel. |
| 7 | ··class·iio.ChannelModifier(*values)[source]¶ | 58 | ··class·iio.ChannelModifier(*values)[source]¶ |
| 8 | ······Contains·the·modifier·type·of·an·IIO·channel. | 59 | ······Contains·the·modifier·type·of·an·IIO·channel. |
| 9 | ··class·iio.ChannelType(*values)[source]¶ | 60 | ··class·iio.ChannelType(*values)[source]¶ |
| Offset 33, 20 lines modified | Offset 33, 23 lines modified | ||
| 33 | <h1·id="index">Index</h1> | 33 | <h1·id="index">Index</h1> |
| 34 | <div·class="genindex-jumpbox"> | 34 | <div·class="genindex-jumpbox"> |
| 35 | ·<a·href="#A"><strong>A</strong></a> | 35 | ·<a·href="#A"><strong>A</strong></a> |
| 36 | ·|·<a·href="#B"><strong>B</strong></a> | 36 | ·|·<a·href="#B"><strong>B</strong></a> |
| 37 | ·|·<a·href="#C"><strong>C</strong></a> | 37 | ·|·<a·href="#C"><strong>C</strong></a> |
| 38 | ·|·<a·href="#D"><strong>D</strong></a> | 38 | ·|·<a·href="#D"><strong>D</strong></a> |
| 39 | ·|·<a·href="#E"><strong>E</strong></a> | ||
| 39 | ·|·<a·href="#F"><strong>F</strong></a> | 40 | ·|·<a·href="#F"><strong>F</strong></a> |
| 40 | ·|·<a·href="#H"><strong>H</strong></a> | 41 | ·|·<a·href="#H"><strong>H</strong></a> |
| 41 | ·|·<a·href="#I"><strong>I</strong></a> | 42 | ·|·<a·href="#I"><strong>I</strong></a> |
| 42 | ·|·<a·href="#L"><strong>L</strong></a> | 43 | ·|·<a·href="#L"><strong>L</strong></a> |
| 43 | ·|·<a·href="#M"><strong>M</strong></a> | 44 | ·|·<a·href="#M"><strong>M</strong></a> |
| 44 | ·|·<a·href="#N"><strong>N</strong></a> | 45 | ·|·<a·href="#N"><strong>N</strong></a> |
| 46 | ·|·<a·href="#O"><strong>O</strong></a> | ||
| 47 | ·|·<a·href="#P"><strong>P</strong></a> | ||
| 45 | ·|·<a·href="#R"><strong>R</strong></a> | 48 | ·|·<a·href="#R"><strong>R</strong></a> |
| 46 | ·|·<a·href="#S"><strong>S</strong></a> | 49 | ·|·<a·href="#S"><strong>S</strong></a> |
| 47 | ·|·<a·href="#T"><strong>T</strong></a> | 50 | ·|·<a·href="#T"><strong>T</strong></a> |
| 48 | ·|·<a·href="#V"><strong>V</strong></a> | 51 | ·|·<a·href="#V"><strong>V</strong></a> |
| 49 | ·|·<a·href="#W"><strong>W</strong></a> | 52 | ·|·<a·href="#W"><strong>W</strong></a> |
| 50 | ·|·<a·href="#X"><strong>X</strong></a> | 53 | ·|·<a·href="#X"><strong>X</strong></a> |
| 51 | · | 54 | · |
| Offset 58, 17 lines modified | Offset 61, 19 lines modified | ||
| 58 | ······<ul> | 61 | ······<ul> |
| 59 | ········<li><a·href="iio_readdev.html#iio_readdev.Arguments">(class·in·iio_readdev)</a> | 62 | ········<li><a·href="iio_readdev.html#iio_readdev.Arguments">(class·in·iio_readdev)</a> |
| 60 | </li> | 63 | </li> |
| 61 | ········<li><a·href="iio_writedev.html#iio_writedev.Arguments">(class·in·iio_writedev)</a> | 64 | ········<li><a·href="iio_writedev.html#iio_writedev.Arguments">(class·in·iio_writedev)</a> |
| 62 | </li> | 65 | </li> |
| 63 | ······</ul></li> | 66 | ······</ul></li> |
| 64 | ······<li><a·href="c | 67 | ······<li><a·href="channel.html#iio.Channel.attrs">attrs·(iio.Channel·property)</a> |
| 65 | ······<ul> | 68 | ······<ul> |
| 69 | ········<li><a·href="context.html#iio.Context.attrs">(iio.Context·property)</a> | ||
| 70 | </li> | ||
| 66 | ········<li><a·href="device.html#iio.Device.attrs">(iio.Device·property)</a> | 71 | ········<li><a·href="device.html#iio.Device.attrs">(iio.Device·property)</a> |
| 67 | </li> | 72 | </li> |
| 68 | ········<li><a·href="context.html#iio.LocalContext.attrs">(iio.LocalContext·property)</a> | 73 | ········<li><a·href="context.html#iio.LocalContext.attrs">(iio.LocalContext·property)</a> |
| 69 | </li> | 74 | </li> |
| 70 | ········<li><a·href="context.html#iio.NetworkContext.attrs">(iio.NetworkContext·property)</a> | 75 | ········<li><a·href="context.html#iio.NetworkContext.attrs">(iio.NetworkContext·property)</a> |
| 71 | </li> | 76 | </li> |
| 72 | ········<li><a·href="trigger.html#iio.Trigger.attrs">(iio.Trigger·property)</a> | 77 | ········<li><a·href="trigger.html#iio.Trigger.attrs">(iio.Trigger·property)</a> |
| Offset 78, 14 lines modified | Offset 83, 16 lines modified | ||
| 78 | ······</ul></li> | 83 | ······</ul></li> |
| 79 | ··</ul></td> | 84 | ··</ul></td> |
| 80 | </tr></table> | 85 | </tr></table> |
| 81 | <h2·id="B">B</h2> | 86 | <h2·id="B">B</h2> |
| 82 | <table·style="width:·100%"·class="indextable·genindextable"><tr> | 87 | <table·style="width:·100%"·class="indextable·genindextable"><tr> |
| 83 | ··<td·style="width:·33%;·vertical-align:·top;"><ul> | 88 | ··<td·style="width:·33%;·vertical-align:·top;"><ul> |
| 89 | ······<li><a·href="buffer.html#iio.Buffer">Buffer·(class·in·iio)</a> | ||
| 90 | </li> | ||
| 84 | ······<li><a·href="device.html#iio.Device.buffer_attrs">buffer_attrs·(iio.Device·property)</a> | 91 | ······<li><a·href="device.html#iio.Device.buffer_attrs">buffer_attrs·(iio.Device·property)</a> |
| 85 | ······<ul> | 92 | ······<ul> |
| 86 | ········<li><a·href="trigger.html#iio.Trigger.buffer_attrs">(iio.Trigger·property)</a> | 93 | ········<li><a·href="trigger.html#iio.Trigger.buffer_attrs">(iio.Trigger·property)</a> |
| 87 | </li> | 94 | </li> |
| 88 | ······</ul></li> | 95 | ······</ul></li> |
| 89 | ··</ul></td> | 96 | ··</ul></td> |
| Offset 98, 14 lines modified | Offset 105, 18 lines modified | ||
| 98 | ······</ul></li> | 105 | ······</ul></li> |
| 99 | ··</ul></td> | 106 | ··</ul></td> |
| 100 | </tr></table> | 107 | </tr></table> |
| 101 | <h2·id="C">C</h2> | 108 | <h2·id="C">C</h2> |
| 102 | <table·style="width:·100%"·class="indextable·genindextable"><tr> | 109 | <table·style="width:·100%"·class="indextable·genindextable"><tr> |
| 103 | ··<td·style="width:·33%;·vertical-align:·top;"><ul> | 110 | ··<td·style="width:·33%;·vertical-align:·top;"><ul> |
| 111 | ······<li><a·href="buffer.html#iio.Buffer.cancel">cancel()·(iio.Buffer·method)</a> | ||
| 112 | </li> | ||
| 113 | ······<li><a·href="channel.html#iio.Channel">Channel·(class·in·iio)</a> | ||
| 114 | </li> | ||
| 104 | ······<li><a·href="channel.html#iio.ChannelModifier">ChannelModifier·(class·in·iio)</a> | 115 | ······<li><a·href="channel.html#iio.ChannelModifier">ChannelModifier·(class·in·iio)</a> |
| 105 | </li> | 116 | </li> |
| 106 | ······<li><a·href="device.html#iio.Device.channels">channels·(iio.Device·property)</a> | 117 | ······<li><a·href="device.html#iio.Device.channels">channels·(iio.Device·property)</a> |
| 107 | ······<ul> | 118 | ······<ul> |
| 108 | ········<li><a·href="trigger.html#iio.Trigger.channels">(iio.Trigger·property)</a> | 119 | ········<li><a·href="trigger.html#iio.Trigger.channels">(iio.Trigger·property)</a> |
| 109 | </li> | 120 | </li> |
| Offset 118, 18 lines modified | Offset 129, 18 lines modified | ||
| 118 | ········<li><a·href="context.html#iio.LocalContext.clone">(iio.LocalContext·method)</a> | 129 | ········<li><a·href="context.html#iio.LocalContext.clone">(iio.LocalContext·method)</a> |
| 119 | </li> | 130 | </li> |
| 120 | ········<li><a·href="context.html#iio.NetworkContext.clone">(iio.NetworkContext·method)</a> | 131 | ········<li><a·href="context.html#iio.NetworkContext.clone">(iio.NetworkContext·method)</a> |
| 121 | </li> | 132 | </li> |
| 122 | ········<li><a·href="context.html#iio.XMLContext.clone">(iio.XMLContext·method)</a> | 133 | ········<li><a·href="context.html#iio.XMLContext.clone">(iio.XMLContext·method)</a> |
| 123 | </li> | 134 | </li> |
| 124 | ······</ul></li> | 135 | ······</ul></li> |
| 125 | ······<li><a·href="context.html#iio.Context">Context·(class·in·iio)</a> | ||
| 126 | </li> | ||
| 127 | ··</ul></td> | 136 | ··</ul></td> |
| 128 | ··<td·style="width:·33%;·vertical-align:·top;"><ul> | 137 | ··<td·style="width:·33%;·vertical-align:·top;"><ul> |
| 138 | ······<li><a·href="context.html#iio.Context">Context·(class·in·iio)</a> | ||
| 139 | </li> | ||
| 129 | ······<li><a·href="device.html#iio.Device.context">context·(iio.Device·property)</a> | 140 | ······<li><a·href="device.html#iio.Device.context">context·(iio.Device·property)</a> |
| 130 | </li> | 141 | </li> |
| 131 | ······<li><a·href="iio_attr.html#iio_attr.ContextBuilder">ContextBuilder·(class·in·iio_attr)</a> | 142 | ······<li><a·href="iio_attr.html#iio_attr.ContextBuilder">ContextBuilder·(class·in·iio_attr)</a> |
| 132 | ······<ul> | 143 | ······<ul> |
| 133 | ········<li><a·href="iio_readdev.html#iio_readdev.ContextBuilder">(class·in·iio_readdev)</a> | 144 | ········<li><a·href="iio_readdev.html#iio_readdev.ContextBuilder">(class·in·iio_readdev)</a> |
| 134 | </li> | 145 | </li> |
| Offset 150, 14 lines modified | Offset 161, 16 lines modified | ||
| 150 | ······</ul></li> | 161 | ······</ul></li> |
| 151 | ··</ul></td> | 162 | ··</ul></td> |
| 152 | </tr></table> | 163 | </tr></table> |
| 153 | <h2·id="D">D</h2> | 164 | <h2·id="D">D</h2> |
| 154 | <table·style="width:·100%"·class="indextable·genindextable"><tr> | 165 | <table·style="width:·100%"·class="indextable·genindextable"><tr> |
| 155 | ··<td·style="width:·33%;·vertical-align:·top;"><ul> | 166 | ··<td·style="width:·33%;·vertical-align:·top;"><ul> |
| 167 | ······<li><a·href="channel.html#iio.Channel.data_format">data_format·(iio.Channel·property)</a> | ||
| 168 | </li> | ||
| 156 | ······<li><a·href="channel.html#iio.DataFormat">DataFormat·(class·in·iio)</a> | 169 | ······<li><a·href="channel.html#iio.DataFormat">DataFormat·(class·in·iio)</a> |
| 157 | </li> | 170 | </li> |
| 158 | ······<li><a·href="iio_readdev.html#iio_readdev.DataReader">DataReader·(class·in·iio_readdev)</a> | 171 | ······<li><a·href="iio_readdev.html#iio_readdev.DataReader">DataReader·(class·in·iio_readdev)</a> |
| 159 | </li> | 172 | </li> |
| 160 | ······<li><a·href="iio_writedev.html#iio_writedev.DataWriter">DataWriter·(class·in·iio_writedev)</a> | 173 | ······<li><a·href="iio_writedev.html#iio_writedev.DataWriter">DataWriter·(class·in·iio_writedev)</a> |
| 161 | </li> | 174 | </li> |
| 162 | ······<li><a·href="device.html#iio.Device.debug_attrs">debug_attrs·(iio.Device·property)</a> | 175 | ······<li><a·href="device.html#iio.Device.debug_attrs">debug_attrs·(iio.Device·property)</a> |
| Offset 176, 14 lines modified | Offset 189, 20 lines modified | ||
| 176 | ········<li><a·href="context.html#iio.XMLContext.description">(iio.XMLContext·property)</a> | 189 | ········<li><a·href="context.html#iio.XMLContext.description">(iio.XMLContext·property)</a> |
| 177 | </li> | 190 | </li> |
| 178 | ······</ul></li> | 191 | ······</ul></li> |
| 179 | ··</ul></td> | 192 | ··</ul></td> |
| 180 | ··<td·style="width:·33%;·vertical-align:·top;"><ul> | 193 | ··<td·style="width:·33%;·vertical-align:·top;"><ul> |
| 181 | ······<li><a·href="device.html#iio.Device">Device·(class·in·iio)</a> | 194 | ······<li><a·href="device.html#iio.Device">Device·(class·in·iio)</a> |
| 182 | </li> | 195 | </li> |
| 196 | ······<li><a·href="buffer.html#iio.Buffer.device">device·(iio.Buffer·property)</a> | ||
| Max diff block lines reached; 8572/13636 bytes (62.86%) of diff not shown. | |||
| Offset 1, 111 lines modified | Offset 1, 131 lines modified | ||
| 1 | ******·Index·****** | 1 | ******·Index·****** |
| 2 | A·|·B·|·C·|·D·|·F·|·H·|·I·|·L·|·M·|·N·|·R·|·S·|·T·|·V·|·W·|·X | 2 | A·|·B·|·C·|·D·|·E·|·F·|·H·|·I·|·L·|·M·|·N·|·O·|·P·|·R·|·S·|·T·|·V·|·W·|·X |
| 3 | *****·A·***** | 3 | *****·A·***** |
| 4 | ····*·Arguments_(class_in_iio_attr) | 4 | ····*·Arguments_(class_in_iio_attr) |
| 5 | ··········o·(class_in_iio_readdev) | 5 | ··········o·(class_in_iio_readdev) |
| 6 | ··········o·(class_in_iio_writedev) | 6 | ··········o·(class_in_iio_writedev) |
| 7 | ····*·attrs_(iio.C | 7 | ····*·attrs_(iio.Channel_property) |
| 8 | ··········o·(iio.Context_property) | ||
| 8 | ··········o·(iio.Device_property) | 9 | ··········o·(iio.Device_property) |
| 9 | ··········o·(iio.LocalContext_property) | 10 | ··········o·(iio.LocalContext_property) |
| 10 | ··········o·(iio.NetworkContext_property) | 11 | ··········o·(iio.NetworkContext_property) |
| 11 | ··········o·(iio.Trigger_property) | 12 | ··········o·(iio.Trigger_property) |
| 12 | ··········o·(iio.XMLContext_property) | 13 | ··········o·(iio.XMLContext_property) |
| 13 | *****·B·***** | 14 | *****·B·***** |
| 14 | ····*· | 15 | ····*·Buffer_(class_in_iio)·················*·BufferBuilder_(class_in_iio_ |
| 16 | ····*·buffer_attrs_(iio.Device················readdev) | ||
| 15 | ······property)·······························r | 17 | ······property)···································o·(class_in_iio_writedev) |
| 16 | ··········o·(iio.Trigger_property) | 18 | ··········o·(iio.Trigger_property) |
| 17 | *****·C·***** | 19 | *****·C·***** |
| 20 | ····*·cancel()_(iio.Buffer_method)·······*·Context_(class_in_iio) | ||
| 18 | ····*·Channel | 21 | ····*·Channel_(class_in_iio)·············*·context_(iio.Device_property) |
| 22 | ····*·ChannelModifier_(class_in_iio)·····*·ContextBuilder_(class_in_iio_attr) | ||
| 19 | ····*·channels_(iio.Device_property)····· | 23 | ····*·channels_(iio.Device_property)···········o·(class_in_iio_readdev) |
| 20 | ··········o·(iio.Trigger_property)·············o·(class_in_iio_r | 24 | ··········o·(iio.Trigger_property)·············o·(class_in_iio_writedev) |
| 25 | ····*·ChannelType_(class_in_iio)·········*·create()_(iio_attr.ContextBuilder | ||
| 21 | ····*·ChannelType_(class_in_iio)···············o·(class_in_iio_writedev) | ||
| 22 | ····*·clone()_(iio.Context_method)·······*·create()_(iio_attr.ContextBuilder | ||
| 23 | ··········o·(iio.LocalContext··············method) | ||
| 24 | ············method)····························o·(iio_readdev.BufferBuilder | ||
| 25 | ··········o·(iio.NetworkContext··················method) | ||
| 26 | ············method)····························o·(iio_readdev.ContextBuilder | ||
| 27 | ····· | 26 | ····*·clone()_(iio.Context_method)·········method) |
| 28 | ···· | 27 | ··········o·(iio.LocalContext··················o·(iio_readdev.BufferBuilder |
| 28 | ············method)······························method) | ||
| 29 | ··········o·(iio.NetworkContext················o·(iio_readdev.ContextBuilder | ||
| 30 | ············method)······························method) | ||
| 31 | ··········o·(iio.XMLContext_method)············o·(iio_writedev.BufferBuilder | ||
| 29 | ·················································method) | 32 | ·················································method) |
| 30 | ···············································o·(iio_writedev.ContextBuilder | 33 | ···············································o·(iio_writedev.ContextBuilder |
| 31 | ·················································method) | 34 | ·················································method) |
| 32 | *****·D·***** | 35 | *****·D·***** |
| 33 | ····*· | 36 | ····*·data_format_(iio.Channel··············*·Device_(class_in_iio) |
| 37 | ······property)·····························*·device_(iio.Buffer_property) | ||
| 38 | ····*·DataFormat_(class_in_iio)···················o·(iio.Channel_property) | ||
| 34 | ····*·DataReader_(class_in_iio_readdev)·····*·DeviceBufferAttr_(class_in_iio) | 39 | ····*·DataReader_(class_in_iio_readdev)·····*·DeviceBufferAttr_(class_in_iio) |
| 35 | ····*·DataWriter_(class_in_iio_·············*·DeviceDebugAttr_(class_in_iio) | 40 | ····*·DataWriter_(class_in_iio_·············*·DeviceDebugAttr_(class_in_iio) |
| 36 | ······writedev)·····························*·devices_(iio.Context_property) | 41 | ······writedev)·····························*·devices_(iio.Context_property) |
| 37 | ····*·debug_attrs_(iio.Device_property)···········o·(iio.LocalContext_property) | 42 | ····*·debug_attrs_(iio.Device_property)···········o·(iio.LocalContext_property) |
| 38 | ··········o·(iio.Trigger_property)················o·(iio.NetworkContext | 43 | ··········o·(iio.Trigger_property)················o·(iio.NetworkContext |
| 39 | ····*·description_(iio.Context······················property) | 44 | ····*·description_(iio.Context······················property) |
| 40 | ······property)···································o·(iio.XMLContext_property) | 45 | ······property)···································o·(iio.XMLContext_property) |
| 41 | ··········o·(iio.LocalContext_property) | 46 | ··········o·(iio.LocalContext_property) |
| 42 | ··········o·(iio.NetworkContext | 47 | ··········o·(iio.NetworkContext |
| 43 | ············property) | 48 | ············property) |
| 44 | ··········o·(iio.XMLContext_property) | 49 | ··········o·(iio.XMLContext_property) |
| 50 | *****·E·***** | ||
| 51 | ····*·enabled_(iio.Channel_property) | ||
| 45 | *****·F·***** | 52 | *****·F·***** |
| 46 | ····*·filename_(iio.DeviceBufferAttr········*·find_device()_(iio.Context | 53 | ····*·filename_(iio.DeviceBufferAttr········*·find_device()_(iio.Context |
| 47 | ······property)·······························method) | 54 | ······property)·······························method) |
| 48 | ··········o·(iio.DeviceDebugAttr··················o·(iio.LocalContext_method) | 55 | ··········o·(iio.DeviceDebugAttr··················o·(iio.LocalContext_method) |
| 49 | ············property)·····························o·(iio.NetworkContext_method) | 56 | ············property)·····························o·(iio.NetworkContext_method) |
| 50 | ····*·find_channel()_(iio.Device··················o·(iio.XMLContext_method) | 57 | ····*·find_channel()_(iio.Device··················o·(iio.XMLContext_method) |
| 51 | ······method)·······························*·frequency_(iio.Trigger_property) | 58 | ······method)·······························*·frequency_(iio.Trigger_property) |
| 52 | ··········o·(iio.Trigger_method) | 59 | ··········o·(iio.Trigger_method) |
| 53 | *****·H·***** | 60 | *****·H·***** |
| 54 | ····*·hwmon_(iio.Device_property) | 61 | ····*·hwmon_(iio.Device_property) |
| 55 | *****·I·***** | 62 | *****·I·***** |
| 56 | ····*·id_(iio. | 63 | ····*·id_(iio.Channel_property)···········*·iio_readdev |
| 57 | ··········o·(iio. | 64 | ··········o·(iio.Device_property)···············o·module |
| 58 | ···· | 65 | ··········o·(iio.Trigger_property)········*·iio_writedev |
| 59 | ···· | 66 | ····*·iio_attr··································o·module |
| 67 | ··········o·module························*·index_(iio.Channel_property) | ||
| 60 | ····*·iio_info····························*·Information_(class_in_iio_attr) | 68 | ····*·iio_info····························*·Information_(class_in_iio_attr) |
| 61 | ··········o·module······························o·(class_in_iio_info) | 69 | ··········o·module······························o·(class_in_iio_info) |
| 62 | *****·L·***** | 70 | *****·L·***** |
| 63 | ····*·label_(iio.Device_property)··········*·LocalContext_(class_in_iio) | 71 | ····*·label_(iio.Device_property)··········*·LocalContext_(class_in_iio) |
| 64 | ··········o·(iio.Trigger_property) | 72 | ··········o·(iio.Trigger_property) |
| 65 | *****·M·***** | 73 | *****·M·***** |
| 66 | ····*·main()_(in_module_iio_attr)·············*·module | 74 | ····*·main()_(in_module_iio_attr)·············*·module |
| 67 | ··········o·(in_module_iio_info)····················o·iio_attr | 75 | ··········o·(in_module_iio_info)····················o·iio_attr |
| 68 | ··········o·(in_module_iio_readdev)·················o·iio_info | 76 | ··········o·(in_module_iio_readdev)·················o·iio_info |
| 69 | ··········o·(in_module_iio_writedev)················o·iio_readdev | 77 | ··········o·(in_module_iio_writedev)················o·iio_readdev |
| 70 | ···· | 78 | ····*·modifier_(iio.Channel_property)···············o·iio_writedev |
| 71 | *****·N·***** | 79 | *****·N·***** |
| 72 | ····*·name_(iio.C | 80 | ····*·name_(iio.Channel_property)···················*·NetworkContext_(class_in |
| 73 | ··········o·(iio. | 81 | ··········o·(iio.Context_property)····················iio) |
| 82 | ··········o·(iio.Device_property) | ||
| 74 | ··········o·(iio.DeviceBufferAttr_property) | 83 | ··········o·(iio.DeviceBufferAttr_property) |
| 75 | ··········o·(iio.DeviceDebugAttr_property) | 84 | ··········o·(iio.DeviceDebugAttr_property) |
| 76 | ··········o·(iio.LocalContext_property) | 85 | ··········o·(iio.LocalContext_property) |
| 77 | ··········o·(iio.NetworkContext_property) | 86 | ··········o·(iio.NetworkContext_property) |
| 78 | ··········o·(iio.Trigger_property) | 87 | ··········o·(iio.Trigger_property) |
| 79 | ··········o·(iio.XMLContext_property) | 88 | ··········o·(iio.XMLContext_property) |
| 89 | *****·O·***** | ||
| 90 | ····*·output_(iio.Channel_property) | ||
| 91 | *****·P·***** | ||
| 92 | ····*·poll_fd_(iio.Buffer_property)·········*·push()_(iio.Buffer_method) | ||
| 80 | *****·R·***** | 93 | *****·R·***** |
| 94 | ····*·read()_(iio.Buffer_method)···············*·reg_read()_(iio.Device_method) | ||
| 95 | ··········o·(iio.Channel_method)·····················o·(iio.Trigger_method) | ||
| 81 | ···· | 96 | ··········o·(iio_readdev.DataReader············*·reg_write()_(iio.Device |
| 82 | ······ | 97 | ············method)······························method) |
| 98 | ····*·refill()_(iio.Buffer_method)···················o·(iio.Trigger_method) | ||
| 83 | ····*·reg_read()_(iio.Device_method) | ||
| 84 | ··········o·(iio.Trigger_method) | ||
| 85 | *****·S·***** | 99 | *****·S·***** |
| 86 | ····*·sample_size_(iio.Device············*·set_timeout()_(iio.Context_method) | 100 | ····*·sample_size_(iio.Device············*·set_timeout()_(iio.Context_method) |
| 87 | ······property)································o·(iio.LocalContext_method) | 101 | ······property)································o·(iio.LocalContext_method) |
| 88 | ··········o·(iio.Trigger_property)·············o·(iio.NetworkContext_method) | 102 | ··········o·(iio.Trigger_property)·············o·(iio.NetworkContext_method) |
| 89 | ····*·s | 103 | ····*·scan_element_(iio.Channel················o·(iio.XMLContext_method) |
| 104 | ······property)··························*·step_(iio.Buffer_property) | ||
| 105 | ····*·set_blocking_mode()_ | ||
| 106 | ······(iio.Buffer_method) | ||
| 107 | ····*·set_kernel_buffers_count()_ | ||
| 90 | ······(iio.Device_method) | 108 | ······(iio.Device_method) |
| 91 | ··········o·(iio.Trigger_method) | 109 | ··········o·(iio.Trigger_method) |
| 92 | *****·T·***** | 110 | *****·T·***** |
| 93 | ····*·Trigger_(class_in_iio)··············*·trigger_(iio.Device_property) | 111 | ····*·Trigger_(class_in_iio)··············*·trigger_(iio.Device_property) |
| 112 | ··········································*·type_(iio.Channel_property) | ||
| 94 | *****·V·***** | 113 | *****·V·***** |
| 95 | ····*·value_(iio.DeviceBufferAttr_property) | 114 | ····*·value_(iio.DeviceBufferAttr_property) |
| 96 | ··········o·(iio.DeviceDebugAttr_property) | 115 | ··········o·(iio.DeviceDebugAttr_property) |
| 97 | ····*·version_(iio.Context_property) | 116 | ····*·version_(iio.Context_property) |
| 98 | ··········o·(iio.LocalContext_property) | 117 | ··········o·(iio.LocalContext_property) |
| 99 | ··········o·(iio.NetworkContext_property) | 118 | ··········o·(iio.NetworkContext_property) |
| 100 | ··········o·(iio.XMLContext_property) | 119 | ··········o·(iio.XMLContext_property) |
| Max diff block lines reached; 765/8858 bytes (8.64%) of diff not shown. | |||
| Offset 1, 12 lines modified | Offset 1, 36 lines modified | ||
| 1 | #·Sphinx·inventory·version·2 | 1 | #·Sphinx·inventory·version·2 |
| 2 | #·Project:·libiio-py | 2 | #·Project:·libiio-py |
| 3 | #·Version:· | 3 | #·Version:· |
| 4 | #·The·remainder·of·this·file·is·compressed·using·zlib. | 4 | #·The·remainder·of·this·file·is·compressed·using·zlib. |
| 5 | iio.Buffer·py:class·1·buffer.html#$·- | ||
| 6 | iio.Buffer.cancel·py:method·1·buffer.html#$·- | ||
| 7 | iio.Buffer.device·py:property·1·buffer.html#$·- | ||
| 8 | iio.Buffer.poll_fd·py:property·1·buffer.html#$·- | ||
| 9 | iio.Buffer.push·py:method·1·buffer.html#$·- | ||
| 10 | iio.Buffer.read·py:method·1·buffer.html#$·- | ||
| 11 | iio.Buffer.refill·py:method·1·buffer.html#$·- | ||
| 12 | iio.Buffer.set_blocking_mode·py:method·1·buffer.html#$·- | ||
| 13 | iio.Buffer.step·py:property·1·buffer.html#$·- | ||
| 14 | iio.Buffer.write·py:method·1·buffer.html#$·- | ||
| 15 | iio.Channel·py:class·1·channel.html#$·- | ||
| 16 | iio.Channel.attrs·py:property·1·channel.html#$·- | ||
| 17 | iio.Channel.data_format·py:property·1·channel.html#$·- | ||
| 18 | iio.Channel.device·py:property·1·channel.html#$·- | ||
| 19 | iio.Channel.enabled·py:property·1·channel.html#$·- | ||
| 20 | iio.Channel.id·py:property·1·channel.html#$·- | ||
| 21 | iio.Channel.index·py:property·1·channel.html#$·- | ||
| 22 | iio.Channel.modifier·py:property·1·channel.html#$·- | ||
| 23 | iio.Channel.name·py:property·1·channel.html#$·- | ||
| 24 | iio.Channel.output·py:property·1·channel.html#$·- | ||
| 25 | iio.Channel.read·py:method·1·channel.html#$·- | ||
| 26 | iio.Channel.scan_element·py:property·1·channel.html#$·- | ||
| 27 | iio.Channel.type·py:property·1·channel.html#$·- | ||
| 28 | iio.Channel.write·py:method·1·channel.html#$·- | ||
| 5 | iio.ChannelModifier·py:class·1·channel.html#$·- | 29 | iio.ChannelModifier·py:class·1·channel.html#$·- |
| 6 | iio.ChannelType·py:class·1·channel.html#$·- | 30 | iio.ChannelType·py:class·1·channel.html#$·- |
| 7 | iio.Context·py:class·1·context.html#$·- | 31 | iio.Context·py:class·1·context.html#$·- |
| 8 | iio.Context.attrs·py:property·1·context.html#$·- | 32 | iio.Context.attrs·py:property·1·context.html#$·- |
| 9 | iio.Context.clone·py:method·1·context.html#$·- | 33 | iio.Context.clone·py:method·1·context.html#$·- |
| 10 | iio.Context.description·py:property·1·context.html#$·- | 34 | iio.Context.description·py:property·1·context.html#$·- |
| 11 | iio.Context.devices·py:property·1·context.html#$·- | 35 | iio.Context.devices·py:property·1·context.html#$·- |
| Offset 84, 14 lines modified | Offset 84, 17 lines modified | ||
| 84 | ········], | 84 | ········], |
| 85 | ········"arguments·(class·in·iio_readdev)":·[ | 85 | ········"arguments·(class·in·iio_readdev)":·[ |
| 86 | ············[7,·"iio_readdev.Arguments",·false] | 86 | ············[7,·"iio_readdev.Arguments",·false] |
| 87 | ········], | 87 | ········], |
| 88 | ········"arguments·(class·in·iio_writedev)":·[ | 88 | ········"arguments·(class·in·iio_writedev)":·[ |
| 89 | ············[8,·"iio_writedev.Arguments",·false] | 89 | ············[8,·"iio_writedev.Arguments",·false] |
| 90 | ········], | 90 | ········], |
| 91 | ········"attrs·(iio.channel·property)":·[ | ||
| 92 | ············[1,·"iio.Channel.attrs",·false] | ||
| 93 | ········], | ||
| 91 | ········"attrs·(iio.context·property)":·[ | 94 | ········"attrs·(iio.context·property)":·[ |
| 92 | ············[2,·"iio.Context.attrs",·false] | 95 | ············[2,·"iio.Context.attrs",·false] |
| 93 | ········], | 96 | ········], |
| 94 | ········"attrs·(iio.device·property)":·[ | 97 | ········"attrs·(iio.device·property)":·[ |
| 95 | ············[3,·"iio.Device.attrs",·false] | 98 | ············[3,·"iio.Device.attrs",·false] |
| 96 | ········], | 99 | ········], |
| 97 | ········"attrs·(iio.localcontext·property)":·[ | 100 | ········"attrs·(iio.localcontext·property)":·[ |
| Offset 102, 26 lines modified | Offset 105, 35 lines modified | ||
| 102 | ········], | 105 | ········], |
| 103 | ········"attrs·(iio.trigger·property)":·[ | 106 | ········"attrs·(iio.trigger·property)":·[ |
| 104 | ············[10,·"iio.Trigger.attrs",·false] | 107 | ············[10,·"iio.Trigger.attrs",·false] |
| 105 | ········], | 108 | ········], |
| 106 | ········"attrs·(iio.xmlcontext·property)":·[ | 109 | ········"attrs·(iio.xmlcontext·property)":·[ |
| 107 | ············[2,·"iio.XMLContext.attrs",·false] | 110 | ············[2,·"iio.XMLContext.attrs",·false] |
| 108 | ········], | 111 | ········], |
| 112 | ········"buffer·(class·in·iio)":·[ | ||
| 113 | ············[0,·"iio.Buffer",·false] | ||
| 114 | ········], | ||
| 109 | ········"buffer_attrs·(iio.device·property)":·[ | 115 | ········"buffer_attrs·(iio.device·property)":·[ |
| 110 | ············[3,·"iio.Device.buffer_attrs",·false] | 116 | ············[3,·"iio.Device.buffer_attrs",·false] |
| 111 | ········], | 117 | ········], |
| 112 | ········"buffer_attrs·(iio.trigger·property)":·[ | 118 | ········"buffer_attrs·(iio.trigger·property)":·[ |
| 113 | ············[10,·"iio.Trigger.buffer_attrs",·false] | 119 | ············[10,·"iio.Trigger.buffer_attrs",·false] |
| 114 | ········], | 120 | ········], |
| 115 | ········"bufferbuilder·(class·in·iio_readdev)":·[ | 121 | ········"bufferbuilder·(class·in·iio_readdev)":·[ |
| 116 | ············[7,·"iio_readdev.BufferBuilder",·false] | 122 | ············[7,·"iio_readdev.BufferBuilder",·false] |
| 117 | ········], | 123 | ········], |
| 118 | ········"bufferbuilder·(class·in·iio_writedev)":·[ | 124 | ········"bufferbuilder·(class·in·iio_writedev)":·[ |
| 119 | ············[8,·"iio_writedev.BufferBuilder",·false] | 125 | ············[8,·"iio_writedev.BufferBuilder",·false] |
| 120 | ········], | 126 | ········], |
| 127 | ········"cancel()·(iio.buffer·method)":·[ | ||
| 128 | ············[0,·"iio.Buffer.cancel",·false] | ||
| 129 | ········], | ||
| 130 | ········"channel·(class·in·iio)":·[ | ||
| 131 | ············[1,·"iio.Channel",·false] | ||
| 132 | ········], | ||
| 121 | ········"channelmodifier·(class·in·iio)":·[ | 133 | ········"channelmodifier·(class·in·iio)":·[ |
| 122 | ············[1,·"iio.ChannelModifier",·false] | 134 | ············[1,·"iio.ChannelModifier",·false] |
| 123 | ········], | 135 | ········], |
| 124 | ········"channels·(iio.device·property)":·[ | 136 | ········"channels·(iio.device·property)":·[ |
| 125 | ············[3,·"iio.Device.channels",·false] | 137 | ············[3,·"iio.Device.channels",·false] |
| 126 | ········], | 138 | ········], |
| 127 | ········"channels·(iio.trigger·property)":·[ | 139 | ········"channels·(iio.trigger·property)":·[ |
| Offset 168, 14 lines modified | Offset 180, 17 lines modified | ||
| 168 | ········], | 180 | ········], |
| 169 | ········"create()·(iio_writedev.bufferbuilder·method)":·[ | 181 | ········"create()·(iio_writedev.bufferbuilder·method)":·[ |
| 170 | ············[8,·"iio_writedev.BufferBuilder.create",·false] | 182 | ············[8,·"iio_writedev.BufferBuilder.create",·false] |
| 171 | ········], | 183 | ········], |
| 172 | ········"create()·(iio_writedev.contextbuilder·method)":·[ | 184 | ········"create()·(iio_writedev.contextbuilder·method)":·[ |
| 173 | ············[8,·"iio_writedev.ContextBuilder.create",·false] | 185 | ············[8,·"iio_writedev.ContextBuilder.create",·false] |
| 174 | ········], | 186 | ········], |
| 187 | ········"data_format·(iio.channel·property)":·[ | ||
| 188 | ············[1,·"iio.Channel.data_format",·false] | ||
| 189 | ········], | ||
| 175 | ········"dataformat·(class·in·iio)":·[ | 190 | ········"dataformat·(class·in·iio)":·[ |
| 176 | ············[1,·"iio.DataFormat",·false] | 191 | ············[1,·"iio.DataFormat",·false] |
| 177 | ········], | 192 | ········], |
| 178 | ········"datareader·(class·in·iio_readdev)":·[ | 193 | ········"datareader·(class·in·iio_readdev)":·[ |
| 179 | ············[7,·"iio_readdev.DataReader",·false] | 194 | ············[7,·"iio_readdev.DataReader",·false] |
| 180 | ········], | 195 | ········], |
| 181 | ········"datawriter·(class·in·iio_writedev)":·[ | 196 | ········"datawriter·(class·in·iio_writedev)":·[ |
| Offset 198, 14 lines modified | Offset 213, 20 lines modified | ||
| 198 | ········], | 213 | ········], |
| 199 | ········"description·(iio.xmlcontext·property)":·[ | 214 | ········"description·(iio.xmlcontext·property)":·[ |
| 200 | ············[2,·"iio.XMLContext.description",·false] | 215 | ············[2,·"iio.XMLContext.description",·false] |
| 201 | ········], | 216 | ········], |
| 202 | ········"device·(class·in·iio)":·[ | 217 | ········"device·(class·in·iio)":·[ |
| 203 | ············[3,·"iio.Device",·false] | 218 | ············[3,·"iio.Device",·false] |
| 204 | ········], | 219 | ········], |
| 220 | ········"device·(iio.buffer·property)":·[ | ||
| 221 | ············[0,·"iio.Buffer.device",·false] | ||
| 222 | ········], | ||
| 223 | ········"device·(iio.channel·property)":·[ | ||
| 224 | ············[1,·"iio.Channel.device",·false] | ||
| 225 | ········], | ||
| 205 | ········"devicebufferattr·(class·in·iio)":·[ | 226 | ········"devicebufferattr·(class·in·iio)":·[ |
| 206 | ············[3,·"iio.DeviceBufferAttr",·false] | 227 | ············[3,·"iio.DeviceBufferAttr",·false] |
| 207 | ········], | 228 | ········], |
| 208 | ········"devicedebugattr·(class·in·iio)":·[ | 229 | ········"devicedebugattr·(class·in·iio)":·[ |
| 209 | ············[3,·"iio.DeviceDebugAttr",·false] | 230 | ············[3,·"iio.DeviceDebugAttr",·false] |
| 210 | ········], | 231 | ········], |
| 211 | ········"devices·(iio.context·property)":·[ | 232 | ········"devices·(iio.context·property)":·[ |
| Offset 216, 14 lines modified | Offset 237, 17 lines modified | ||
| 216 | ········], | 237 | ········], |
| 217 | ········"devices·(iio.networkcontext·property)":·[ | 238 | ········"devices·(iio.networkcontext·property)":·[ |
| 218 | ············[2,·"iio.NetworkContext.devices",·false] | 239 | ············[2,·"iio.NetworkContext.devices",·false] |
| 219 | ········], | 240 | ········], |
| 220 | ········"devices·(iio.xmlcontext·property)":·[ | 241 | ········"devices·(iio.xmlcontext·property)":·[ |
| 221 | ············[2,·"iio.XMLContext.devices",·false] | 242 | ············[2,·"iio.XMLContext.devices",·false] |
| 222 | ········], | 243 | ········], |
| 244 | ········"enabled·(iio.channel·property)":·[ | ||
| 245 | ············[1,·"iio.Channel.enabled",·false] | ||
| 246 | ········], | ||
| 223 | ········"filename·(iio.devicebufferattr·property)":·[ | 247 | ········"filename·(iio.devicebufferattr·property)":·[ |
| 224 | ············[3,·"iio.DeviceBufferAttr.filename",·false] | 248 | ············[3,·"iio.DeviceBufferAttr.filename",·false] |
| 225 | ········], | 249 | ········], |
| 226 | ········"filename·(iio.devicedebugattr·property)":·[ | 250 | ········"filename·(iio.devicedebugattr·property)":·[ |
| 227 | ············[3,·"iio.DeviceDebugAttr.filename",·false] | 251 | ············[3,·"iio.DeviceDebugAttr.filename",·false] |
| 228 | ········], | 252 | ········], |
| 229 | ········"find_channel()·(iio.device·method)":·[ | 253 | ········"find_channel()·(iio.device·method)":·[ |
| Offset 246, 14 lines modified | Offset 270, 17 lines modified | ||
| 246 | ········], | 270 | ········], |
| 247 | ········"frequency·(iio.trigger·property)":·[ | 271 | ········"frequency·(iio.trigger·property)":·[ |
| 248 | ············[10,·"iio.Trigger.frequency",·false] | 272 | ············[10,·"iio.Trigger.frequency",·false] |
| 249 | ········], | 273 | ········], |
| 250 | ········"hwmon·(iio.device·property)":·[ | 274 | ········"hwmon·(iio.device·property)":·[ |
| 251 | ············[3,·"iio.Device.hwmon",·false] | 275 | ············[3,·"iio.Device.hwmon",·false] |
| 252 | ········], | 276 | ········], |
| 277 | ········"id·(iio.channel·property)":·[ | ||
| 278 | ············[1,·"iio.Channel.id",·false] | ||
| 279 | ········], | ||
| 253 | ········"id·(iio.device·property)":·[ | 280 | ········"id·(iio.device·property)":·[ |
| 254 | ············[3,·"iio.Device.id",·false] | 281 | ············[3,·"iio.Device.id",·false] |
| 255 | ········], | 282 | ········], |
| 256 | ········"id·(iio.trigger·property)":·[ | 283 | ········"id·(iio.trigger·property)":·[ |
| 257 | ············[10,·"iio.Trigger.id",·false] | 284 | ············[10,·"iio.Trigger.id",·false] |
| 258 | ········], | 285 | ········], |
| Max diff block lines reached; 29374/33766 bytes (86.99%) of diff not shown. | |||