Go to the source code of this file.
Functions | |
static void | usbhw_reset_ctrl_ep_ptr (void) |
This function servers to reset the pointer of control Endpoint. More... | |
static unsigned int | usbhw_get_ctrl_ep_irq (void) |
This function servers to get the irq status of control Endpoint. More... | |
static void | usbhw_clr_ctrl_ep_irq (int ep) |
This function servers to clear the irq status of control Endpoint. More... | |
static void | usbhw_write_ctrl_ep_ctrl (unsigned char data) |
This function servers to set the value of control Endpoint. More... | |
static unsigned char | usbhw_read_ctrl_ep_data (void) |
This function servers to read the data of control Endpoint. More... | |
static void | usbhw_write_ctrl_ep_data (unsigned char data) |
This function servers to write the data of control Endpoint. More... | |
static int | usbhw_is_ctrl_ep_busy (void) |
This function servers to determine whether control Endpoint is busy. More... | |
static void | usbhw_reset_ep_ptr (unsigned int ep) |
This function servers to reset the pointer of Endpoint. More... | |
static unsigned int | usbhw_get_eps_irq (void) |
This function servers to get the irq status of Endpoint. More... | |
static void | usbhw_clr_eps_irq (int ep) |
This function servers to clear the irq status of Endpoint. More... | |
static unsigned char | usbhw_read_ep_data (unsigned int ep) |
This function servers to read the data of Endpoint. More... | |
static void | usbhw_write_ep_data (unsigned int ep, unsigned char data) |
This function servers to write the data of Endpoint. More... | |
static unsigned int | usbhw_is_ep_busy (unsigned int ep) |
This function servers to determine whether Endpoint is busy. More... | |
static void | usbhw_data_ep_ack (unsigned int ep) |
This function servers to set the specified data EndPoint to ack. More... | |
static void | usbhw_data_ep_stall (unsigned int ep) |
This function servers to set the specified data EndPoint to stall. More... | |
static void | usbhw_set_printer_threshold (unsigned char th) |
This function servers to set the threshold of printer. More... | |
|
inlinestatic |
This function servers to reset the pointer of control Endpoint.
[in] | data | - the value of control Endpoint |
|
inlinestatic |
This function servers to get the irq status of control Endpoint.
[in] | none. |
|
inlinestatic |
This function servers to clear the irq status of control Endpoint.
[in] | ep | - select the Endpoint |
|
inlinestatic |
This function servers to set the value of control Endpoint.
[in] | data | - the value of control Endpoint |
|
inlinestatic |
This function servers to read the data of control Endpoint.
[in] | none. |
|
inlinestatic |
This function servers to write the data of control Endpoint.
[in] | data | - the value of control Endpoint |
|
inlinestatic |
This function servers to determine whether control Endpoint is busy.
[in] | none. |
|
inlinestatic |
This function servers to reset the pointer of Endpoint.
[in] | data | - the value of control Endpoint |
|
inlinestatic |
This function servers to get the irq status of Endpoint.
[in] | none. |
|
inlinestatic |
This function servers to clear the irq status of Endpoint.
[in] | ep | - select the Endpoint |
|
inlinestatic |
This function servers to read the data of Endpoint.
[in] | none. |
|
inlinestatic |
This function servers to write the data of Endpoint.
[in] | data | - the value of Endpoint |
|
inlinestatic |
This function servers to determine whether Endpoint is busy.
[in] | none. |
|
inlinestatic |
This function servers to set the specified data EndPoint to ack.
[in] | ep | - select the data EndPoint. |
|
inlinestatic |
This function servers to set the specified data EndPoint to stall.
[in] | ep | - select the data EndPoint. |
|
inlinestatic |
This function servers to set the threshold of printer.
[in] | th | - set the threshold for printer |