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

Aggregate USBFS controller + virtual-host model state. More...

#include <board_usb_internal.h>

Collaboration diagram for usb_state_t:

Data Fields

uint16_t reg [k_usb_reg_words]
 16-bit reflect-on-read shadow.
uint16_t ctsq
 INTSTS0.CTSQ control-stage value.
uint16_t dvsq
 INTSTS0.DVSQ device-state value.
bool setup_valid
 INTSTS0.VALID: a SETUP is latched.
usb_in_buf_t dcp_in
 DCP IN buffer (descriptor response).
usb_out_buf_t dcp_out
 DCP OUT buffer (control-write data).
usb_in_buf_t pipe_in [k_usb_pipe_count]
 Bulk IN per pipe.
usb_out_buf_t pipe_out [k_usb_pipe_count]
 Bulk OUT per pipe.

Detailed Description

Aggregate USBFS controller + virtual-host model state.

Definition at line 146 of file board_usb_internal.h.

Field Documentation

◆ ctsq

uint16_t usb_state_t::ctsq

INTSTS0.CTSQ control-stage value.

Definition at line 148 of file board_usb_internal.h.

◆ dcp_in

usb_in_buf_t usb_state_t::dcp_in

DCP IN buffer (descriptor response).

Definition at line 151 of file board_usb_internal.h.

◆ dcp_out

usb_out_buf_t usb_state_t::dcp_out

DCP OUT buffer (control-write data).

Definition at line 152 of file board_usb_internal.h.

◆ dvsq

uint16_t usb_state_t::dvsq

INTSTS0.DVSQ device-state value.

Definition at line 149 of file board_usb_internal.h.

◆ pipe_in

usb_in_buf_t usb_state_t::pipe_in[k_usb_pipe_count]

Bulk IN per pipe.

Definition at line 153 of file board_usb_internal.h.

◆ pipe_out

usb_out_buf_t usb_state_t::pipe_out[k_usb_pipe_count]

Bulk OUT per pipe.

Definition at line 154 of file board_usb_internal.h.

◆ reg

uint16_t usb_state_t::reg[k_usb_reg_words]

16-bit reflect-on-read shadow.

Definition at line 147 of file board_usb_internal.h.

◆ setup_valid

bool usb_state_t::setup_valid

INTSTS0.VALID: a SETUP is latched.

Definition at line 150 of file board_usb_internal.h.


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