|
libeasymcp2221 2.0.3
|
Snapshot of the public MCP2221 flash-information sections. More...
#include <mcp2221_flash_info.h>
Public Attributes | |
| uint8_t | chip_settings [60] |
| Raw chip-settings flash section. More... | |
| uint8_t | gp_settings [60] |
| Raw GP-settings flash section. More... | |
| uint8_t | usb_manufacturer [60] |
| Raw USB manufacturer-string flash section. More... | |
| uint8_t | usb_product [60] |
| Raw USB product-string flash section. More... | |
| uint8_t | usb_serial [60] |
| Raw USB serial-number flash section. More... | |
| uint8_t | usb_factory_serial [60] |
| Raw factory/chip serial-number flash section. More... | |
| char | usb_manufacturer_str [128] |
| Decoded USB manufacturer string. More... | |
| char | usb_product_str [128] |
| Decoded USB product string, best-effort UTF-8 and null-terminated. More... | |
| char | usb_serial_str [128] |
| Decoded USB serial string, best-effort UTF-8 and null-terminated. More... | |
| char | usb_factory_serial_str [32] |
| Decoded factory/chip serial string. More... | |
Snapshot of the public MCP2221 flash-information sections.
The raw arrays contain the complete 60-byte payloads returned by the device. The string fields provide best-effort, null-terminated UTF-8 conversions of the corresponding USB descriptor structures.
Definition at line 22 of file mcp2221_flash_info.h.
| uint8_t mcp2221_flash_info_t::chip_settings[60] |
Raw chip-settings flash section.
Definition at line 24 of file mcp2221_flash_info.h.
| uint8_t mcp2221_flash_info_t::gp_settings[60] |
Raw GP-settings flash section.
Definition at line 27 of file mcp2221_flash_info.h.
| uint8_t mcp2221_flash_info_t::usb_factory_serial[60] |
Raw factory/chip serial-number flash section.
Definition at line 39 of file mcp2221_flash_info.h.
| char mcp2221_flash_info_t::usb_factory_serial_str[32] |
Decoded factory/chip serial string.
Best-effort UTF-8 conversion, null-terminated within this fixed-size buffer.
Definition at line 61 of file mcp2221_flash_info.h.
| uint8_t mcp2221_flash_info_t::usb_manufacturer[60] |
Raw USB manufacturer-string flash section.
Definition at line 30 of file mcp2221_flash_info.h.
| char mcp2221_flash_info_t::usb_manufacturer_str[128] |
Decoded USB manufacturer string.
Best-effort UTF-16LE-to-UTF-8 conversion, always null-terminated within this fixed-size buffer.
Definition at line 47 of file mcp2221_flash_info.h.
| uint8_t mcp2221_flash_info_t::usb_product[60] |
Raw USB product-string flash section.
Definition at line 33 of file mcp2221_flash_info.h.
| char mcp2221_flash_info_t::usb_product_str[128] |
Decoded USB product string, best-effort UTF-8 and null-terminated.
Definition at line 50 of file mcp2221_flash_info.h.
| uint8_t mcp2221_flash_info_t::usb_serial[60] |
Raw USB serial-number flash section.
Definition at line 36 of file mcp2221_flash_info.h.
| char mcp2221_flash_info_t::usb_serial_str[128] |
Decoded USB serial string, best-effort UTF-8 and null-terminated.
Definition at line 53 of file mcp2221_flash_info.h.