Xsphinx.addnodesdocument)}( rawsourcechildren]( translations LanguagesNode)}(hhh](h pending_xref)}(hhh]docutils.nodesTextChinese (Simplified)}parenthsba attributes}(ids]classes]names]dupnames]backrefs] refdomainstdreftypedoc reftarget/translations/zh_CN/iio/ad7380modnameN classnameN refexplicitutagnamehhh ubh)}(hhh]hChinese (Traditional)}hh2sbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget/translations/zh_TW/iio/ad7380modnameN classnameN refexplicituh1hhh ubh)}(hhh]hItalian}hhFsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget/translations/it_IT/iio/ad7380modnameN classnameN refexplicituh1hhh ubh)}(hhh]hJapanese}hhZsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget/translations/ja_JP/iio/ad7380modnameN classnameN refexplicituh1hhh ubh)}(hhh]hKorean}hhnsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget/translations/ko_KR/iio/ad7380modnameN classnameN refexplicituh1hhh ubh)}(hhh]hSpanish}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget/translations/sp_SP/iio/ad7380modnameN classnameN refexplicituh1hhh ubeh}(h]h ]h"]h$]h&]current_languageEnglishuh1h hh _documenthsourceNlineNubhcomment)}(h%SPDX-License-Identifier: GPL-2.0-onlyh]h%SPDX-License-Identifier: GPL-2.0-only}hhsbah}(h]h ]h"]h$]h&] xml:spacepreserveuh1hhhhhh8/var/lib/git/docbuild/linux/Documentation/iio/ad7380.rsthKubhsection)}(hhh](htitle)}(h AD7380 driverh]h AD7380 driver}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhKubh paragraph)}(h]ADC driver for Analog Devices Inc. AD7380 and similar devices. The module name is ``ad7380``.h](hRADC driver for Analog Devices Inc. AD7380 and similar devices. The module name is }(hhhhhNhNubhliteral)}(h ``ad7380``h]had7380}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhubh.}(hhhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhhhhubh)}(hhh](h)}(hSupported devicesh]hSupported devices}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhK ubh)}(h1The following chips are supported by this driver:h]h1The following chips are supported by this driver:}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhhhhubh bullet_list)}(hhh](h list_item)}(h:`AD7380 `_h]h)}(hjh](h reference)}(hjh]hAD7380}(hjhhhNhNubah}(h]h ]h"]h$]h&]nameAD7380refuri.https://www.analog.com/en/products/ad7380.htmluh1jhjubhtarget)}(h1 h]h}(h]ad7380ah ]h"]ad7380ah$]h&]refurij,uh1j- referencedKhjubeh}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(h:`AD7381 `_h]h)}(hjKh](j)}(hjKh]hAD7381}(hjPhhhNhNubah}(h]h ]h"]h$]h&]nameAD7381j+.https://www.analog.com/en/products/ad7381.htmluh1jhjMubj.)}(h1 h]h}(h]ad7381ah ]h"]ad7381ah$]h&]refurij_uh1j-j<KhjMubeh}(h]h ]h"]h$]h&]uh1hhhhKhjIubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(h:`AD7383 `_h]h)}(hj{h](j)}(hj{h]hAD7383}(hjhhhNhNubah}(h]h ]h"]h$]h&]nameAD7383j+.https://www.analog.com/en/products/ad7383.htmluh1jhj}ubj.)}(h1 h]h}(h]ad7383ah ]h"]ad7383ah$]h&]refurijuh1j-j<Khj}ubeh}(h]h ]h"]h$]h&]uh1hhhhKhjyubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(h:`AD7384 `_h]h)}(hjh](j)}(hjh]hAD7384}(hjhhhNhNubah}(h]h ]h"]h$]h&]nameAD7384j+.https://www.analog.com/en/products/ad7384.htmluh1jhjubj.)}(h1 h]h}(h]ad7384ah ]h"]ad7384ah$]h&]refurijuh1j-j<Khjubeh}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(h:`AD7386 `_h]h)}(hjh](j)}(hjh]hAD7386}(hjhhhNhNubah}(h]h ]h"]h$]h&]nameAD7386j+.https://www.analog.com/en/products/ad7386.htmluh1jhjubj.)}(h1 h]h}(h]ad7386ah ]h"]ad7386ah$]h&]refurijuh1j-j<Khjubeh}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(h:`AD7387 `_h]h)}(hj h](j)}(hj h]hAD7387}(hjhhhNhNubah}(h]h ]h"]h$]h&]nameAD7387j+.https://www.analog.com/en/products/ad7387.htmluh1jhj ubj.)}(h1 h]h}(h]ad7387ah ]h"]ad7387ah$]h&]refurijuh1j-j<Khj ubeh}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(h:`AD7388 `_h]h)}(hj;h](j)}(hj;h]hAD7388}(hj@hhhNhNubah}(h]h ]h"]h$]h&]nameAD7388j+.https://www.analog.com/en/products/ad7388.htmluh1jhj=ubj.)}(h1 h]h}(h]ad7388ah ]h"]ad7388ah$]h&]refurijOuh1j-j<Khj=ubeh}(h]h ]h"]h$]h&]uh1hhhhKhj9ubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(h>`AD7380-4 `_h]h)}(hjkh](j)}(hjkh]hAD7380-4}(hjphhhNhNubah}(h]h ]h"]h$]h&]nameAD7380-4j+0https://www.analog.com/en/products/ad7380-4.htmluh1jhjmubj.)}(h3 h]h}(h]ad7380-4ah ]h"]ad7380-4ah$]h&]refurijuh1j-j<Khjmubeh}(h]h ]h"]h$]h&]uh1hhhhKhjiubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(h>`AD7381-4 `_h]h)}(hjh](j)}(hjh]hAD7381-4}(hjhhhNhNubah}(h]h ]h"]h$]h&]nameAD7381-4j+0https://www.analog.com/en/products/ad7381-4.htmluh1jhjubj.)}(h3 h]h}(h]ad7381-4ah ]h"]ad7381-4ah$]h&]refurijuh1j-j<Khjubeh}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(h>`AD7383-4 `_h]h)}(hjh](j)}(hjh]hAD7383-4}(hjhhhNhNubah}(h]h ]h"]h$]h&]nameAD7383-4j+0https://www.analog.com/en/products/ad7383-4.htmluh1jhjubj.)}(h3 h]h}(h]ad7383-4ah ]h"]ad7383-4ah$]h&]refurijuh1j-j<Khjubeh}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(h>`AD7384-4 `_h]h)}(hjh](j)}(hjh]hAD7384-4}(hjhhhNhNubah}(h]h ]h"]h$]h&]nameAD7384-4j+0https://www.analog.com/en/products/ad7384-4.htmluh1jhjubj.)}(h3 h]h}(h]ad7384-4ah ]h"]ad7384-4ah$]h&]refurijuh1j-j<Khjubeh}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(h>`AD7386-4 `_h]h)}(hj+h](j)}(hj+h]hAD7386-4}(hj0hhhNhNubah}(h]h ]h"]h$]h&]nameAD7386-4j+0https://www.analog.com/en/products/ad7386-4.htmluh1jhj-ubj.)}(h3 h]h}(h]ad7386-4ah ]h"]ad7386-4ah$]h&]refurij?uh1j-j<Khj-ubeh}(h]h ]h"]h$]h&]uh1hhhhKhj)ubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(h>`AD7387-4 `_h]h)}(hj[h](j)}(hj[h]hAD7387-4}(hj`hhhNhNubah}(h]h ]h"]h$]h&]nameAD7387-4j+0https://www.analog.com/en/products/ad7387-4.htmluh1jhj]ubj.)}(h3 h]h}(h]ad7387-4ah ]h"]ad7387-4ah$]h&]refurijouh1j-j<Khj]ubeh}(h]h ]h"]h$]h&]uh1hhhhKhjYubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(h>`AD7388-4 `_h]h)}(hjh](j)}(hjh]hAD7388-4}(hjhhhNhNubah}(h]h ]h"]h$]h&]nameAD7388-4j+0https://www.analog.com/en/products/ad7388-4.htmluh1jhjubj.)}(h3 h]h}(h]ad7388-4ah ]h"]ad7388-4ah$]h&]refurijuh1j-j<Khjubeh}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(h>`AD7389-4 `_h]h)}(hjh](j)}(hjh]hAD7389-4}(hjhhhNhNubah}(h]h ]h"]h$]h&]nameAD7389-4j+0https://www.analog.com/en/products/ad7389-4.htmluh1jhjubj.)}(h3 h]h}(h]ad7389-4ah ]h"]ad7389-4ah$]h&]refurijuh1j-j<Khjubeh}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(hB`ADAQ4370-4 `_h]h)}(hjh](j)}(hjh]h ADAQ4370-4}(hjhhhNhNubah}(h]h ]h"]h$]h&]name ADAQ4370-4j+2https://www.analog.com/en/products/adaq4370-4.htmluh1jhjubj.)}(h5 h]h}(h] adaq4370-4ah ]h"] adaq4370-4ah$]h&]refurijuh1j-j<Khjubeh}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(hB`ADAQ4380-4 `_h]h)}(hjh](j)}(hjh]h ADAQ4380-4}(hj hhhNhNubah}(h]h ]h"]h$]h&]name ADAQ4380-4j+2https://www.analog.com/en/products/adaq4380-4.htmluh1jhjubj.)}(h5 h]h}(h] adaq4380-4ah ]h"] adaq4380-4ah$]h&]refurij/uh1j-j<Khjubeh}(h]h ]h"]h$]h&]uh1hhhhK hjubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(hD`ADAQ4381-4 `_ h]h)}(hB`ADAQ4381-4 `_h](j)}(hjOh]h ADAQ4381-4}(hjQhhhNhNubah}(h]h ]h"]h$]h&]name ADAQ4381-4j+2https://www.analog.com/en/products/adaq4381-4.htmluh1jhjMubj.)}(h5 h]h}(h] adaq4381-4ah ]h"] adaq4381-4ah$]h&]refurij`uh1j-j<KhjMubeh}(h]h ]h"]h$]h&]uh1hhhhK!hjIubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubeh}(h]h ]h"]h$]h&]bullet*uh1j hhhKhhhhubeh}(h]supported-devicesah ]h"]supported devicesah$]h&]uh1hhhhhhhhK ubh)}(hhh](h)}(hSupported featuresh]hSupported features}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhK%ubh)}(hhh](h)}(hSPI wiring modesh]hSPI wiring modes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhK(ubh)}(hhad738x ADCs can output data on several SDO lines (1/2/4). The driver currently supports only 1 SDO line.h]hhad738x ADCs can output data on several SDO lines (1/2/4). The driver currently supports only 1 SDO line.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK*hjhhubeh}(h]spi-wiring-modesah ]h"]spi wiring modesah$]h&]uh1hhjhhhhhK(j<Kubh)}(hhh](h)}(hReference voltageh]hReference voltage}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhK.ubh)}(hhh](h)}(had7380-4h]had7380-4}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhK1ubh)}(had7380-4 supports only an external reference voltage (2.5V to 3.3V). It must be declared in the device tree as ``refin-supply``.h](hoad7380-4 supports only an external reference voltage (2.5V to 3.3V). It must be declared in the device tree as }(hjhhhNhNubh)}(h``refin-supply``h]h refin-supply}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK3hjhhubeh}(h]id1ah ]h"]h$]ad7380-4ah&]uh1hhjhhhhhK1j<Kubh)}(hhh](h)}(had7389-4h]had7389-4}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hhhhhK7ubh)}(had7389-4 supports only an internal reference voltage. ``refin-supply`` and ``refio-supply`` properties are both omitted in this case.h](h6ad7389-4 supports only an internal reference voltage. }(hjhhhNhNubh)}(h``refin-supply``h]h refin-supply}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubh and }(hjhhhNhNubh)}(h``refio-supply``h]h refio-supply}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubh* properties are both omitted in this case.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK9hj hhubeh}(h]id2ah ]h"]h$]ad7389-4ah&]uh1hhjhhhhhK7j<Kubh)}(hhh](h)}(h ADAQ devicesh]h ADAQ devices}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjWhhhhhK=ubh)}(hADAQ devices don't have an external reference, but use a 3.3V internal reference derived from one of its supplies (``refin-supply``)h](huADAQ devices don’t have an external reference, but use a 3.3V internal reference derived from one of its supplies (}(hjhhhhNhNubh)}(h``refin-supply``h]h refin-supply}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhubh)}(hjhhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK?hjWhhubeh}(h] adaq-devicesah ]h"] adaq devicesah$]h&]uh1hhjhhhhhK=ubh)}(hhh](h)}(h$All other devices from ad738x familyh]h$All other devices from ad738x family}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKCubh)}(hKAll other devices from ad738x support 2 possible reference voltage sources:h]hKAll other devices from ad738x support 2 possible reference voltage sources:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKEhjhhubj )}(hhh](j)}(hInternal reference (2.5V)h]h)}(hjh]hInternal reference (2.5V)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKGhjubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(h"External reference (2.5V to 3.3V) h]h)}(h!External reference (2.5V to 3.3V)h]h!External reference (2.5V to 3.3V)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKHhjubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubeh}(h]h ]h"]h$]h&]j-uh1j hhhKGhjhhubh)}(hThe source is determined by the device tree. If ``refio-supply`` is present, then it is used as external reference, else the internal reference is used.h](h0The source is determined by the device tree. If }(hjhhhNhNubh)}(h``refio-supply``h]h refio-supply}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubhX is present, then it is used as external reference, else the internal reference is used.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKJhjhhubeh}(h]$all-other-devices-from-ad738x-familyah ]h"]$all other devices from ad738x familyah$]h&]uh1hhjhhhhhKCubeh}(h]reference-voltageah ]h"]reference voltageah$]h&]uh1hhjhhhhhK.ubh)}(hhh](h)}(h!Oversampling and resolution boosth]h!Oversampling and resolution boost}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKNubh)}(hXThis family supports 2 types of oversampling: normal average and rolling average. Only normal average is supported by the driver, as rolling average can be achieved by processing a captured data buffer. The following ratios are available: 1 (oversampling disabled)/2/4/8/16/32.h]hXThis family supports 2 types of oversampling: normal average and rolling average. Only normal average is supported by the driver, as rolling average can be achieved by processing a captured data buffer. The following ratios are available: 1 (oversampling disabled)/2/4/8/16/32.}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKPhjhhubh)}(hXWhen the on-chip oversampling function is enabled the performance of the ADC can exceed the default resolution. To accommodate the performance boost achievable, it is possible to enable an additional two bits of resolution. Because the resolution boost feature can only be enabled when oversampling is enabled and oversampling is not as useful without the resolution boost, the driver automatically enables the resolution boost if and only if oversampling is enabled.h]hXWhen the on-chip oversampling function is enabled the performance of the ADC can exceed the default resolution. To accommodate the performance boost achievable, it is possible to enable an additional two bits of resolution. Because the resolution boost feature can only be enabled when oversampling is enabled and oversampling is not as useful without the resolution boost, the driver automatically enables the resolution boost if and only if oversampling is enabled.}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKUhjhhubh)}(hXgSince the resolution boost feature causes 16-bit chips to now have 18-bit data which means the storagebits has to change from 16 to 32 bits, we use the new ext_scan_type feature to allow changing the scan_type at runtime. Unfortunately libiio does not support it. So when enabling or disabling oversampling, user must restart iiod using the following command:h]hXgSince the resolution boost feature causes 16-bit chips to now have 18-bit data which means the storagebits has to change from 16 to 32 bits, we use the new ext_scan_type feature to allow changing the scan_type at runtime. Unfortunately libiio does not support it. So when enabling or disabling oversampling, user must restart iiod using the following command:}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK]hjhhubh literal_block)}(hroot:~# systemctl restart iiodh]hroot:~# systemctl restart iiod}hjUsbah}(h]h ]h"]h$]h&]hhforcelanguagebashhighlight_args}uh1jShhhKchjhhubeh}(h]!oversampling-and-resolution-boostah ]h"]!oversampling and resolution boostah$]h&]uh1hhjhhhhhKNubh)}(hhh](h)}(hAlerth]hAlert}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1hhjphhhhhKhubh)}(hX/2 channels variants of the ad738x family, can use the SDOB line as an alert pin when configured in 1 SDO line mode. 4 channels variants, can use SDOD as an alert pin when configured in 1 or 2 SDO line(s) mode, although only 1 SDO line mode is currently supported by the driver (see `SPI wiring modes`_).h](hX2 channels variants of the ad738x family, can use the SDOB line as an alert pin when configured in 1 SDO line mode. 4 channels variants, can use SDOD as an alert pin when configured in 1 or 2 SDO line(s) mode, although only 1 SDO line mode is currently supported by the driver (see }(hjhhhNhNubj)}(h`SPI wiring modes`_h]hSPI wiring modes}(hjhhhNhNubah}(h]h ]h"]h$]h&]nameSPI wiring modesrefidjuh1jhjresolvedKubh).}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKjhjphhubh)}(hAt the end of a conversion the active-low alert pin gets asserted if the conversion result exceeds the alert high limit or falls below the alert low limit. It is cleared, on a falling edge of CS. The alert pin is common to all channels.h]hAt the end of a conversion the active-low alert pin gets asserted if the conversion result exceeds the alert high limit or falls below the alert low limit. It is cleared, on a falling edge of CS. The alert pin is common to all channels.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKohjphhubh)}(h=User can enable alert using the regular iio events attribute:h]h=User can enable alert using the regular iio events attribute:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKthjphhubjT)}(hevents/thresh_either_enh]hevents/thresh_either_en}hjsbah}(h]h ]h"]h$]h&]hhjcjdbashjf}uh1jShhhKvhjphhubh)}(hoThe high and low thresholds are common to all channels and can also be set using regular iio events attributes:h]hoThe high and low thresholds are common to all channels and can also be set using regular iio events attributes:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKzhjphhubjT)}(h| | | | | | | mux |----->| ADCA |--- voltage2 | AinA1 --|--->| | | | | | |_____| |_____ | | | _____ ______ | | | | | | voltage1 | AinB0 --|--->| | | | | | | mux |----->| ADCB |--- voltage3 | AinB1 --|--->| | | | | | |_____| |______| | | | +----------------------------h]hX IIO | AD7386/7/8 | +---------------------------- | | _____ ______ | | | | | | voltage0 | AinA0 --|--->| | | | | | | mux |----->| ADCA |--- voltage2 | AinA1 --|--->| | | | | | |_____| |_____ | | | _____ ______ | | | | | | voltage1 | AinB0 --|--->| | | | | | | mux |----->| ADCB |--- voltage3 | AinB1 --|--->| | | | | | |_____| |______| | | | +----------------------------}hjrsbah}(h]h ]h"]h$]h&]hhjcjdnonejf}uh1jShhhKhjhhubh)}(hLWhen enabling sequencer mode, the effective sampling rate is divided by two.h]hLWhen enabling sequencer mode, the effective sampling rate is divided by two.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjhhubh)}(hhh](h)}(hGain (ADAQ devices only)h]hGain (ADAQ devices only)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKubh)}(hADAQ devices have a pin selectable gain in front of each ADC. The appropriate gain is selectable from device tree using the ``adi,gain-milli`` property. Refer to the typical connection diagrams section of the datasheet for pin wiring.h](h|ADAQ devices have a pin selectable gain in front of each ADC. The appropriate gain is selectable from device tree using the }(hjhhhNhNubh)}(h``adi,gain-milli``h]hadi,gain-milli}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubh\ property. Refer to the typical connection diagrams section of the datasheet for pin wiring.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjhhubeh}(h]gain-adaq-devices-onlyah ]h"]gain (adaq devices only)ah$]h&]uh1hhjhhhhhKubeh}(h]5channel-selection-and-sequencer-single-end-chips-onlyah ]h"]7channel selection and sequencer (single-end chips only)ah$]h&]uh1hhjhhhhhKubh)}(hhh](h)}(hUnimplemented featuresh]hUnimplemented features}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKubj )}(hhh](j)}(h 2/4 SDO linesh]h)}(hjh]h 2/4 SDO lines}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(hRolling average oversamplingh]h)}(hjh]hRolling average oversampling}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(hPower down modeh]h)}(hjh]hPower down mode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(hCRC indication h]h)}(hCRC indicationh]hCRC indication}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj*ubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubeh}(h]h ]h"]h$]h&]jjuh1j hhhKhjhhubeh}(h]unimplemented-featuresah ]h"]unimplemented featuresah$]h&]uh1hhjhhhhhKubeh}(h]supported-featuresah ]h"]supported featuresah$]h&]uh1hhhhhhhhK%ubh)}(hhh](h)}(hSPI offload supporth]hSPI offload support}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjXhhhhhKubh)}(hTo be able to achieve the maximum sample rate, the driver can be used with the `AXI SPI Engine`_ to provide SPI offload support.h](hOTo be able to achieve the maximum sample rate, the driver can be used with the }(hjihhhNhNubj)}(h`AXI SPI Engine`_h]hAXI SPI Engine}(hjqhhhNhNubah}(h]h ]h"]h$]h&]nameAXI SPI Enginej+Dhttp://analogdevicesinc.github.io/hdl/projects/pulsar_adc/index.htmluh1jhjijKubh to provide SPI offload support.}(hjihhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjXhhubj.)}(hX.. _AXI SPI Engine: http://analogdevicesinc.github.io/hdl/projects/pulsar_adc/index.htmlh]h}(h]axi-spi-engineah ]h"]axi spi engineah$]h&]j+juh1j-hKhjXhhhhj<Kubh)}(hBWhen SPI offload is being used, some attributes will be different.h]hBWhen SPI offload is being used, some attributes will be different.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjXhhubj )}(hhh](j)}(h!``trigger`` directory is removed.h]h)}(hjh](h)}(h ``trigger``h]htrigger}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubh directory is removed.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(hR``in_voltage0_sampling_frequency`` attribute is added for setting the sample rate.h]h)}(hR``in_voltage0_sampling_frequency`` attribute is added for setting the sample rate.h](h)}(h"``in_voltage0_sampling_frequency``h]hin_voltage0_sampling_frequency}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubh0 attribute is added for setting the sample rate.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(ha``in_voltage0_sampling_frequency_available`` attribute is added for querying the max sample rate.h]h)}(ha``in_voltage0_sampling_frequency_available`` attribute is added for querying the max sample rate.h](h)}(h,``in_voltage0_sampling_frequency_available``h]h(in_voltage0_sampling_frequency_available}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubh5 attribute is added for querying the max sample rate.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(h!``timestamp`` channel is removed.h]h)}(hj h](h)}(h ``timestamp``h]h timestamp}(hj! hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj ubh channel is removed.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(hsBuffer data format may be different compared to when offload is not used, e.g. the ``in_voltage0_type`` attribute. h]h)}(hrBuffer data format may be different compared to when offload is not used, e.g. the ``in_voltage0_type`` attribute.h](hSBuffer data format may be different compared to when offload is not used, e.g. the }(hjC hhhNhNubh)}(h``in_voltage0_type``h]hin_voltage0_type}(hjK hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjC ubh attribute.}(hjC hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhj? ubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubeh}(h]h ]h"]h$]h&]jjuh1j hhhKhjXhhubeh}(h]spi-offload-supportah ]h"]spi offload supportah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(hDevice buffersh]hDevice buffers}(hjz hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjw hhhhhKubh)}(h+This driver supports IIO triggered buffers.h]h+This driver supports IIO triggered buffers.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjw hhubh)}(h+See :doc:`iio_devbuf` for more information.h](hSee }(hj hhhNhNubh)}(h:doc:`iio_devbuf`h]hinline)}(hj h]h iio_devbuf}(hj hhhNhNubah}(h]h ](xrefstdstd-doceh"]h$]h&]uh1j hj ubah}(h]h ]h"]h$]h&]refdoc iio/ad7380 refdomainj reftypedoc refexplicitrefwarn reftarget iio_devbufuh1hhhhKhj ubh for more information.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjw hhubeh}(h]device-buffersah ]h"]device buffersah$]h&]uh1hhhhhhhhKubeh}(h] ad7380-driverah ]h"] ad7380 driverah$]h&]uh1hhhhhhhhKubeh}(h]h ]h"]h$]h&]sourcehuh1hcurrent_sourceN current_lineNsettingsdocutils.frontendValues)}(hN generatorN datestampN source_linkN source_urlN toc_backlinksentryfootnote_backlinksK sectnum_xformKstrip_commentsNstrip_elements_with_classesN strip_classesN report_levelK halt_levelKexit_status_levelKdebugNwarning_streamN tracebackinput_encoding utf-8-siginput_encoding_error_handlerstrictoutput_encodingutf-8output_encoding_error_handlerj error_encodingutf-8error_encoding_error_handlerbackslashreplace language_codeenrecord_dependenciesNconfigN id_prefixhauto_id_prefixid dump_settingsNdump_internalsNdump_transformsNdump_pseudo_xmlNexpose_internalsNstrict_visitorN_disable_configN_sourceh _destinationN _config_files]7/var/lib/git/docbuild/linux/Documentation/docutils.confafile_insertion_enabled raw_enabledKline_length_limitM'pep_referencesN pep_base_urlhttps://peps.python.org/pep_file_url_templatepep-%04drfc_referencesN rfc_base_url&https://datatracker.ietf.org/doc/html/ tab_widthKtrim_footnote_reference_spacesyntax_highlightlong smart_quotessmartquotes_locales]character_level_inline_markupdoctitle_xform docinfo_xformKsectsubtitle_xform image_loadinglinkembed_stylesheetcloak_email_addressessection_self_linkenvNubreporterNindirect_targets]substitution_defs}substitution_names}refnames}(spi wiring modes]jaaxi spi engine]jqaurefids}nameids}(j j jjj8j5jijfjjjjjjj)j&jYjVjjjjjjjjjIjFjyjvjjjjj jj9j6jjjgjUjRjjjjjjj j jmjjjj jjjjjMjJjt jq jjj j u nametypes}(j jj8jijjjj)jYjjjjjIjyjjj j9jjjUjjjj jmjjjjMjt jj uh}(j hjhj5j/jfj`jjjjjjj&j jVjPjjjjjjjjjFj@jvjpjjjjjjj6j0jgjajRjjjjjjjjQj jjWj jjjjj jpjjjjjJjjq jXjjj jw u footnote_refs} citation_refs} autofootnotes]autofootnote_refs]symbol_footnotes]symbol_footnote_refs] footnotes] citations]autofootnote_startKsymbol_footnote_startK id_counter collectionsCounter}j KsRparse_messages](hsystem_message)}(hhh]h)}(h+Duplicate implicit target name: "ad7380-4".h]h/Duplicate implicit target name: “ad7380-4”.}(hjk hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjh ubah}(h]h ]h"]h$]h&]jalevelKtypeINFOsourcehlineK1uh1jf hjhhhhhK1ubjg )}(hhh]h)}(h+Duplicate implicit target name: "ad7389-4".h]h/Duplicate implicit target name: “ad7389-4”.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj ubah}(h]h ]h"]h$]h&]jQalevelKtypej sourcehlineK7uh1jf hj hhhhhK7ubetransform_messages] transformerN include_log] decorationNhhub.