aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/lib/spi/spidev_iface.cpp
Commit message (Collapse)AuthorAgeFilesLines
* mpm: Harmonize all license headerMartin Braun2017-12-221-13/+2
| | | | Now uses SPDX headers everywhere.
* spidev: fix error handling in initializationMark Meserve2017-12-221-11/+11
| | | | | | | | | | | - Reversed the incorrect logic in spidev_iface.cpp for error checking on init_spi - Error on failed fd creation is now valid and added a null pointer check for fd - ioctl read operations are now given non-const references - Bits per word coercion check is now initialized correctly - Coercion errors now return -ENOTSUP instead of 2 - Improved logging messages with more information
* mpm: spi: Added 16-bit SPI transactionsMark Meserve2017-12-221-2/+26
| | | | | - Adds convenience method to read 16-bit SPI transactions - Fixes peek16 in spi_regs_iface to actually use 16-bit transactions
* mpm: Enabled selection of SPI modeMartin Braun2017-12-221-5/+8
|
* mpm: Major refactoringMartin Braun2017-12-221-108/+45
| | | | | | - Created clean interfaces for SPI and registers - Severed most links to UHD - Added a lockable class which allows exposing mutexes into Python
* spidev: initialize cs_changeMark Meserve2017-12-221-2/+3
|
* mpm: Fixed a plethora of SPI-related issuesMartin Braun2017-12-221-8/+29
|
* Initial commit for N3xx development.Martin Braun2017-12-221-0/+155
- Creates mpm/ subdirectory - First pass at hardware daemon/MPM - New code for LMK04828, AD9371 - spidev integration Contributions by: Martin Braun <martin.braun@ettus.com> Derek Kozel <derek.kozel@ettus.com> Mark Meserve <mark.meserve@ni.com> Andrej Rode <andrej.rode@ettus.com>