Open FFBoard
Open source force feedback firmware
dcd_qhd_t Struct Reference

Public Attributes

uint32_t __pad0__: 15
 Number of packets executed per transaction descriptor 00 - Execute N transactions as demonstrated by the USB variable length protocol where N is computed using Max_packet_length and the Total_bytes field in the dTD. 01 - Execute one transaction 10 - Execute two transactions 11 - Execute three transactions Remark: Non-isochronous endpoints must set MULT = 00. Remark: Isochronous endpoints must set MULT = 01, 10, or 11 as needed. More...
 
uint32_t int_on_setup: 1
 Interrupt on setup This bit is used on control type endpoints to indicate if USBINT is set in response to a setup being received. More...
 
uint32_t max_packet_size: 11
 Endpoint's wMaxPacketSize. More...
 
uint32_t __pad1__: 2
 
uint32_t zero_length_termination: 1
 This bit is used for non-isochronous endpoints to indicate when a zero-length packet is received to terminate transfers in case the total transfer length is “multiple”. 0 - Enable zero-length packet to terminate transfers equal to a multiple of Max_packet_length (default). 1 - Disable zero-length packet on transfers that are equal in length to a multiple Max_packet_length. More...
 
uint32_t iso_mult: 2
 
volatile uint32_t qtd_addr
 
volatile dcd_qtd_t qtd_overlay
 
volatile tusb_control_request_t setup_request
 
tu_fifo_tff
 
uint8_t reserved [12]
 

Detailed Description

Definition at line 135 of file dcd_ci_hs.c.

Member Data Documentation

◆ __pad0__

uint32_t dcd_qhd_t::__pad0__

Number of packets executed per transaction descriptor 00 - Execute N transactions as demonstrated by the USB variable length protocol where N is computed using Max_packet_length and the Total_bytes field in the dTD. 01 - Execute one transaction 10 - Execute two transactions 11 - Execute three transactions Remark: Non-isochronous endpoints must set MULT = 00. Remark: Isochronous endpoints must set MULT = 01, 10, or 11 as needed.

Definition at line 138 of file dcd_ci_hs.c.

◆ __pad1__

uint32_t dcd_qhd_t::__pad1__

Definition at line 141 of file dcd_ci_hs.c.

◆ ff

tu_fifo_t* dcd_qhd_t::ff

Definition at line 158 of file dcd_ci_hs.c.

◆ int_on_setup

uint32_t dcd_qhd_t::int_on_setup

Interrupt on setup This bit is used on control type endpoints to indicate if USBINT is set in response to a setup being received.

Definition at line 139 of file dcd_ci_hs.c.

◆ iso_mult

uint32_t dcd_qhd_t::iso_mult

Definition at line 143 of file dcd_ci_hs.c.

◆ max_packet_size

uint32_t dcd_qhd_t::max_packet_size

Endpoint's wMaxPacketSize.

Definition at line 140 of file dcd_ci_hs.c.

◆ qtd_addr

volatile uint32_t dcd_qhd_t::qtd_addr

Definition at line 146 of file dcd_ci_hs.c.

◆ qtd_overlay

volatile dcd_qtd_t dcd_qhd_t::qtd_overlay

Definition at line 149 of file dcd_ci_hs.c.

◆ reserved

uint8_t dcd_qhd_t::reserved[12]

Definition at line 159 of file dcd_ci_hs.c.

◆ setup_request

volatile tusb_control_request_t dcd_qhd_t::setup_request

Definition at line 152 of file dcd_ci_hs.c.

◆ zero_length_termination

uint32_t dcd_qhd_t::zero_length_termination

This bit is used for non-isochronous endpoints to indicate when a zero-length packet is received to terminate transfers in case the total transfer length is “multiple”. 0 - Enable zero-length packet to terminate transfers equal to a multiple of Max_packet_length (default). 1 - Disable zero-length packet on transfers that are equal in length to a multiple Max_packet_length.

Definition at line 142 of file dcd_ci_hs.c.


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