aboutsummaryrefslogtreecommitdiffstats
path: root/CODING.md
diff options
context:
space:
mode:
authorTrung N Tran <trung.tran@ettus.com>2018-02-21 13:28:50 -0800
committerMartin Braun <martin.braun@ettus.com>2018-02-21 16:59:46 -0800
commit21cc92016c4d5c3ae99e8fb49c04793feb51c21e (patch)
tree81126a5bbd40ee9e468361d8341806b9380cc398 /CODING.md
parentcf7667fe71c961a4656ddb961302cc5a7e5570ed (diff)
downloaduhd-21cc92016c4d5c3ae99e8fb49c04793feb51c21e.tar.gz
uhd-21cc92016c4d5c3ae99e8fb49c04793feb51c21e.tar.bz2
uhd-21cc92016c4d5c3ae99e8fb49c04793feb51c21e.zip
usrp: Add set_gpio_attr overload that use string
1/ multi_usrp.hpp; multi_usrp.cpp: added new functions - set_gpio_attr() that allow user to set certain attribute by string value. - get_gpio_string_attr() return string type value of certain attribute. 2/ gpio_defs.hpp; gpio_atr_3000.cpp : added new definition of SRC attribute. This commit enable user to use multi_usrp api to set_gpio_attr using string value. This is helpful; because the attribute can represent more than two state as of old API. This enable user to set SRC (source) that drive each GPIO bank's pin. Source can be either processing unit(PS) or radio frontend logic from FPGA logic.
Diffstat (limited to 'CODING.md')
0 files changed, 0 insertions, 0 deletions