![]() |
Open FFBoard
Open source force feedback firmware
|
Go to the source code of this file.
Functions | |
bool | hcd_configure (uint8_t rhport, uint32_t cfg_id, const void *cfg_param) |
bool | hcd_init (uint8_t rhport, const tusb_rhport_init_t *rh_init) |
void | hcd_int_handler (uint8_t rhport, bool in_isr) |
void | hcd_int_enable (uint8_t rhport) |
void | hcd_int_disable (uint8_t rhport) |
uint32_t | hcd_frame_number (uint8_t rhport) |
bool | hcd_port_connect_status (uint8_t rhport) |
void | hcd_port_reset (uint8_t rhport) |
void | hcd_port_reset_end (uint8_t rhport) |
tusb_speed_t | hcd_port_speed_get (uint8_t rhport) |
void | hcd_device_close (uint8_t rhport, uint8_t dev_addr) |
bool | hcd_edpt_open (uint8_t rhport, uint8_t dev_addr, tusb_desc_endpoint_t const *ep_desc) |
bool | hcd_edpt_xfer (uint8_t rhport, uint8_t dev_addr, uint8_t ep_addr, uint8_t *buffer, uint16_t buflen) |
bool | hcd_edpt_abort_xfer (uint8_t rhport, uint8_t dev_addr, uint8_t ep_addr) |
bool | hcd_setup_send (uint8_t rhport, uint8_t dev_addr, uint8_t const setup_packet[8]) |
bool | hcd_edpt_clear_stall (uint8_t rhport, uint8_t dev_addr, uint8_t ep_addr) |
bool hcd_configure | ( | uint8_t | rhport, |
uint32_t | cfg_id, | ||
const void * | cfg_param | ||
) |
Definition at line 38 of file hcd_template.c.
void hcd_device_close | ( | uint8_t | rhport, |
uint8_t | dev_addr | ||
) |
Definition at line 106 of file hcd_template.c.
bool hcd_edpt_abort_xfer | ( | uint8_t | rhport, |
uint8_t | dev_addr, | ||
uint8_t | ep_addr | ||
) |
Definition at line 137 of file hcd_template.c.
bool hcd_edpt_clear_stall | ( | uint8_t | rhport, |
uint8_t | dev_addr, | ||
uint8_t | ep_addr | ||
) |
Definition at line 155 of file hcd_template.c.
bool hcd_edpt_open | ( | uint8_t | rhport, |
uint8_t | dev_addr, | ||
tusb_desc_endpoint_t const * | ep_desc | ||
) |
Definition at line 116 of file hcd_template.c.
bool hcd_edpt_xfer | ( | uint8_t | rhport, |
uint8_t | dev_addr, | ||
uint8_t | ep_addr, | ||
uint8_t * | buffer, | ||
uint16_t | buflen | ||
) |
Definition at line 125 of file hcd_template.c.
uint32_t hcd_frame_number | ( | uint8_t | rhport | ) |
Definition at line 70 of file hcd_template.c.
bool hcd_init | ( | uint8_t | rhport, |
const tusb_rhport_init_t * | rh_init | ||
) |
Definition at line 47 of file hcd_template.c.
void hcd_int_disable | ( | uint8_t | rhport | ) |
Definition at line 65 of file hcd_template.c.
void hcd_int_enable | ( | uint8_t | rhport | ) |
Definition at line 60 of file hcd_template.c.
void hcd_int_handler | ( | uint8_t | rhport, |
bool | in_isr | ||
) |
Definition at line 54 of file hcd_template.c.
bool hcd_port_connect_status | ( | uint8_t | rhport | ) |
Definition at line 81 of file hcd_template.c.
void hcd_port_reset | ( | uint8_t | rhport | ) |
Definition at line 89 of file hcd_template.c.
void hcd_port_reset_end | ( | uint8_t | rhport | ) |
Definition at line 94 of file hcd_template.c.
tusb_speed_t hcd_port_speed_get | ( | uint8_t | rhport | ) |
Definition at line 99 of file hcd_template.c.
bool hcd_setup_send | ( | uint8_t | rhport, |
uint8_t | dev_addr, | ||
uint8_t const | setup_packet[8] | ||
) |
Definition at line 146 of file hcd_template.c.