analogdevicesinc / pyadi-iio

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

Simplify ADC classes #495

Open tfcollins opened 8 months ago

tfcollins commented 8 months ago

This is an try at simplifying the common code between any ADC (and likely DAC) classes. It also provide a visible class for all support component skews to make picking the right class easier.

With this approach, new class definitions should only contain specific pieces associate that hardware and remove a lot of boilerplate

github-actions[bot] commented 8 months ago

Unit Test Results

0 tests   - 1 256   0 :heavy_check_mark:  -    250   0s :stopwatch: - 5m 16s 0 suites  -        1   0 :zzz:  - 1 006  0 files    -        1   0 :x: ±       0 

Results for commit 4dc4f0a7. ± Comparison against base commit 8bcfac15.

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 8 months ago

Unit Test Results

0 tests   - 1 256   0 :heavy_check_mark:  -    250   0s :stopwatch: - 5m 16s 0 suites  -        1   0 :zzz:  - 1 006  0 files    -        1   0 :x: ±       0 

Results for commit 4dc4f0a7. ± Comparison against base commit 8bcfac15.

github-actions[bot] commented 8 months ago

Unit Test Results

0 tests   - 1 256   0 :heavy_check_mark:  -    250   0s :stopwatch: - 5m 16s 0 suites  -        1   0 :zzz:  - 1 006  0 files    -        1   0 :x: ±       0 

Results for commit 4dc4f0a7. ± Comparison against base commit 8bcfac15.

:recycle: This comment has been updated with latest results.