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

One SETUP step in the host enumeration script (USB 2.0 sec 9.4). More...

#include <board_usb_internal.h>

Data Fields

uint8_t bm_request_type
 Direction + type + recipient.
uint8_t b_request
 bRequest.
uint16_t w_value
 wValue.
uint16_t w_index
 wIndex.
uint16_t w_length
 wLength (host's expected data size).
const char * name
 Human label for the step log.

Detailed Description

One SETUP step in the host enumeration script (USB 2.0 sec 9.4).

Definition at line 255 of file board_usb_internal.h.

Field Documentation

◆ b_request

uint8_t usb_setup_step_t::b_request

◆ bm_request_type

uint8_t usb_setup_step_t::bm_request_type

Direction + type + recipient.

Definition at line 256 of file board_usb_internal.h.

Referenced by internal_host_latch_setup(), internal_host_setup_ctsq(), internal_host_step_deliver(), and priv_host_deliver_setup().

◆ name

const char* usb_setup_step_t::name

Human label for the step log.

Definition at line 261 of file board_usb_internal.h.

Referenced by priv_host_deliver_setup().

◆ w_index

uint16_t usb_setup_step_t::w_index

wIndex.

Definition at line 259 of file board_usb_internal.h.

Referenced by internal_host_latch_setup().

◆ w_length

uint16_t usb_setup_step_t::w_length

wLength (host's expected data size).

Definition at line 260 of file board_usb_internal.h.

Referenced by internal_host_latch_setup(), internal_host_setup_ctsq(), and priv_host_deliver_setup().

◆ w_value

uint16_t usb_setup_step_t::w_value

wValue.

Definition at line 258 of file board_usb_internal.h.

Referenced by internal_host_latch_setup(), and priv_host_apply_no_data().


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