ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
ra8_usb_setup_t Struct Reference

Decoded 8-byte USB SETUP packet. More...

#include <ra8_usb_device.h>

Data Fields

uint8_t bm_request_type
 Request direction / type / recipient.
uint8_t b_request
 bRequest code.
uint16_t w_value
 wValue.
uint16_t w_index
 wIndex.
uint16_t w_length
 wLength.

Detailed Description

Decoded 8-byte USB SETUP packet.

Mirrors USB 2.0 chapter 9 layout. Populated by ra8_usb_read_setup_if_valid / ra8_usb_read_setup_unconditional from the controller's USBREQ / USBVAL / USBINDX / USBLENG mirror registers.

Definition at line 87 of file ra8_usb_device.h.

Field Documentation

◆ b_request

◆ bm_request_type

◆ w_index

◆ w_length

◆ w_value


The documentation for this struct was generated from the following file: