|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
Cross-TU surface shared between the host-MSC class layer(ra8_usb_hmsc.c) and the polled enumeration ladder (ra8_usb_hmsc_enum.c). More...
#include <stdint.h>Go to the source code of this file.
Cross-TU surface shared between the host-MSC class layer
(ra8_usb_hmsc.c) and the polled enumeration ladder (ra8_usb_hmsc_enum.c).
The native host-MSC class layer is split across two translation units so each stays under the 1000-line file-size cap. This src/-local header carries the typed-enum constants that both TUs reference: the chapter-9 SETUP field encodings (used to assemble GET_DESCRIPTOR / SET_ADDRESS / SET_CONFIGURATION requests during enumeration) and the standard descriptor / BOT wrapper sizes. It is NOT part of the public API: the public contract lives in ra8_usb_hmsc.h, and the shadow-state singleton g_usb_hmsc_state is shared through ra8_hal_internal.h.
Definition in file ra8_usb_hmsc_internal.h.
| enum ra8_usb_hmsc_setup_field_t : uint8_t |
Standard chapter-9 + MSC class request encodings.
Definition at line 38 of file ra8_usb_hmsc_internal.h.
| enum ra8_usb_hmsc_size_t : uint16_t |
Standard descriptor sizes and BOT wrapper sizes.
The CBW / CSW lengths are nailed down by USB MSC BBB rev 1.0 sections 5.1 and 5.2 respectively.
Definition at line 63 of file ra8_usb_hmsc_internal.h.