Go to the source code of this file.
|
| | TU_VERIFY_STATIC (sizeof(buffer_descriptor_t)==8, "size is not correct") |
| |
| CFG_TUH_MEM_SECTION | TU_ATTR_ALIGNED (512) |
| |
| static int | prepare_packets (int pipenum) |
| |
| static int | select_next_pipenum (int pipenum) |
| |
| static bool | continue_transfer (int pipenum, buffer_descriptor_t *bd) |
| |
| static bool | resume_transfer (int pipenum) |
| |
| static void | suspend_transfer (int pipenum, buffer_descriptor_t *bd) |
| |
| static void | process_tokdne (uint8_t rhport) |
| |
| static void | process_attach (uint8_t rhport) |
| |
| static void | process_bus_reset (uint8_t rhport) |
| |
| bool | hcd_init (uint8_t rhport, const tusb_rhport_init_t *rh_init) |
| |
| 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_setup_send (uint8_t rhport, uint8_t dev_addr, uint8_t const setup_packet[8]) |
| |
| 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_edpt_clear_stall (uint8_t rhport, uint8_t dev_addr, uint8_t ep_addr) |
| |
| void | hcd_int_handler (uint8_t rhport, bool in_isr) |
| |
◆ endpoint_state_t
◆ pipe_state_t
◆ anonymous enum
| Enumerator |
|---|
| TOK_PID_OUT | |
| TOK_PID_IN | |
| TOK_PID_SETUP | |
| TOK_PID_DATA0 | |
| TOK_PID_DATA1 | |
| TOK_PID_ACK | |
| TOK_PID_STALL | |
| TOK_PID_NAK | |
| TOK_PID_BUSTO | |
| TOK_PID_ERR | |
Definition at line 44 of file hcd_khci.c.
◆ continue_transfer()
◆ hcd_device_close()
| void hcd_device_close |
( |
uint8_t | rhport, |
|
|
uint8_t | dev_addr ) |
◆ hcd_edpt_abort_xfer()
| bool hcd_edpt_abort_xfer |
( |
uint8_t | rhport, |
|
|
uint8_t | dev_addr, |
|
|
uint8_t | ep_addr ) |
◆ hcd_edpt_clear_stall()
| bool hcd_edpt_clear_stall |
( |
uint8_t | rhport, |
|
|
uint8_t | dev_addr, |
|
|
uint8_t | ep_addr ) |
◆ hcd_edpt_open()
◆ hcd_edpt_xfer()
| bool hcd_edpt_xfer |
( |
uint8_t | rhport, |
|
|
uint8_t | dev_addr, |
|
|
uint8_t | ep_addr, |
|
|
uint8_t * | buffer, |
|
|
uint16_t | buflen ) |
◆ hcd_frame_number()
| uint32_t hcd_frame_number |
( |
uint8_t | rhport | ) |
|
◆ hcd_init()
◆ hcd_int_disable()
| void hcd_int_disable |
( |
uint8_t | rhport | ) |
|
◆ hcd_int_enable()
| void hcd_int_enable |
( |
uint8_t | rhport | ) |
|
◆ hcd_int_handler()
| void hcd_int_handler |
( |
uint8_t | rhport, |
|
|
bool | in_isr ) |
◆ hcd_port_connect_status()
| bool hcd_port_connect_status |
( |
uint8_t | rhport | ) |
|
◆ hcd_port_reset()
| void hcd_port_reset |
( |
uint8_t | rhport | ) |
|
◆ hcd_port_reset_end()
| void hcd_port_reset_end |
( |
uint8_t | rhport | ) |
|
◆ hcd_port_speed_get()
◆ hcd_setup_send()
| bool hcd_setup_send |
( |
uint8_t | rhport, |
|
|
uint8_t | dev_addr, |
|
|
uint8_t const | setup_packet[8] ) |
◆ prepare_packets()
| static int prepare_packets |
( |
int | pipenum | ) |
|
|
static |
◆ process_attach()
| static void process_attach |
( |
uint8_t | rhport | ) |
|
|
static |
◆ process_bus_reset()
| static void process_bus_reset |
( |
uint8_t | rhport | ) |
|
|
static |
◆ process_tokdne()
| static void process_tokdne |
( |
uint8_t | rhport | ) |
|
|
static |
◆ resume_transfer()
| static bool resume_transfer |
( |
int | pipenum | ) |
|
|
static |
◆ select_next_pipenum()
| static int select_next_pipenum |
( |
int | pipenum | ) |
|
|
static |
◆ suspend_transfer()
◆ TU_ATTR_ALIGNED()
| CFG_TUH_MEM_SECTION TU_ATTR_ALIGNED |
( |
512 | | ) |
|
◆ TU_VERIFY_STATIC()