The USB_EndPointNumber function handles data transfers to and from an specific endpoint denoted by Number. The function receives the requests from the main USB interrupt service routine USB_ISR. RL-USB enables the function only if the appropriate endpoint is enabled in usbcfg.h. Modify or add code that suits the application to the USB_EndPointNumber function. When enabled, each USB_EndPointNumber function is a continuously running task. The USB_EndPointNumber function is part of the USB Core Driver layer of the RL-USB Software Stack. |