Endpoint descriptor.
Data Fields | |
uint8_t | bLength |
Size of Descriptor in Bytes. | |
uint8_t | bDescriptorType |
Endpoint Descriptor. | |
uint8_t | bEndpointAddress |
Endpoint Address: Bits 0..3 Endpoint Number. More... | |
uint8_t | bmAttributes |
Bitmap: Bits 0..1 Transfer Type: 00 = Control, 01 = Isochronous, 10 = Bulk, 11 = Interrupt Bits 2..7 are reserved. More... | |
uint16_t | wMaxPacketSize |
Maximum Packet Size this endpoint is capable of sending or receiving. | |
uint8_t | bInterval |
Interval for polling endpoint data transfers. More... | |
uint8_t cy_stc_usbdev_endpoint_descr_t::bEndpointAddress |
Endpoint Address: Bits 0..3 Endpoint Number.
Bits 4..6 Reserved. Set to Zero Bit 7 Direction 0 = Out, 1 = In (Ignored for Control Endpoints)
uint8_t cy_stc_usbdev_endpoint_descr_t::bmAttributes |
Bitmap: Bits 0..1 Transfer Type: 00 = Control, 01 = Isochronous, 10 = Bulk, 11 = Interrupt Bits 2..7 are reserved.
If Isochronous endpoint, Bits 3..2: Synchronization Type (Iso Mode): 00 = No Synchronization, 01 = Asynchronous, 10 = Adaptive, 11 = Synchronous Bits 5..4 = Usage Type (Iso Mode): 00 = Data Endpoint, 01 = Feedback Endpoint, 10 = Explicit Feedback Data Endpoint, 11 = Reserved
uint8_t cy_stc_usbdev_endpoint_descr_t::bInterval |
Interval for polling endpoint data transfers.
Value in frame counts. Ignored for Bulk & Control Endpoints. Isochronous must equal 1 and field may range from 1 to 255 for interrupt endpoints.