Hi there,
I just had a quick question about a section of the usb_debug_only.c file which can be found in the USB: Debug Message Only code (http://www.pjrc.com/teensy/usb_debug_only.html).
Generally with the code, I've been able to find stuff like descriptor field descriptions but I am having trouble finding information about this. I thought it might be an Endpoint descriptor (found here: http://www.beyondlogic.org/usbnutshell/usb5.shtml) but unforunately the fields don't match. So my question is, what is this code and what are these fields that have been filled in? Any help in this regard would be greatly appreciated! Thanks
I just had a quick question about a section of the usb_debug_only.c file which can be found in the USB: Debug Message Only code (http://www.pjrc.com/teensy/usb_debug_only.html).
Code:
#define ENDPOINT0_SIZE 32
#define DEBUG_TX_ENDPOINT 3
#define DEBUG_TX_SIZE 32
#define DEBUG_TX_BUFFER EP_DOUBLE_BUFFER
static const uint8_t PROGMEM endpoint_config_table[] = {
0,
0,
1, EP_TYPE_INTERRUPT_IN, EP_SIZE(DEBUG_TX_SIZE) | DEBUG_TX_BUFFER,
0
};
Generally with the code, I've been able to find stuff like descriptor field descriptions but I am having trouble finding information about this. I thought it might be an Endpoint descriptor (found here: http://www.beyondlogic.org/usbnutshell/usb5.shtml) but unforunately the fields don't match. So my question is, what is this code and what are these fields that have been filled in? Any help in this regard would be greatly appreciated! Thanks