diff options
Diffstat (limited to 'mpm/tools/tlv_eeprom/eeprom-pids.h')
| -rw-r--r-- | mpm/tools/tlv_eeprom/eeprom-pids.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/mpm/tools/tlv_eeprom/eeprom-pids.h b/mpm/tools/tlv_eeprom/eeprom-pids.h new file mode 100644 index 000000000..8358d6384 --- /dev/null +++ b/mpm/tools/tlv_eeprom/eeprom-pids.h @@ -0,0 +1,21 @@ +// +// Copyright 2021 Ettus Research, a National Instruments Company +// +// SPDX-License-Identifier: GPL-3.0-or-later +// + +#pragma once + +#include <stdint.h> + +struct pid_info { + uint16_t pid; + const char* name; + const char* description; + uint16_t rev_offset; +}; + +const struct pid_info* get_info_from_pid(uint16_t pid); +const char* get_name_from_pid(uint16_t pid); +const char* get_description_from_pid(uint16_t pid); +uint16_t get_rev_offset_from_pid(uint16_t pid); |
