|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
examples/ek_ra8d2/hw_validated/manual/tz_secure_only_usb_hs/src/tz_secure_only_usb_hs_descriptors.c More...
Go to the source code of this file.
Enumerations | |
| enum | usb_langid_byte_t : uint8_t { k_usb_langid_en_us_lo = 0x09U , k_usb_langid_en_us_hi = 0x04U } |
Variables | |
| UCHAR | s_tz_secure_only_usb_hs_device_framework_fs [] |
| Full-Speed CDC-ACM composite device framework (64-byte bulk MPS). | |
| UCHAR | s_tz_secure_only_usb_hs_device_framework_hs [] |
| High-Speed CDC-ACM composite device framework (512-byte bulk MPS). | |
| UCHAR | s_tz_secure_only_usb_hs_string_framework [] |
| USBX string descriptor table (vendor / product / serial). | |
| UCHAR | s_tz_secure_only_usb_hs_language_id_framework [] |
| USBX language-id table – US English (LANGID 0x0409). | |
examples/ek_ra8d2/hw_validated/manual/tz_secure_only_usb_hs/src/tz_secure_only_usb_hs_descriptors.c
USB CDC-ACM descriptor frameworks for the secure-only USB-HS echo app.
Second sibling translation unit for examples/ek_ra8d2/hw_validated/manual/tz_secure_only_usb_hs/src/main.c. Holds the four USBX descriptor tables (HS device framework, FS device framework, string framework, language-id framework). These byte arrays were moved here verbatim from main.c (a pure, behaviour-preserving code move) so that every translation unit stays under the 1000-line check_file_size.py cap.
The arrays are consumed by demo_worker_usbx_init in the companion tz_secure_only_usb_hs_steps.c translation unit, so they carry the cross-TU s_tz_secure_only_usb_hs_ prefix and are declared in tz_secure_only_usb_hs_steps.h with their explicit dimensions (a static_assert here cross-checks each declared dimension against the actual initializer length).
Definition in file tz_secure_only_usb_hs_descriptors.c.
| enum usb_langid_byte_t : uint8_t |
| Enumerator | |
|---|---|
| k_usb_langid_en_us_lo | LANGID 0x0409 low byte. |
| k_usb_langid_en_us_hi | LANGID 0x0409 high byte. |
Definition at line 374 of file tz_secure_only_usb_hs_descriptors.c.
| UCHAR s_tz_secure_only_usb_hs_device_framework_fs[] |
Full-Speed CDC-ACM composite device framework (64-byte bulk MPS).
Defined in tz_secure_only_usb_hs_descriptors.c.
Definition at line 51 of file tz_secure_only_usb_hs_descriptors.c.
Referenced by demo_worker_usbx_init().
| UCHAR s_tz_secure_only_usb_hs_device_framework_hs[] |
High-Speed CDC-ACM composite device framework (512-byte bulk MPS).
Defined in tz_secure_only_usb_hs_descriptors.c.
Definition at line 171 of file tz_secure_only_usb_hs_descriptors.c.
Referenced by demo_worker_usbx_init().
| UCHAR s_tz_secure_only_usb_hs_language_id_framework[] |
USBX language-id table – US English (LANGID 0x0409).
USBX language-id table – US English.
Defined in tz_secure_only_usb_hs_descriptors.c.
Definition at line 384 of file tz_secure_only_usb_hs_descriptors.c.
Referenced by demo_worker_usbx_init().
| UCHAR s_tz_secure_only_usb_hs_string_framework[] |
USBX string descriptor table (vendor / product / serial).
Defined in tz_secure_only_usb_hs_descriptors.c.
Definition at line 303 of file tz_secure_only_usb_hs_descriptors.c.
Referenced by demo_worker_usbx_init().