aboutsummaryrefslogtreecommitdiffstats
path: root/.gitattributes
diff options
context:
space:
mode:
authorLars Amsel <lars.amsel@ni.com>2022-04-07 18:32:22 +0200
committerAaron Rossetto <aaron.rossetto@ni.com>2022-06-10 13:24:04 -0500
commit9fb6b67f29d479da2c78814e8e3c90b0a192b508 (patch)
treeb78d0409b1a9935e29b6555e72d74f9a981e8f6c /.gitattributes
parent91de4116d8f7c01db36095f46f040e6e9bf815dc (diff)
downloaduhd-9fb6b67f29d479da2c78814e8e3c90b0a192b508.tar.gz
uhd-9fb6b67f29d479da2c78814e8e3c90b0a192b508.tar.bz2
uhd-9fb6b67f29d479da2c78814e8e3c90b0a192b508.zip
uhd: change default into option flag in register definition
This adds support for read only registers in generated interfaces. For this the default is extended to an option string. The old format is still supported for backward compability, so if options string is just a number it will be handled as a writable number. The option string is a comma separated list with key=value pairs. The value is optional and treated as None if missing. common.py now allows to pass in **kwargs to the generate method which is used by gen_zbx_cpld_regs.py to pass a filter function for registers used by mpm only. get_all_addr now has an additional (optional, defaults to false) flag to indicate whether read only addresses are to be returned or not. It also supports type generic for the result to align with get_changed_addr function. The ZBX CPLD CTRL map is adapted accordingly to reflect read only registers. The power registers are flagged as MPM scope only (and not used in ZBX CPLD control of UHD). Co-authored-by: Martin Braun <martin.braun@ettus.com>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions