analogdevicesinc / pyadi-iio

Python interfaces for ADI hardware with IIO drivers (aka peyote)
https://analogdevicesinc.github.io/pyadi-iio
Other
139 stars 101 forks source link

Update ad7768/ad7768-4 tests #532

Closed tagoylo closed 7 months ago

tagoylo commented 7 months ago

Description

This PR includes changes on ad7768 and ad7768-4 tests which enables setting the filter_type first before testing the rx buffer. With that, a change in dma_rx test was introduced, adding param_set to enable setting of attributes firsts before getting data from buffer. If param_set is not passed, it will still work the usual. For ad7768/ad7768-4, this test ensures that for both filter types the buffer is still working.

Type of change

Please delete options that are not relevant.

How has this been tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Documentation

If this is a new feature or example please mention or link any documentation. All new hardware interface classes require documentation.

Checklist: