usb_endpoint_register — Register an enpoint with the USB system.
struct usb_endpoint_s* usb_endpoint_register(struct usb_device_s* act_device, unsigned long point_number, unsigned long type, unsigned long max_data_size, unsigned long frame_repeat, int* result);
| act_device device |
| point_number end point number |
| type transfer type |
| max_data_size maximum data payload size |
| frame_repeat Number of frames that must pass until the next requests can be sent/recieved |
| result pointer to result code |
Register an enpoint with the USB system
This call is normally used only internally when a configuration for a device has been set requiring endpoints using this configuration to be established. For every registered device a default pipe must be established.
pointer to endpoint