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

One pipe's host-visible OUT staging buffer (host -> device payload). More...

#include <board_usb_internal.h>

Data Fields

uint8_t data [k_usb_pipe_mps]
 Staged bytes the device will read.
uint16_t len
 Total staged length.
uint16_t rd
 Read cursor as the device drains.
bool ready
 Data present (BRDY-equivalent).

Detailed Description

One pipe's host-visible OUT staging buffer (host -> device payload).

For the DCP (pipe 0) this carries control-write data (e.g. SET_LINE_CODING); for a bulk pipe it carries the host's bulk-OUT bytes. The device drains it through CFIFO and the model reports the remaining count in CFIFOCTR.DTLN.

Definition at line 123 of file board_usb_internal.h.

Field Documentation

◆ data

uint8_t usb_out_buf_t::data[k_usb_pipe_mps]

Staged bytes the device will read.

Definition at line 124 of file board_usb_internal.h.

◆ len

uint16_t usb_out_buf_t::len

Total staged length.

Definition at line 125 of file board_usb_internal.h.

◆ rd

uint16_t usb_out_buf_t::rd

Read cursor as the device drains.

Definition at line 126 of file board_usb_internal.h.

◆ ready

bool usb_out_buf_t::ready

Data present (BRDY-equivalent).

Definition at line 127 of file board_usb_internal.h.


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