uhd/mpm/python/usrp_mpm/periph_manager
Martin Braun 0cf54ce073 mpm/mpmd: Expose APIs to drive GPIO sources
The N310 has a feature that allows the front panel GPIOs to be driven by
various sources: The PS, or any of the radio channels. The MPM-based
APIs did not expose any way to change that.

Changes:
- Add MPM APIs to PeripheralManagerBase and n3xx classes
- Improve comments and explanations
- Add host-side hooks into these new APIs in mpmd_mb_controller
- Implement these APIs for N3xx

The N3xx devices will have the option to set the GPIO source to "PS", or
to one of "RF0", "RF1", "RF2", "RF3" (if there are four channels; the
N300 and N320 can only go up to RF1).

Note: The N310 radio does not have separate FP-GPIO banks for channels
0 and 1, which needs to be fixed in a separate commit.
2020-01-23 11:37:51 -08:00
..
__init__.py.in mpm: Add __mpm_device__ as usrp_hwd module variable 2018-10-09 17:11:08 -07:00
base.py mpm/mpmd: Expose APIs to drive GPIO sources 2020-01-23 11:37:51 -08:00
CMakeLists.txt mpm: Move common mboard regs code to common location 2019-11-26 12:21:33 -08:00
common.py mpm: Move common mboard regs code to common location 2019-11-26 12:21:33 -08:00
e31x.py mpm: e31x: Remove superfluous code from e31x_periphs 2019-11-26 12:21:34 -08:00
e31x_periphs.py mpm: e31x: Remove superfluous code from e31x_periphs 2019-11-26 12:21:34 -08:00
e320.py mpm: Clean up code, improve Pylint score 2019-11-26 12:21:33 -08:00
e320_periphs.py mpm: Move common mboard regs code to common location 2019-11-26 12:21:33 -08:00
n3xx.py mpm/mpmd: Expose APIs to drive GPIO sources 2020-01-23 11:37:51 -08:00
n3xx_periphs.py mpm/mpmd: Expose APIs to drive GPIO sources 2020-01-23 11:37:51 -08:00