struct EndpointContext
Defined at line 701 of file ../../src/devices/usb/drivers/xhci/registers.h
Section 6.2.3
Public Members
uint32_t a
uint32_t b
uint32_t dequeue_pointer_a
uint32_t dequeue_pointer_b
uint32_t c
Public Methods
typename std::remove_reference_t<decltype(c)> MAX_ESIT_PAYLOAD_LOW ()
Defined at line 717 of file ../../src/devices/usb/drivers/xhci/registers.h
usb_xhci::EndpointContext & set_MAX_ESIT_PAYLOAD_LOW (typename std::remove_reference_t<decltype(c)> val)
Defined at line 717 of file ../../src/devices/usb/drivers/xhci/registers.h
typename std::remove_reference_t<decltype(a)> MAX_ESIT_PAYLOAD_HI ()
Only set if LEC = 1
Defined at line 719 of file ../../src/devices/usb/drivers/xhci/registers.h
usb_xhci::EndpointContext & set_MAX_ESIT_PAYLOAD_HI (typename std::remove_reference_t<decltype(a)> val)
Only set if LEC = 1
Defined at line 719 of file ../../src/devices/usb/drivers/xhci/registers.h
typename std::remove_reference_t<decltype(b)> MAX_PACKET_SIZE ()
Defined at line 720 of file ../../src/devices/usb/drivers/xhci/registers.h
usb_xhci::EndpointContext & set_MAX_PACKET_SIZE (typename std::remove_reference_t<decltype(b)> val)
Defined at line 720 of file ../../src/devices/usb/drivers/xhci/registers.h
typename std::remove_reference_t<decltype(a)> Interval ()
Defined at line 721 of file ../../src/devices/usb/drivers/xhci/registers.h
usb_xhci::EndpointContext & set_Interval (typename std::remove_reference_t<decltype(a)> val)
Defined at line 721 of file ../../src/devices/usb/drivers/xhci/registers.h
typename std::remove_reference_t<decltype(b)> MaxBurstSize ()
Defined at line 722 of file ../../src/devices/usb/drivers/xhci/registers.h
usb_xhci::EndpointContext & set_MaxBurstSize (typename std::remove_reference_t<decltype(b)> val)
Defined at line 722 of file ../../src/devices/usb/drivers/xhci/registers.h
typename std::remove_reference_t<decltype(c)> AVG_TRB_LENGTH ()
Defined at line 723 of file ../../src/devices/usb/drivers/xhci/registers.h
usb_xhci::EndpointContext & set_AVG_TRB_LENGTH (typename std::remove_reference_t<decltype(c)> val)
Defined at line 723 of file ../../src/devices/usb/drivers/xhci/registers.h
typename std::remove_reference_t<decltype(a)> Mult ()
Defined at line 724 of file ../../src/devices/usb/drivers/xhci/registers.h
usb_xhci::EndpointContext & set_Mult (typename std::remove_reference_t<decltype(a)> val)
Defined at line 724 of file ../../src/devices/usb/drivers/xhci/registers.h
typename std::remove_reference_t<decltype(b)> EP_TYPE ()
Defined at line 726 of file ../../src/devices/usb/drivers/xhci/registers.h
usb_xhci::EndpointContext & set_EP_TYPE (typename std::remove_reference_t<decltype(b)> val)
Defined at line 726 of file ../../src/devices/usb/drivers/xhci/registers.h
typename std::remove_reference_t<decltype(b)> CErr ()
According to Section 4.8.2, CErr shall always be set to 3 or 0 for Isochronous endpoints.
Defined at line 728 of file ../../src/devices/usb/drivers/xhci/registers.h
usb_xhci::EndpointContext & set_CErr (typename std::remove_reference_t<decltype(b)> val)
According to Section 4.8.2, CErr shall always be set to 3 or 0 for Isochronous endpoints.
Defined at line 728 of file ../../src/devices/usb/drivers/xhci/registers.h
typename std::remove_reference_t<decltype(dequeue_pointer_a)> DCS ()
Defined at line 729 of file ../../src/devices/usb/drivers/xhci/registers.h
usb_xhci::EndpointContext & set_DCS (typename std::remove_reference_t<decltype(dequeue_pointer_a)> val)
Defined at line 729 of file ../../src/devices/usb/drivers/xhci/registers.h
void Init (EndpointType type, CRCR dequeue_pointer, uint16_t max_packet_size, uint16_t avg_trb_length)
Defined at line 730 of file ../../src/devices/usb/drivers/xhci/registers.h
void Deinit ()
Defined at line 741 of file ../../src/devices/usb/drivers/xhci/registers.h
Enumerations
enum EndpointType
| Name | Value |
|---|---|
| Invalid | 0 |
| IsochOut | 1 |
| BulkOut | 2 |
| InterruptOut | 3 |
| Control | 4 |
| IsochIn | 5 |
| BulkIn | 6 |
| InterruptIn | 7 |
Defined at line 707 of file ../../src/devices/usb/drivers/xhci/registers.h