diff options
author | Moritz Fischer <moritz@ettus.com> | 2014-07-09 11:06:59 +0200 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2014-10-07 12:09:37 +0200 |
commit | e92f7874a7682f603fb18ed7fe7ee71959cc94d8 (patch) | |
tree | 5061aeede42839d04ede0cdf90f998fbd5ba34d0 /host/cmake | |
parent | 1b149f561370687ad65e3aa644a402f00dbd16ea (diff) | |
download | uhd-e92f7874a7682f603fb18ed7fe7ee71959cc94d8.tar.gz uhd-e92f7874a7682f603fb18ed7fe7ee71959cc94d8.tar.bz2 uhd-e92f7874a7682f603fb18ed7fe7ee71959cc94d8.zip |
e300/x300: gpio: Cleaned up example.
* Now accounting for different width of GPIO banks.
- for x3x0 use --bits=11 (default)
- for e3x0 use --bits=6
* Replaced defines with static const variables.
* Lowered default rates from 1Ms/s to 500Ks/s
* Added parameter --gpio to allow selecting
GPIO bank.
- for x3x0 use --gpio="FP0" (default)
- for e3x0 use --gpio="INT0"
* Renamed e3x0's gpio bank to "INT0" in property
tree, as they're not exposed to the outside.
Signed-off-by: Moritz Fischer <moritz@ettus.com>
Diffstat (limited to 'host/cmake')
0 files changed, 0 insertions, 0 deletions