53 void usbhw_write_ep(
unsigned int ep,
unsigned char * data,
int len);
void usbhw_write_ep(unsigned int ep, unsigned char *data, int len)
This function sends a bulk of data to host via the specified endpoint.
void usbhw_write_ctrl_ep_u16(unsigned short v)
This function sends two bytes data to host via the control endpoint (handy help function) ...
void usbhw_disable_manual_interrupt(int m)
This function disables the manual interrupt (Endpont8 is the alias of endpoint0)
void usbhw_enable_manual_interrupt(int m)
This function enable the manual interrupt.
unsigned short usbhw_read_ctrl_ep_u16(void)
This function reads two bytes data from host via the control endpoint.