aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/lib/spi
Commit message (Collapse)AuthorAgeFilesLines
* mpm: Minor spidev fixesMartin Braun2017-12-221-18/+5
| | | | Fixes some compiler warnings.
* spidev: fix error handling in initializationMark Meserve2017-12-222-41/+78
| | | | | | | | | | | - 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-222-4/+28
| | | | | - Adds convenience method to read 16-bit SPI transactions - Fixes peek16 in spi_regs_iface to actually use 16-bit transactions
* mpm: spi: Added 16-bit access to SPI regsMartin Braun2017-12-221-1/+30
|
* mpm: Enabled selection of SPI modeMartin Braun2017-12-222-6/+10
|
* mpm: Exposed spi regs iface factory to PythonMartin Braun2017-12-221-0/+20
|
* mpm: Major refactoringMartin Braun2017-12-225-108/+319
| | | | | | - 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
|
* mpm: clean up spiMark Meserve2017-12-225-227/+0
| | | | | remove spi_lock remove ad9371 spi_config types
* ad9371: whitespace cleanupMark Meserve2017-12-221-2/+2
|
* mpm: move public includes into include/Martin Braun2017-12-223-36/+1
|
* mpm: cleanup CMakeLists, fixup minor bugsAndrej Rode2017-12-222-3/+3
|
* Initial commit for N3xx development.Martin Braun2017-12-228-0/+422
- 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>