diff options
author | Mark Meserve <mark.meserve@ni.com> | 2017-09-27 17:15:54 -0500 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2017-12-22 15:04:01 -0800 |
commit | f58a4f20c54dea2cc12e2912c43a8cda597b345c (patch) | |
tree | 3f0e73b7eb79716b50c76fd5e4c46842a7b26be0 /mpm/include | |
parent | 64c5bdbc920fa45ef206c73b0d430087015760f1 (diff) | |
download | uhd-f58a4f20c54dea2cc12e2912c43a8cda597b345c.tar.gz uhd-f58a4f20c54dea2cc12e2912c43a8cda597b345c.tar.bz2 uhd-f58a4f20c54dea2cc12e2912c43a8cda597b345c.zip |
ad937x: address TODOs in adi_ctrl
change error outputs
add comments to some functions
Diffstat (limited to 'mpm/include')
-rw-r--r-- | mpm/include/mpm/ad937x/adi_ctrl.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mpm/include/mpm/ad937x/adi_ctrl.hpp b/mpm/include/mpm/ad937x/adi_ctrl.hpp index eef71c5bf..d671b9ba1 100644 --- a/mpm/include/mpm/ad937x/adi_ctrl.hpp +++ b/mpm/include/mpm/ad937x/adi_ctrl.hpp @@ -36,3 +36,9 @@ struct ad9371_spiSettings_t std::chrono::microseconds timeout_duration; }; +enum ad9371_spi_errors_t : uint32_t +{ + SPI_READ_ERROR = 4096, + SPI_WRITE_ERROR = 4097, +}; + |